GetTransactionByHash and RpcOutputReceipt passes null to the parameter block of newRPCTransaction. So the calculation of effectiveGasPrice couldn't work.
This PR fixes those functions to pass actual Header.
Types of changes
Please put an x in the boxes related to your change.
[x] Bugfix
[ ] New feature or enhancement
[ ] Others
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
Proposed changes
GetTransactionByHash
andRpcOutputReceipt
passes null to the parameterblock
ofnewRPCTransaction
. So the calculation of effectiveGasPrice couldn't work.Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)Related issues
Further comments
Test at private network which kaia hardfork has been enabled at
80
tested two transactions