diff --git a/core/executor/create_collection_executor.go b/core/executor/create_collection_executor.go index 7dfe5432e..1f358ad46 100644 --- a/core/executor/create_collection_executor.go +++ b/core/executor/create_collection_executor.go @@ -149,6 +149,8 @@ func (e *CreateCollectionExecutor) GetExecutedTx() (*tx.Tx, error) { } e.tx.TxInfo = string(txInfoBytes) + e.tx.CollectionId = e.txInfo.CollectionId + return e.BaseExecutor.GetExecutedTx() } diff --git a/core/executor/mint_nft_executor.go b/core/executor/mint_nft_executor.go index 942c7cad2..1e57e4e51 100644 --- a/core/executor/mint_nft_executor.go +++ b/core/executor/mint_nft_executor.go @@ -177,6 +177,8 @@ func (e *MintNftExecutor) GetExecutedTx() (*tx.Tx, error) { } e.tx.TxInfo = string(txInfoBytes) + e.tx.NftIndex = e.txInfo.NftIndex + return e.BaseExecutor.GetExecutedTx() } diff --git a/dao/tx/tx.go b/dao/tx/tx.go index e01976c6b..c30e9424b 100644 --- a/dao/tx/tx.go +++ b/dao/tx/tx.go @@ -74,6 +74,7 @@ type ( StateRoot string NftIndex int64 PairIndex int64 + CollectionId int64 AssetId int64 TxAmount string NativeAddress string