fix: fevm: don't hard-code method numbers
This commit is contained in:
parent
3456d90e0d
commit
c73a0b5265
@ -93,7 +93,7 @@ func (e *EVM) InvokeSolidity(ctx context.Context, sender address.Address, target
|
|||||||
To: target,
|
To: target,
|
||||||
From: sender,
|
From: sender,
|
||||||
Value: big.Zero(),
|
Value: big.Zero(),
|
||||||
Method: abi.MethodNum(2),
|
Method: builtintypes.MethodsEVM.InvokeContract,
|
||||||
Params: params,
|
Params: params,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user