Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(devnet): devnet predeployed contracts stable address across systems #332

Merged
merged 6 commits into from
Oct 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
replaced l1 keys in js tests
antiyro committed Oct 15, 2024
commit 6e8368cc35c0ebaeb2e348f1467bf5135365d365
4 changes: 2 additions & 2 deletions crates/node/src/service/l1.rs
Original file line number Diff line number Diff line change
@@ -57,10 +57,10 @@ impl L1SyncService {
let gas_price_sync_enabled = authority && (config.gas_price.is_none() || config.blob_gas_price.is_none());
let gas_price_poll = config.gas_price_poll;

if gas_price_sync_enabled {
if gas_price_sync_enabled && !config.sync_l1_disabled {
let eth_client = eth_client
.clone()
.context("L1 gas prices require the ethereum service to be enabled. Either disable gas prices syncing using `--gas-price 0`, or remove the `--no-l1-sync` argument.")?;
.context("L1 gas prices require the ethereum service to be enabled. Either disable gas prices syncing using `--gas-price 0`, or disable L1 sync using the `--no-l1-sync` argument.")?;
// running at-least once before the block production service
log::info!("⏳ Getting initial L1 gas prices");
mc_eth::l1_gas_price::gas_price_worker_once(&eth_client, l1_gas_provider.clone(), gas_price_poll)
4 changes: 2 additions & 2 deletions tests/js_tests/constant.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const RPC_URL = "http://127.0.0.1:9944";
export const SIGNER_PUBLIC =
"0x3bb306a004034dba19e6cf7b161e7a4fef64bc1078419e8ad1876192f0b8cd1";
"0x67e6d6a380e8b79aeb9d5164643174b3a9e4f381e5f28929441e17b81056f91";
export const SIGNER_PRIVATE =
"0x76f2ccdb23f29bc7b69278e947c01c6160a31cf02c19d06d0f6e5ab1d768b86";
"0x4189668c9e4825137bf31e02d7f6b70120e0d18a16ed9fa73632e8066975065";