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 18fb002 commit c35badaCopy full SHA for c35bada
core/vm/contracts.libevm.go
@@ -236,7 +236,7 @@ func (args *evmCallArgs) env() *environment {
236
self = args.addr
237
238
case DelegateCall:
239
- value = nil // inherited from `args.caller`
+ value = nil // inherited from `args.caller` inside [Contract.AsDelegate]
240
fallthrough
241
case CallCode:
242
self = args.caller.Address()
core/vm/contracts.libevm_test.go
@@ -280,7 +280,7 @@ func TestNewStatefulPrecompile(t *testing.T) {
280
Raw: &rawAddresses,
281
},
282
wantReadOnly: false,
283
- wantCallValue: callCallerValue,
+ wantCallValue: callCallerValue, // Important difference from [vm.EVM.Call]
284
wantCallType: vm.DelegateCall,
285
286
{
0 commit comments