We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a540539 commit 57ef9bcCopy full SHA for 57ef9bc
evm/src/fuzz/strategies/state.rs
@@ -90,6 +90,15 @@ pub fn build_initial_state<DB: DatabaseRef>(
90
// Insert basic account information
91
state.insert(H256::from(*address).into());
92
93
+ // Insert push bytes
94
+ if let Some(code) = &account.info.code {
95
+ if state.cache.insert(*address) {
96
+ for push_byte in collect_push_bytes(code.bytes().clone()) {
97
+ state.insert(push_byte);
98
+ }
99
100
101
+
102
if include_storage {
103
// Insert storage
104
for (slot, value) in &account.storage {
0 commit comments