Support gasPrice field on dynamicFee transactions #80

Closed
opened 2021-07-09 17:59:27 +00:00 by i-norden · 2 comments
Member
https://github.com/ethereum/eth1.0-specs/pull/251
Author
Member

@dboreham @AFDudley pinging since this issue has been buried but is still needed to perfectly replicate the geth eth json rpc api.

We already set gasPrice to effectiveGasPrice for a mined transaction 8c55b6341a/pkg/eth/backend_utils.go (L200)

For an un-mined tx we should adjust so that "If the transaction has not yet been mined, clients should return the maxFeeCapPerGas value as gasPrice". This isn't an issue for us now as we don't have un-mined transactions until we merge the probe database.

@dboreham @AFDudley pinging since this issue has been buried but is still needed to perfectly replicate the geth eth json rpc api. We already set gasPrice to effectiveGasPrice for a mined transaction https://github.com/cerc-io/ipld-eth-server/blob/8c55b6341a1cb59c6b641623a8f3527295e45bdc/pkg/eth/backend_utils.go#L200 For an un-mined tx we should adjust so that "If the transaction has not yet been mined, clients should return the maxFeeCapPerGas value as gasPrice". This isn't an issue for us now as we don't have un-mined transactions until we merge the probe database.
Owner

@telackey Please close this if it's been resolved in v5

@telackey Please close this if it's been resolved in v5
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#80
No description provided.