diff --git a/massa-execution-worker/src/active_history.rs b/massa-execution-worker/src/active_history.rs index 905c6cd829..08aeeb923a 100644 --- a/massa-execution-worker/src/active_history.rs +++ b/massa-execution-worker/src/active_history.rs @@ -439,6 +439,7 @@ mod test { let state_changes_1 = StateChanges { ledger_changes: Default::default(), async_pool_changes: async_pool_changes_1, + deferred_call_changes: Default::default(), pos_changes: Default::default(), executed_ops_changes: Default::default(), executed_denunciations_changes: Default::default(), @@ -448,6 +449,7 @@ mod test { let state_changes_2 = StateChanges { ledger_changes: Default::default(), async_pool_changes: async_pool_changes_2, + deferred_call_changes: Default::default(), pos_changes: Default::default(), executed_ops_changes: Default::default(), executed_denunciations_changes: Default::default(), diff --git a/massa-execution-worker/src/interface_impl.rs b/massa-execution-worker/src/interface_impl.rs index 07e106bee0..d71b8e3c97 100644 --- a/massa-execution-worker/src/interface_impl.rs +++ b/massa-execution-worker/src/interface_impl.rs @@ -968,10 +968,7 @@ impl Interface for InterfaceImpl { /// Address is the last 20 bytes of the hash of the public key. fn evm_get_address_from_pubkey(&self, public_key_: &[u8]) -> Result> { // parse the public key - let public_key = libsecp256k1::PublicKey::parse_slice( - public_key_, - Some(libsecp256k1::PublicKeyFormat::Raw), - )?; + let public_key = libsecp256k1::PublicKey::parse_slice(public_key_, None)?; // compute the hash of the public key let hash = sha3::Keccak256::digest(public_key.serialize());