From 9fe36fee0516e900eeaed611fb8f54e5ecd51c25 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Wed, 27 Sep 2023 13:03:21 +0300 Subject: [PATCH] refactor: change "chain_id" to 706 --- bins/revme/src/cmd/statetest/runner.rs | 2 +- crates/primitives/src/env.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bins/revme/src/cmd/statetest/runner.rs b/bins/revme/src/cmd/statetest/runner.rs index 3a490174..710341d3 100644 --- a/bins/revme/src/cmd/statetest/runner.rs +++ b/bins/revme/src/cmd/statetest/runner.rs @@ -153,7 +153,7 @@ pub fn execute_test_suite( } let mut env = Env::default(); - // for mainnet + // Ethereum Mainnet chain id, not changed to 706 to remain compatible with ethereum/tests env.cfg.chain_id = 1; // env.cfg.spec_id is set down the road diff --git a/crates/primitives/src/env.rs b/crates/primitives/src/env.rs index 4bcb5350..16d282b5 100644 --- a/crates/primitives/src/env.rs +++ b/crates/primitives/src/env.rs @@ -376,7 +376,7 @@ impl CfgEnv { impl Default for CfgEnv { fn default() -> Self { Self { - chain_id: 1, + chain_id: 706, // sum of the ASCII values for "Sablier" spec_id: SpecId::LATEST, perf_analyse_created_bytecodes: AnalysisKind::default(), limit_contract_code_size: None,