Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Companion for evm#170 #24

Merged
merged 1 commit into from
Jun 21, 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
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jsontests/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ fn test_run(name: &str, test: Test) {
let data: Vec<u8> = transaction.data.into();
let metadata =
StackSubstateMetadata::new(transaction.gas_limit.into(), &gasometer_config);
let executor_state = MemoryStackState::new(metadata, &backend);
let executor_state = MemoryStackState::new(metadata, &mut backend);
let precompile = JsonPrecompile::precompile(spec).unwrap();
let mut executor = StackExecutor::new_with_precompiles(
executor_state,
Expand Down
2 changes: 1 addition & 1 deletion jsontests/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub fn test(name: &str, test: Test) {
let config = Config::frontier();
let mut backend = MemoryBackend::new(&vicinity, original_state);
let metadata = StackSubstateMetadata::new(test.unwrap_to_gas_limit(), &config);
let state = MemoryStackState::new(metadata, &backend);
let state = MemoryStackState::new(metadata, &mut backend);
let precompile = BTreeMap::new();
let mut executor = StackExecutor::new_with_precompiles(state, &config, &precompile);

Expand Down