Skip to content

Commit

Permalink
refactor: change "chain_id" to 706
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed May 24, 2024
1 parent 8b6ab31 commit d1e5071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bins/revme/src/cmd/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ pub fn execute_test_suite(
}

let mut env = Box::<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

Expand Down
2 changes: 1 addition & 1 deletion crates/primitives/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
perf_analyse_created_bytecodes: AnalysisKind::default(),
limit_contract_code_size: None,
#[cfg(feature = "c-kzg")]
Expand Down

0 comments on commit d1e5071

Please sign in to comment.