Skip to content

Commit

Permalink
mod: workspace test
Browse files Browse the repository at this point in the history
  • Loading branch information
developeruche committed Mar 19, 2024
1 parent dc89385 commit 6869f96
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 @@ -247,7 +247,7 @@ pub fn execute_test_suite(

// block env
env.block.number = unit.env.current_number;
env.block.coinbase = unit.env.current_coinbase;
env.block.beneficiary = unit.env.current_coinbase;
env.block.timestamp = unit.env.current_timestamp;
env.block.gas_limit = unit.env.current_gas_limit;
env.block.basefee = unit.env.current_base_fee.unwrap_or_default();
Expand Down
2 changes: 1 addition & 1 deletion examples/generate_block_traces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async fn main() -> anyhow::Result<()> {
let nn = number.0[0];
b.number = U256::from(nn);
}
local_fill!(b.coinbase, block.author);
local_fill!(b.beneficiary, block.author);
local_fill!(b.timestamp, Some(block.timestamp), U256::from_limbs);
local_fill!(b.difficulty, Some(block.difficulty), U256::from_limbs);
local_fill!(b.gas_limit, Some(block.gas_limit), U256::from_limbs);
Expand Down

0 comments on commit 6869f96

Please sign in to comment.