We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24aa29 commit 3038b35Copy full SHA for 3038b35
vmhost/vmhooks/baseOps.go
@@ -846,7 +846,8 @@ func TransferValueExecuteWithTypedArgs(
846
data = makeCrossShardCallFromInput(contractCallInput.Function, contractCallInput.Arguments)
847
}
848
849
- if host.IsBuiltinFunctionCall([]byte(data)) {
+ lastRound := host.Blockchain().LastRound()
850
+ if host.IsBuiltinFunctionCall([]byte(data)) && lastRound > 25184293 {
851
WithFaultAndHost(host, vmhost.ErrTransferValueOnESDTCall, runtime.BaseOpsErrorShouldFailExecution())
852
return 1
853
0 commit comments