@@ -13,21 +13,11 @@ use sui_adapter_latest::{
1313} ;
1414use sui_move_natives_latest:: all_natives;
1515use sui_types:: {
16- TypeTag ,
17- base_types:: { ObjectID , SuiAddress } ,
18- committee:: ProtocolVersion ,
19- effects:: { TransactionEffects , TransactionEffectsAPI } ,
20- gas:: SuiGasStatus ,
21- inner_temporary_store:: InnerTemporaryStore ,
22- metrics:: LimitsMetrics ,
23- object:: Owner ,
24- storage:: { BackingStore , ObjectStore , WriteKind } ,
25- supported_protocol_versions:: { Chain , ProtocolConfig } ,
26- transaction:: {
16+ TypeTag , base_types:: { ObjectID , SuiAddress } , committee:: ProtocolVersion , digests:: TransactionDigest , effects:: { TransactionEffects , TransactionEffectsAPI } , gas:: SuiGasStatus , inner_temporary_store:: InnerTemporaryStore , metrics:: LimitsMetrics , object:: Owner , storage:: { BackingStore , ObjectStore , WriteKind } , supported_protocol_versions:: { Chain , ProtocolConfig } , transaction:: {
2717 Argument , CallArg , CheckedInputObjects , Command , InputObjectKind , ObjectReadResult ,
2818 ObjectReadResultKind , ProgrammableTransaction , TransactionData , TransactionDataAPI ,
2919 TransactionKind ,
30- } ,
20+ }
3121} ;
3222use tracing:: { debug, trace, warn} ;
3323
@@ -310,7 +300,7 @@ where
310300
311301 if package_id == ObjectID :: ZERO {
312302 // derive id
313- let id = ObjectID :: derive_id ( digest , self . deploy_ids ) ;
303+ let id = ObjectID :: derive_id ( TransactionDigest :: genesis_marker ( ) , self . deploy_ids ) ;
314304 self . deploy_ids += 1 ;
315305 substitute_package_id ( & mut modules, id) ?;
316306 } else {
0 commit comments