From 9d917cbc9febbc09b0e157605de793f9158dd3f6 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Tue, 8 Aug 2023 11:39:35 +0300 Subject: [PATCH 1/9] codeHash in scdeploy and upgrade log --- go.mod | 2 +- go.sum | 3 ++- .../smartContract/processorV2/vmOutputAccountsProcessor.go | 7 ++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index c0d22489149..0832956ad8f 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/multiversx/mx-chain-logger-go v1.0.11 github.com/multiversx/mx-chain-scenario-go v1.1.2 github.com/multiversx/mx-chain-storage-go v1.0.11 - github.com/multiversx/mx-chain-vm-common-go v1.5.0 + github.com/multiversx/mx-chain-vm-common-go v1.5.1-0.20230726130614-3b55ddca5012 github.com/multiversx/mx-chain-vm-go v1.5.4 github.com/multiversx/mx-chain-vm-v1_2-go v1.2.59 github.com/multiversx/mx-chain-vm-v1_3-go v1.3.60 diff --git a/go.sum b/go.sum index 650796f8930..c41e5b9587f 100644 --- a/go.sum +++ b/go.sum @@ -644,8 +644,9 @@ github.com/multiversx/mx-chain-storage-go v1.0.11 h1:u4ZsfIXEU3nJWRUxyAswhBn2pT6 github.com/multiversx/mx-chain-storage-go v1.0.11/go.mod h1:VP9fwyFBmbmDzahUuu0IeGX/dKG3iBWjN6FSQ6YtVaI= github.com/multiversx/mx-chain-vm-common-go v1.3.33-0.20230123162357-c6f6931a3dec/go.mod h1:sZ2COLCxvf2GxAAJHGmGqWybObLtFuk2tZUyGqnMXE8= github.com/multiversx/mx-chain-vm-common-go v1.4.1/go.mod h1:K6yCdro8VohzYI6GwjGzTO+fJiPgO5coo2sgQb+zA24= -github.com/multiversx/mx-chain-vm-common-go v1.5.0 h1:AG2uG/13DjULAb4PvGHynhG3xjjfCF4lwxr2LRULj9I= github.com/multiversx/mx-chain-vm-common-go v1.5.0/go.mod h1:cnMvZN8+4oDkjloTZVExlf8ShkMGWbbDb5/D//wLT/k= +github.com/multiversx/mx-chain-vm-common-go v1.5.1-0.20230726130614-3b55ddca5012 h1:tu5Zs11g05l5SJmu8EWygLIh9NiGz9blRTHpaJkqUVc= +github.com/multiversx/mx-chain-vm-common-go v1.5.1-0.20230726130614-3b55ddca5012/go.mod h1:cnMvZN8+4oDkjloTZVExlf8ShkMGWbbDb5/D//wLT/k= github.com/multiversx/mx-chain-vm-go v1.5.4 h1:V9Ug4grgPdVjkvRSLQm8edyFi4JqPiDqtHEdAG4JYBA= github.com/multiversx/mx-chain-vm-go v1.5.4/go.mod h1:UJoOzoYi6fZDazRY4r/g4GZnEVGT7DTnD14Wv1WO8Wo= github.com/multiversx/mx-chain-vm-v1_2-go v1.2.59 h1:vbsVspKWU0IQBo+mFBH9LCqAtkZqPQy73qdVAhpy2Bc= diff --git a/process/smartContract/processorV2/vmOutputAccountsProcessor.go b/process/smartContract/processorV2/vmOutputAccountsProcessor.go index b03d050d14d..6e10fba91c0 100644 --- a/process/smartContract/processorV2/vmOutputAccountsProcessor.go +++ b/process/smartContract/processorV2/vmOutputAccountsProcessor.go @@ -155,9 +155,10 @@ func (oap *VMOutputAccountsProcessor) processStorageUpdatesStep( // updateSmartContractCode upgrades code for "direct" deployments & upgrades and for "indirect" deployments & upgrades // It receives: -// (1) the account as found in the State +// +// (1) the account as found in the State // (2) the account as returned in VM Output -// (3) the transaction that, upon execution, produced the VM Output +// (3) the transaction that, upon execution, produced the VM Output func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( vmOutput *vmcommon.VMOutput, stateAccount state.UserAccountHandler, @@ -200,7 +201,7 @@ func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( entry := &vmcommon.LogEntry{ Address: stateAccount.AddressBytes(), Topics: [][]byte{ - outputAccount.Address, outputAccount.CodeDeployerAddress, + outputAccount.Address, outputAccount.CodeDeployerAddress, stateAccount.GetCodeHash(), }, } From 206232e15cdd9cf5c023fa167150eeecfc376e30 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Wed, 9 Aug 2023 10:40:12 +0300 Subject: [PATCH 2/9] event change owner delegation system sc --- vm/systemSmartContracts/delegation_test.go | 16 ++++++++++++---- vm/systemSmartContracts/logs.go | 7 +++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/vm/systemSmartContracts/delegation_test.go b/vm/systemSmartContracts/delegation_test.go index 8e0b9f830c0..85bffabc1be 100644 --- a/vm/systemSmartContracts/delegation_test.go +++ b/vm/systemSmartContracts/delegation_test.go @@ -4845,14 +4845,18 @@ func TestDelegationSystemSC_ExecuteChangeOwnerWithoutAccountUpdate(t *testing.T) returnCode = d.Execute(vmInput) assert.Equal(t, returnCode, vmcommon.UserError) - assert.Len(t, eei.logs, 2) + assert.Len(t, eei.logs, 3) assert.Equal(t, []byte("delegate"), eei.logs[0].Identifier) assert.Equal(t, []byte("second123"), eei.logs[0].Address) - assert.Len(t, eei.logs, 2) + assert.Equal(t, []byte(withdraw), eei.logs[1].Identifier) assert.Equal(t, []byte("ownerAddr"), eei.logs[1].Address) assert.Equal(t, boolToSlice(true), eei.logs[1].Topics[4]) + assert.Equal(t, []byte(core.BuiltInFunctionChangeOwnerAddress), eei.logs[2].Identifier) + assert.Equal(t, []byte("addr"), eei.logs[2].Address) + assert.Equal(t, []byte("second123"), eei.logs[2].Topics[0]) + eei.logs = nil vmInput.CallerAddr = []byte("second123") vmInput.Arguments[0] = []byte("ownerAddr") @@ -4863,13 +4867,17 @@ func TestDelegationSystemSC_ExecuteChangeOwnerWithoutAccountUpdate(t *testing.T) assert.Equal(t, eei.storageUpdate[string(d.delegationMgrSCAddress)]["ownerAddr"], vmInput.RecipientAddr) assert.Equal(t, eei.storageUpdate[string(d.delegationMgrSCAddress)]["second123"], []byte{}) - assert.Len(t, eei.logs, 2) + assert.Len(t, eei.logs, 3) assert.Equal(t, []byte("delegate"), eei.logs[0].Identifier) assert.Equal(t, []byte("ownerAddr"), eei.logs[0].Address) - assert.Len(t, eei.logs, 2) + assert.Equal(t, []byte(withdraw), eei.logs[1].Identifier) assert.Equal(t, []byte("second123"), eei.logs[1].Address) assert.Equal(t, boolToSlice(true), eei.logs[1].Topics[4]) + + assert.Equal(t, []byte(core.BuiltInFunctionChangeOwnerAddress), eei.logs[2].Identifier) + assert.Equal(t, []byte("addr"), eei.logs[2].Address) + assert.Equal(t, []byte("ownerAddr"), eei.logs[2].Topics[0]) } func TestDelegationSystemSC_ExecuteChangeOwnerWithAccountUpdate(t *testing.T) { diff --git a/vm/systemSmartContracts/logs.go b/vm/systemSmartContracts/logs.go index d4120a6ed8e..69af22820e1 100644 --- a/vm/systemSmartContracts/logs.go +++ b/vm/systemSmartContracts/logs.go @@ -116,6 +116,13 @@ func (d *delegation) createLogEventsForChangeOwner( d.createAndAddLogEntryForDelegate(args, big.NewInt(0), globalFund, ownerDelegatorData, dStatus, false) d.createAndAddLogEntryForWithdraw(withdraw, args.CallerAddr, big.NewInt(0), globalFund, ownerDelegatorData, d.numUsers(), true, nil) + + entry := &vmcommon.LogEntry{ + Identifier: []byte(core.BuiltInFunctionChangeOwnerAddress), + Address: args.RecipientAddr, + Topics: [][]byte{args.Arguments[0]}, + } + d.eei.AddLogEntry(entry) } func boolToSlice(b bool) []byte { From f8ee019edc834343919ad8965ef56078d140d08c Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Mon, 14 Aug 2023 14:10:03 +0300 Subject: [PATCH 3/9] fix go sum --- go.sum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.sum b/go.sum index aec147cebde..9cad88fe524 100644 --- a/go.sum +++ b/go.sum @@ -390,8 +390,8 @@ github.com/multiversx/mx-chain-scenario-go v1.1.2 h1:6Mok/W48r5lBlqJfriFFhDO5UiY github.com/multiversx/mx-chain-scenario-go v1.1.2/go.mod h1:xl+aL6n3aibMtfJH3hFGxzddWmn1hEx2Fg0c6ahoQvU= github.com/multiversx/mx-chain-storage-go v1.0.11 h1:u4ZsfIXEU3nJWRUxyAswhBn2pT6tJkKRwf9pra4CpzA= github.com/multiversx/mx-chain-storage-go v1.0.11/go.mod h1:VP9fwyFBmbmDzahUuu0IeGX/dKG3iBWjN6FSQ6YtVaI= -github.com/multiversx/mx-chain-vm-common-go v1.5.0 h1:AG2uG/13DjULAb4PvGHynhG3xjjfCF4lwxr2LRULj9I= -github.com/multiversx/mx-chain-vm-common-go v1.5.0/go.mod h1:cnMvZN8+4oDkjloTZVExlf8ShkMGWbbDb5/D//wLT/k= +github.com/multiversx/mx-chain-vm-common-go v1.5.1-0.20230726130614-3b55ddca5012 h1:tu5Zs11g05l5SJmu8EWygLIh9NiGz9blRTHpaJkqUVc= +github.com/multiversx/mx-chain-vm-common-go v1.5.1-0.20230726130614-3b55ddca5012/go.mod h1:cnMvZN8+4oDkjloTZVExlf8ShkMGWbbDb5/D//wLT/k= github.com/multiversx/mx-chain-vm-go v1.5.4 h1:V9Ug4grgPdVjkvRSLQm8edyFi4JqPiDqtHEdAG4JYBA= github.com/multiversx/mx-chain-vm-go v1.5.4/go.mod h1:UJoOzoYi6fZDazRY4r/g4GZnEVGT7DTnD14Wv1WO8Wo= github.com/multiversx/mx-chain-vm-v1_2-go v1.2.59 h1:vbsVspKWU0IQBo+mFBH9LCqAtkZqPQy73qdVAhpy2Bc= From 2fc99e8972c874040403dca256e0deddc40791b3 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Thu, 17 Aug 2023 10:18:06 +0300 Subject: [PATCH 4/9] add the codeHash topic after the account is saved --- process/smartContract/process.go | 29 +++++++++++-------- .../processorV2/vmOutputAccountsProcessor.go | 27 ++++++++++------- 2 files changed, 33 insertions(+), 23 deletions(-) diff --git a/process/smartContract/process.go b/process/smartContract/process.go index ebbdc333aa9..43159e6fa7f 100644 --- a/process/smartContract/process.go +++ b/process/smartContract/process.go @@ -2563,7 +2563,7 @@ func (sc *scProcessor) processSCOutputAccounts( log.Trace("storeUpdate", "acc", outAcc.Address, "key", storeUpdate.Offset, "data", storeUpdate.Data) } - err = sc.updateSmartContractCode(vmOutput, acc, outAcc) + logEntry, err := sc.updateSmartContractCode(vmOutput, acc, outAcc) if err != nil { return false, nil, err } @@ -2599,6 +2599,10 @@ func (sc *scProcessor) processSCOutputAccounts( if err != nil { return false, nil, err } + + if logEntry != nil { + logEntry.Topics = append(logEntry.Topics, acc.GetCodeHash()) + } } if sumOfAllDiff.Cmp(zero) != 0 { @@ -2610,34 +2614,35 @@ func (sc *scProcessor) processSCOutputAccounts( // updateSmartContractCode upgrades code for "direct" deployments & upgrades and for "indirect" deployments & upgrades // It receives: -// (1) the account as found in the State +// +// (1) the account as found in the State // (2) the account as returned in VM Output -// (3) the transaction that, upon execution, produced the VM Output +// (3) the transaction that, upon execution, produced the VM Output func (sc *scProcessor) updateSmartContractCode( vmOutput *vmcommon.VMOutput, stateAccount state.UserAccountHandler, outputAccount *vmcommon.OutputAccount, -) error { +) (*vmcommon.LogEntry, error) { if len(outputAccount.Code) == 0 { - return nil + return nil, nil } if len(outputAccount.CodeMetadata) == 0 { - return nil + return nil, nil } if !core.IsSmartContractAddress(outputAccount.Address) { - return nil + return nil, nil } outputAccountCodeMetadataBytes, err := sc.blockChainHook.FilterCodeMetadataForUpgrade(outputAccount.CodeMetadata) if err != nil { - return err + return nil, err } // This check is desirable (not required though) since currently both Wasm VM and IELE send the code in the output account even for "regular" execution sameCode := bytes.Equal(outputAccount.Code, sc.accounts.GetCode(stateAccount.GetCodeHash())) sameCodeMetadata := bytes.Equal(outputAccountCodeMetadataBytes, stateAccount.GetCodeMetadata()) if sameCode && sameCodeMetadata { - return nil + return nil, nil } currentOwner := stateAccount.GetOwnerAddress() @@ -2670,7 +2675,7 @@ func (sc *scProcessor) updateSmartContractCode( entry.Identifier = []byte(core.SCDeployIdentifier) vmOutput.Logs = append(vmOutput.Logs, entry) - return nil + return entry, nil } if isUpgrade { @@ -2680,10 +2685,10 @@ func (sc *scProcessor) updateSmartContractCode( entry.Identifier = []byte(core.SCUpgradeIdentifier) vmOutput.Logs = append(vmOutput.Logs, entry) - return nil + return entry, nil } - return nil + return entry, nil } // delete accounts - only suicide by current SC or another SC called by current SC - protected by VM diff --git a/process/smartContract/processorV2/vmOutputAccountsProcessor.go b/process/smartContract/processorV2/vmOutputAccountsProcessor.go index 6e10fba91c0..8c76cf06051 100644 --- a/process/smartContract/processorV2/vmOutputAccountsProcessor.go +++ b/process/smartContract/processorV2/vmOutputAccountsProcessor.go @@ -68,7 +68,7 @@ func (oap *VMOutputAccountsProcessor) Run() (bool, []data.TransactionHandler, er return false, nil, err } - err = oap.updateSmartContractCodeStep(oap.vmOutput, acc, outAcc) + logEntry, err := oap.updateSmartContractCodeStep(oap.vmOutput, acc, outAcc) if err != nil { return false, nil, err } @@ -82,6 +82,11 @@ func (oap *VMOutputAccountsProcessor) Run() (bool, []data.TransactionHandler, er if err != nil { return false, nil, err } + + if logEntry != nil { + // add the last topic only after the account is updated + logEntry.Topics = append(logEntry.Topics, acc.GetCodeHash()) + } } if sumOfAllDiff.Cmp(zero) != 0 { @@ -163,27 +168,27 @@ func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( vmOutput *vmcommon.VMOutput, stateAccount state.UserAccountHandler, outputAccount *vmcommon.OutputAccount, -) error { +) (*vmcommon.LogEntry, error) { if len(outputAccount.Code) == 0 { - return nil + return nil, nil } if len(outputAccount.CodeMetadata) == 0 { - return nil + return nil, nil } if !core.IsSmartContractAddress(outputAccount.Address) { - return nil + return nil, nil } outputAccountCodeMetadataBytes, err := oap.sc.blockChainHook.FilterCodeMetadataForUpgrade(outputAccount.CodeMetadata) if err != nil { - return err + return nil, err } // This check is desirable (not required though) since currently both Arwen and IELE send the code in the output account even for "regular" execution sameCode := bytes.Equal(outputAccount.Code, oap.sc.accounts.GetCode(stateAccount.GetCodeHash())) sameCodeMetadata := bytes.Equal(outputAccountCodeMetadataBytes, stateAccount.GetCodeMetadata()) if sameCode && sameCodeMetadata { - return nil + return nil, nil } currentOwner := stateAccount.GetOwnerAddress() @@ -201,7 +206,7 @@ func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( entry := &vmcommon.LogEntry{ Address: stateAccount.AddressBytes(), Topics: [][]byte{ - outputAccount.Address, outputAccount.CodeDeployerAddress, stateAccount.GetCodeHash(), + outputAccount.Address, outputAccount.CodeDeployerAddress, }, } @@ -216,7 +221,7 @@ func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( entry.Identifier = []byte(core.SCDeployIdentifier) vmOutput.Logs = append(vmOutput.Logs, entry) - return nil + return entry, nil } if isUpgrade { @@ -228,10 +233,10 @@ func (oap *VMOutputAccountsProcessor) updateSmartContractCodeStep( entry.Identifier = []byte(core.SCUpgradeIdentifier) vmOutput.Logs = append(vmOutput.Logs, entry) - return nil + return entry, nil } - return nil + return entry, nil } func (oap *VMOutputAccountsProcessor) updateAccountNonceIfThereIsAChange( From 695b3d65c0fdb61bbb5533739f93fb2e0293dac4 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Thu, 17 Aug 2023 10:37:27 +0300 Subject: [PATCH 5/9] fix --- process/smartContract/process.go | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/process/smartContract/process.go b/process/smartContract/process.go index 43159e6fa7f..640a11530ed 100644 --- a/process/smartContract/process.go +++ b/process/smartContract/process.go @@ -2584,6 +2584,7 @@ func (sc *scProcessor) processSCOutputAccounts( if err != nil { return false, nil, err } + addCodeHashInLogEntryTopics(logEntry, acc.GetCodeHash()) continue } @@ -2600,9 +2601,7 @@ func (sc *scProcessor) processSCOutputAccounts( return false, nil, err } - if logEntry != nil { - logEntry.Topics = append(logEntry.Topics, acc.GetCodeHash()) - } + addCodeHashInLogEntryTopics(logEntry, acc.GetCodeHash()) } if sumOfAllDiff.Cmp(zero) != 0 { @@ -2612,6 +2611,17 @@ func (sc *scProcessor) processSCOutputAccounts( return createdAsyncCallback, scResults, nil } +func addCodeHashInLogEntryTopics(entry *vmcommon.LogEntry, codeHash []byte) { + if entry == nil { + return + } + if string(entry.Identifier) != core.SCUpgradeIdentifier && string(entry.Identifier) != core.SCDeployIdentifier { + return + } + + entry.Topics = append(entry.Topics, codeHash) +} + // updateSmartContractCode upgrades code for "direct" deployments & upgrades and for "indirect" deployments & upgrades // It receives: // From 49a884deefa15c4bbc52a03aa97ea47baf736215 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Thu, 17 Aug 2023 10:52:06 +0300 Subject: [PATCH 6/9] fixes after review --- process/smartContract/process.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process/smartContract/process.go b/process/smartContract/process.go index 640a11530ed..1d9d46700d6 100644 --- a/process/smartContract/process.go +++ b/process/smartContract/process.go @@ -2615,7 +2615,8 @@ func addCodeHashInLogEntryTopics(entry *vmcommon.LogEntry, codeHash []byte) { if entry == nil { return } - if string(entry.Identifier) != core.SCUpgradeIdentifier && string(entry.Identifier) != core.SCDeployIdentifier { + isExpectedIdentifier := string(entry.Identifier) == core.SCUpgradeIdentifier || string(entry.Identifier) == core.SCDeployIdentifier + if !isExpectedIdentifier { return } From 2d7513044c47aedac024f01daea364d1ede518f8 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Fri, 18 Aug 2023 11:56:09 +0300 Subject: [PATCH 7/9] fixes after merge --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index cf61831ef02..3bcf3aebdcd 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/multiversx/mx-chain-logger-go v1.0.13 github.com/multiversx/mx-chain-scenario-go v1.2.1 github.com/multiversx/mx-chain-storage-go v1.0.12 - github.com/multiversx/mx-chain-vm-common-go v1.5.2 + github.com/multiversx/mx-chain-vm-common-go v1.5.3-0.20230818085415-6f96c23b5c7a github.com/multiversx/mx-chain-vm-go v1.5.5 github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 github.com/multiversx/mx-chain-vm-v1_3-go v1.3.61 diff --git a/go.sum b/go.sum index 2c300b84a93..43e2281cbf7 100644 --- a/go.sum +++ b/go.sum @@ -390,8 +390,8 @@ github.com/multiversx/mx-chain-scenario-go v1.2.1 h1:9eC6VcOEAKRRKZ7EbSWPLzCdNIM github.com/multiversx/mx-chain-scenario-go v1.2.1/go.mod h1:EuZY7DpNFHVNSxJR8dKE1z2I8gBYfEFFPSwNUOXptqE= github.com/multiversx/mx-chain-storage-go v1.0.12 h1:FrkgHPV38BO8cwdK0GUYHxVkUyOhyBBIhPz0P1e72NA= github.com/multiversx/mx-chain-storage-go v1.0.12/go.mod h1:/8VrMbO9CbIi0Ym3F1QPY6EENGcUq5DpEBPDt4evn9Q= -github.com/multiversx/mx-chain-vm-common-go v1.5.2 h1:iRWJNlogjkq9w+pJZIfkVkXQFmMoRxZr6pzCfg2/K68= -github.com/multiversx/mx-chain-vm-common-go v1.5.2/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= +github.com/multiversx/mx-chain-vm-common-go v1.5.3-0.20230818085415-6f96c23b5c7a h1:pYSVeiCF+S4SHyRVglG8FqGcVKcoeYTzBURuYH/rFbg= +github.com/multiversx/mx-chain-vm-common-go v1.5.3-0.20230818085415-6f96c23b5c7a/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= github.com/multiversx/mx-chain-vm-go v1.5.5 h1:/ROeFnd44/vRGtnzlfUJZMBX/g3bNwxPpLTXo52XLbY= github.com/multiversx/mx-chain-vm-go v1.5.5/go.mod h1:5d5GC+Ibz8X27+W8TYqbsMXh8n4F/kHUbdr0bVz8o8Y= github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 h1:YYElal1woAT3gwcVGe2JUEqBlzMXt963BSdQHuJpTMk= From 398036819d63db04547acde4a57e6967338117aa Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Mon, 21 Aug 2023 12:32:52 +0300 Subject: [PATCH 8/9] fixes after merge --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b9bf290d87c..36c4724a575 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/multiversx/mx-chain-logger-go v1.0.13 github.com/multiversx/mx-chain-scenario-go v1.2.1 github.com/multiversx/mx-chain-storage-go v1.0.12 - github.com/multiversx/mx-chain-vm-common-go v1.5.3 + github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5 github.com/multiversx/mx-chain-vm-go v1.5.6 github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 github.com/multiversx/mx-chain-vm-v1_3-go v1.3.61 diff --git a/go.sum b/go.sum index 344259598b8..3c2958db3d4 100644 --- a/go.sum +++ b/go.sum @@ -390,8 +390,8 @@ github.com/multiversx/mx-chain-scenario-go v1.2.1 h1:9eC6VcOEAKRRKZ7EbSWPLzCdNIM github.com/multiversx/mx-chain-scenario-go v1.2.1/go.mod h1:EuZY7DpNFHVNSxJR8dKE1z2I8gBYfEFFPSwNUOXptqE= github.com/multiversx/mx-chain-storage-go v1.0.12 h1:FrkgHPV38BO8cwdK0GUYHxVkUyOhyBBIhPz0P1e72NA= github.com/multiversx/mx-chain-storage-go v1.0.12/go.mod h1:/8VrMbO9CbIi0Ym3F1QPY6EENGcUq5DpEBPDt4evn9Q= -github.com/multiversx/mx-chain-vm-common-go v1.5.3 h1:u4ttQc+1bj92SoGeRk3EYc8JvOMDPIGyrQuQGM+YYpU= -github.com/multiversx/mx-chain-vm-common-go v1.5.3/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= +github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5 h1:linAV5smpEyuhr4sIrVzoxEj/HjPwZQJhAQ0XkibuTw= +github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= github.com/multiversx/mx-chain-vm-go v1.5.6 h1:IOwq/L4dBDBjXTIAR9hHCS/D4fn2xMkkINimHWsYiUQ= github.com/multiversx/mx-chain-vm-go v1.5.6/go.mod h1:WCYCljlHi2UQWHQAlSw1LzDsiMlckoMzvHL2fA5VKU4= github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 h1:YYElal1woAT3gwcVGe2JUEqBlzMXt963BSdQHuJpTMk= From d864dde535d0c9aafdde645ae4ddcb82de1d2b4b Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Mon, 21 Aug 2023 14:20:43 +0300 Subject: [PATCH 9/9] proper tags --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 36c4724a575..8610ca8ffd3 100644 --- a/go.mod +++ b/go.mod @@ -16,11 +16,11 @@ require ( github.com/multiversx/mx-chain-communication-go v1.0.6 github.com/multiversx/mx-chain-core-go v1.2.13 github.com/multiversx/mx-chain-crypto-go v1.2.8 - github.com/multiversx/mx-chain-es-indexer-go v1.4.9 + github.com/multiversx/mx-chain-es-indexer-go v1.4.10 github.com/multiversx/mx-chain-logger-go v1.0.13 github.com/multiversx/mx-chain-scenario-go v1.2.1 github.com/multiversx/mx-chain-storage-go v1.0.12 - github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5 + github.com/multiversx/mx-chain-vm-common-go v1.5.4 github.com/multiversx/mx-chain-vm-go v1.5.6 github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 github.com/multiversx/mx-chain-vm-v1_3-go v1.3.61 diff --git a/go.sum b/go.sum index 3c2958db3d4..8fdec4a87ee 100644 --- a/go.sum +++ b/go.sum @@ -382,16 +382,16 @@ github.com/multiversx/mx-chain-core-go v1.2.13 h1:4Svi23hdsoibStFXv0i7lbBWus3kDJ github.com/multiversx/mx-chain-core-go v1.2.13/go.mod h1:BILOGHUOIG5dNNX8cgkzCNfDaVtoYrJRYcPnpxRMH84= github.com/multiversx/mx-chain-crypto-go v1.2.8 h1:wOgVlUaO5X4L8iEbFjcQcL8SZvv6WZ7LqH73BiRPhxU= github.com/multiversx/mx-chain-crypto-go v1.2.8/go.mod h1:fkaWKp1rbQN9wPKya5jeoRyC+c/SyN/NfggreyeBw+8= -github.com/multiversx/mx-chain-es-indexer-go v1.4.9 h1:rL+8P+X279/9xY8a6t1ynWhhOzJya0LmBAm5ZNCosik= -github.com/multiversx/mx-chain-es-indexer-go v1.4.9/go.mod h1:rgsFY2RwaH5Slud0i6zJbxidvf1y8LE+YOXnnny0O/c= +github.com/multiversx/mx-chain-es-indexer-go v1.4.10 h1:qwYWQ92PuaKhrhZEHm+blEeYSvrxtT1rG8sAL4OEzqc= +github.com/multiversx/mx-chain-es-indexer-go v1.4.10/go.mod h1:rgsFY2RwaH5Slud0i6zJbxidvf1y8LE+YOXnnny0O/c= github.com/multiversx/mx-chain-logger-go v1.0.13 h1:eru/TETo0MkO4ZTnXsQDKf4PBRpAXmqjT02klNT/JnY= github.com/multiversx/mx-chain-logger-go v1.0.13/go.mod h1:MZJhTAtZTJxT+yK2EHc4ZW3YOHUc1UdjCD0iahRNBZk= github.com/multiversx/mx-chain-scenario-go v1.2.1 h1:9eC6VcOEAKRRKZ7EbSWPLzCdNIMWwuNBtAZlgR4cSMA= github.com/multiversx/mx-chain-scenario-go v1.2.1/go.mod h1:EuZY7DpNFHVNSxJR8dKE1z2I8gBYfEFFPSwNUOXptqE= github.com/multiversx/mx-chain-storage-go v1.0.12 h1:FrkgHPV38BO8cwdK0GUYHxVkUyOhyBBIhPz0P1e72NA= github.com/multiversx/mx-chain-storage-go v1.0.12/go.mod h1:/8VrMbO9CbIi0Ym3F1QPY6EENGcUq5DpEBPDt4evn9Q= -github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5 h1:linAV5smpEyuhr4sIrVzoxEj/HjPwZQJhAQ0XkibuTw= -github.com/multiversx/mx-chain-vm-common-go v1.5.4-0.20230821093138-cabbce6259d5/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= +github.com/multiversx/mx-chain-vm-common-go v1.5.4 h1:IWrRQxrNuE/jX12kUz0qaKL5mqA7O+ZcpisiCc9MAr4= +github.com/multiversx/mx-chain-vm-common-go v1.5.4/go.mod h1:sqkKMCnwkWl8DURdb9q7pctK8IANghdHY1KJLE0ox2c= github.com/multiversx/mx-chain-vm-go v1.5.6 h1:IOwq/L4dBDBjXTIAR9hHCS/D4fn2xMkkINimHWsYiUQ= github.com/multiversx/mx-chain-vm-go v1.5.6/go.mod h1:WCYCljlHi2UQWHQAlSw1LzDsiMlckoMzvHL2fA5VKU4= github.com/multiversx/mx-chain-vm-v1_2-go v1.2.60 h1:YYElal1woAT3gwcVGe2JUEqBlzMXt963BSdQHuJpTMk=