Skip to content

Commit

Permalink
Merge pull request #548 from ElrondNetwork/new-vmcommon-1.3.34
Browse files Browse the repository at this point in the history
New vmcommon 1.3.34
  • Loading branch information
sasurobert committed May 4, 2022
2 parents 3af192c + 401b8e5 commit fa085c6
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/ElrondNetwork/elrond-go-core v1.1.7
github.com/ElrondNetwork/elrond-go-crypto v1.0.0
github.com/ElrondNetwork/elrond-go-logger v1.0.5
github.com/ElrondNetwork/elrond-vm-common v1.3.0
github.com/ElrondNetwork/elrond-vm-common v1.3.4
github.com/btcsuite/btcd v0.21.0-beta
github.com/gin-gonic/gin v1.7.1
github.com/gogo/protobuf v1.3.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/ElrondNetwork/elrond-go-logger v1.0.4/go.mod h1:e5D+c97lKUfFdAzFX7rrI
github.com/ElrondNetwork/elrond-go-logger v1.0.5 h1:tB/HBvV9IVeCaSrGakX+GLGu7K5UPLv8gA0TNKPOTOU=
github.com/ElrondNetwork/elrond-go-logger v1.0.5/go.mod h1:cBfgx0ST/CJx8jrxJSC5aiSrvkGzcnF7sK06RD8mFxQ=
github.com/ElrondNetwork/elrond-vm-common v1.1.0/go.mod h1:w3i6f8uiuRkE68Ie/gebRcLgTuHqvruJSYrFyZWuLrE=
github.com/ElrondNetwork/elrond-vm-common v1.3.0 h1:Hx8bJwAsCiLUDh3YERwmHx1rc4n7ZjKRFvcpnmL83hs=
github.com/ElrondNetwork/elrond-vm-common v1.3.0/go.mod h1:B/Y8WiqHyDd7xsjNYsaYbVMp1jQgQ+z4jTJkFvj/EWI=
github.com/ElrondNetwork/elrond-vm-common v1.3.4 h1:/i22Cg8/MV2lK41DCG4APXzUmXikYu3tDf2O34PH+go=
github.com/ElrondNetwork/elrond-vm-common v1.3.4/go.mod h1:B/Y8WiqHyDd7xsjNYsaYbVMp1jQgQ+z4jTJkFvj/EWI=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
Expand Down
10 changes: 10 additions & 0 deletions ipc/arwenpart/blockchainGateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,16 @@ func (blockchain *BlockchainHookGateway) GetSnapshot() int {
return 0
}

// IsPaused - not used in v1.2
func (blockchain *BlockchainHookGateway) IsPaused(_ []byte) bool {
return false
}

// IsLimitedTransfer - not used in v1.2
func (blockchain *BlockchainHookGateway) IsLimitedTransfer(_ []byte) bool {
return false
}

// RevertToSnapshot - not used in v1.2
func (blockchain *BlockchainHookGateway) RevertToSnapshot(_ int) error {
return nil
Expand Down
10 changes: 10 additions & 0 deletions mock/context/blockChainHookStub.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,13 @@ func (b *BlockchainHookStub) RevertToSnapshot(snapshot int) error {
}
return nil
}

// IsPaused -
func (b *BlockchainHookStub) IsPaused(_ []byte) bool {
return false
}

// IsLimitedTransfer -
func (b *BlockchainHookStub) IsLimitedTransfer(_ []byte) bool {
return false
}
10 changes: 10 additions & 0 deletions mock/world/worldCallbacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,16 @@ func (b *MockWorld) ClearCompiledCodes() {
b.CompiledCode = make(map[string][]byte)
}

// IsPaused -
func (b *MockWorld) IsPaused(_ []byte) bool {
return false
}

// IsLimitedTransfer -
func (b *MockWorld) IsLimitedTransfer(_ []byte) bool {
return false
}

// IsInterfaceNil returns true if underlying implementation is nil
func (b *MockWorld) IsInterfaceNil() bool {
return b == nil
Expand Down

0 comments on commit fa085c6

Please sign in to comment.