Implement extcodehash (#77)

This commit is contained in:
Ermal Kaleci
2024-10-21 10:13:50 +02:00
committed by GitHub
parent 82ae22c163
commit ee83d28a51
10 changed files with 582 additions and 477 deletions
+2 -1
View File
@@ -32,7 +32,7 @@ use polkadot_sdk::{
pallet_revive::{CollectEvents, ContractExecResult, ContractInstantiateResult, DebugInfo},
polkadot_runtime_common::BuildStorage,
polkadot_sdk_frame::testing_prelude::*,
sp_core::H160,
sp_core::{H160, H256},
sp_keystore::{testing::MemoryKeystore, KeystoreExt},
sp_runtime::AccountId32,
};
@@ -185,6 +185,7 @@ pub enum CallResult {
Instantiate {
result: ContractInstantiateResult<Balance, EventRecord>,
wall_time: Duration,
code_hash: H256,
},
}