-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jp/hotfix optional gas price in rpc transaction type #1699
Jp/hotfix optional gas price in rpc transaction type #1699
Conversation
@goran-ethernal thanks for approving. I understand there's some flakyness in the CI, so was wondering if you think the failed PolyBFT E2E task action is unrelated to my changes. Note, I don't have access to retrying the action or merging this PR. |
@goran-ethernal do you need me to merge that PR or maybe |
@jp-imx No need, this test has nothing to do with your changes, so we can merge this PR. I left a small comment. After that, we can merge it. |
c840ccd
to
567acfb
Compare
Description
I've made
GasPrice
optional in thetransaction
struct injsonrpc/types.go
. The previous implementation made it impossible to calleth_getTransactionByHash
for EIP-1559 transactions oreth_getBlockByNumber
with the transaction details flag. on, if the block contained EIP-1559 transactions.Changes include
Marking this as a HOTFIX as Immutable needs this issue solved before we can release our public testnet.
Breaking changes
N/A
Checklist
Testing
Manual tests
I had a local polygon-edge chain with 4 nodes. Three of them running
v1.0.0
. One of them running a version with this fix. A call toeth_getBlockByNumber
with the transaction details flag on would fail on v1.0.0 withnil
dereference error, but it would work on the node with the fix.Documentation update
N/A
Additional comments
N/A