Skip to content

Commit

Permalink
Add logs to be used by CI full sync (#2103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo authored Jun 22, 2023
1 parent ca6140d commit ba6938e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/ain-evm/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl EVMBackend {
};

storage.into_iter().for_each(|(k, v)| {
debug!("Apply::Modify storage, key: {:x} value: {:x}", k, v);
let _ = storage_trie.insert(k.as_bytes(), v.as_bytes());
});

Expand Down Expand Up @@ -285,7 +286,11 @@ impl ApplyBackend for EVMBackend {
storage,
reset_storage,
} => {
debug!("Apply::Modify, address {:#x}, basic {:#?}", address, basic);
debug!(
"Apply::Modify address {:x}, basic {:?}, code {:?}",
address, basic, code,
);

let new_account = self
.apply(address, basic, code, storage, reset_storage)
.expect("Error applying state");
Expand Down

0 comments on commit ba6938e

Please sign in to comment.