@@ -48,7 +48,7 @@ pub use crate::{
4848 address:: {
4949 create1, create2, is_eth_derived, AccountId32Mapper , AddressMapper , TestAccountMapper ,
5050 } ,
51- exec:: { DelegateInfo , Key , MomentOf , Origin as ExecOrigin } ,
51+ exec:: { DelegateInfo , Executable , Key , MomentOf , Origin as ExecOrigin } ,
5252 pallet:: { genesis, * } ,
5353 storage:: { AccountInfo , ContractInfo } ,
5454} ;
@@ -57,7 +57,7 @@ use crate::{
5757 create_call, fees:: InfoT as FeeInfo , runtime:: SetWeightLimit , CallTracer ,
5858 GenericTransaction , PrestateTracer , Trace , Tracer , TracerType , TYPE_EIP1559 ,
5959 } ,
60- exec:: { AccountIdOf , ExecError , Executable , Stack as ExecStack } ,
60+ exec:: { AccountIdOf , ExecError , Stack as ExecStack } ,
6161 gas:: GasMeter ,
6262 storage:: { meter:: Meter as StorageMeter , AccountType , DeletionQueueManager } ,
6363 tracing:: if_tracing,
@@ -1851,7 +1851,7 @@ impl<T: Config> Pallet<T> {
18511851 }
18521852
18531853 /// Uploads new code and returns the Vm binary contract blob and deposit amount collected.
1854- fn try_upload_pvm_code (
1854+ pub fn try_upload_pvm_code (
18551855 origin : T :: AccountId ,
18561856 code : Vec < u8 > ,
18571857 storage_deposit_limit : BalanceOf < T > ,
0 commit comments