Compare commits

...

2 Commits

Author SHA1 Message Date
georgehao
a1ab340bcf chore: auto version bump [bot] 2024-08-27 02:46:12 +00:00
Zhang Zhuo
81884aa879 prover: fix loading of degrees 2024-08-27 10:39:40 +08:00
2 changed files with 8 additions and 5 deletions

View File

@@ -44,12 +44,15 @@ static mut PARAMS_MAP: OnceCell<BTreeMap<u32, ParamsKZG<Bn256>>> = OnceCell::new
pub fn init(config: VerifierConfig) {
let low_conf = config.low_version_circuit;
// params should be shared between low and high
let mut params_map = BTreeMap::new();
for degree in [
std::env::set_var("SCROLL_PROVER_ASSETS_DIR", &low_conf.assets_path);
let params_degrees = [
*prover_v4::config::LAYER2_DEGREE,
*prover_v4::config::LAYER4_DEGREE,
] {
];
// params should be shared between low and high
let mut params_map = BTreeMap::new();
for degree in params_degrees {
if let std::collections::btree_map::Entry::Vacant(e) = params_map.entry(degree) {
match load_params(&low_conf.params_path, degree, None) {
Ok(params) => {

View File

@@ -5,7 +5,7 @@ import (
"runtime/debug"
)
var tag = "v4.4.50"
var tag = "v4.4.51"
var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {