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

refactor: change "chain_id" to 706 #18

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion bins/revme/src/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,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 @@ -350,7 +350,7 @@ pub enum AnalysisKind {
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
Loading