Skip to content

Commit

Permalink
dont collect balance or nonces
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed Aug 15, 2022
1 parent a952650 commit 6648e8c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions evm/src/fuzz/strategies/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ pub fn build_initial_state<DB: DatabaseRef>(db: &CacheDB<DB>) -> EvmFuzzState {

// Insert basic account information
state.insert(H256::from(*address).into());
state.insert(utils::u256_to_h256_be(info.balance).into());
state.insert(utils::u256_to_h256_be(U256::from(info.nonce)).into());

// Insert storage
for (slot, value) in &account.storage {
Expand Down Expand Up @@ -98,8 +96,6 @@ pub fn collect_state_from_call(
for (address, account) in state_changeset {
// Insert basic account information
state.insert(H256::from(*address).into());
state.insert(utils::u256_to_h256_be(account.info.balance).into());
state.insert(utils::u256_to_h256_be(U256::from(account.info.nonce)).into());

// Insert storage
for (slot, value) in &account.storage {
Expand Down

0 comments on commit 6648e8c

Please sign in to comment.