Open ramtinms opened 1 month ago
Ideally dry run should report the actual amount of gas used and adjustments be made off-chain given adjustments logic will change from time to time and updating Gateway is easier
The adjustment logic that we currently do is here: https://github.com/onflow/flow-go/blob/master/fvm/evm/emulator/emulator.go#L291-L308. The EIP-150 is something that is relevant only for contract deployments:
Ideally dry run should report the actual amount of gas used and adjustments be made off-chain given adjustments logic will change from time to time and updating Gateway is easier