Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mock EVM bytecode
Browse files Browse the repository at this point in the history
slowli committed Oct 11, 2024
1 parent 71e9933 commit 869ac71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ impl EvmTestBuilder {
let mut storage = self.storage;
let mut system_env = default_system_env();
if self.deploy_emulator {
let evm_bytecode: Vec<_> = (0..=u8::MAX).collect();
let evm_bytecode: Vec<_> = (0..32).collect();
let evm_bytecode_hash = hash_evm_bytecode(&evm_bytecode);
storage.set_value(
get_known_code_key(&evm_bytecode_hash),

0 comments on commit 869ac71

Please sign in to comment.