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 authored and IaroslavMazur committed Nov 25, 2023
1 parent 7a37d8d commit 9fe36fe
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 @@ -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

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"
spec_id: SpecId::LATEST,
perf_analyse_created_bytecodes: AnalysisKind::default(),
limit_contract_code_size: None,
Expand Down

0 comments on commit 9fe36fe

Please sign in to comment.