-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
EIP1559 New fee support #1509
EIP1559 New fee support #1509
Conversation
how to calculate |
I have not came across a guide targeted at wallet developers. |
Put back to Draft, some small changes planned. |
EIP1559 has been activated on Ethereum mainnet, time to merge this. |
bytes max_inclusion_fee_per_gas = 8; | ||
|
||
// Maxinmum fee (256-bit number) | ||
// Used only for EIP1559 fee, disregarded for legacy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think we can order properties by index? to avoid confusion in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what's the best approach:
- change index numbers to match the order --> risk of breaking binary usage (had issues in the past)
- reorder in the source code to match indexes --> confusing, items close logically end up separates
- keep as it is
* Add new fields to Ethereum proto. * Legacy transaction building. * Typescript test update * TS test fix * Compiler warning fix (ios) * Legacy and Enveloped transactions. * lSigner. Refactor Transaction * AccessList generation test (wip) * Cleanup, small refactor * Signer build change, make it more generic. * Copyright year * SignatureRSV rename. * Signer class is static now, no chainID memeber. * Renames, Legacy * Minor touches * Rename, hash * Minor reorg in sign() * Eip1559 tx implementation (native transfer only). * Additional EIP1559 build methods * Revert renumbering in proto file (to be bw compatible) * Additional tests for 1559-fee'd ERC20 and other 3 messages * Test fix * iOS test data fix * Android test fix * Update coverage (94.6%) * Merge fix * Merge fix * Add comment on replay protection * Empty (access) list as const. Co-authored-by: Catenocrypt <[email protected]> Co-authored-by: hewigovens <[email protected]>
* Add new fields to Ethereum proto. * Legacy transaction building. * Typescript test update * TS test fix * Compiler warning fix (ios) * Legacy and Enveloped transactions. * lSigner. Refactor Transaction * AccessList generation test (wip) * Cleanup, small refactor * Signer build change, make it more generic. * Copyright year * SignatureRSV rename. * Signer class is static now, no chainID memeber. * Renames, Legacy * Minor touches * Rename, hash * Minor reorg in sign() * Eip1559 tx implementation (native transfer only). * Additional EIP1559 build methods * Revert renumbering in proto file (to be bw compatible) * Additional tests for 1559-fee'd ERC20 and other 3 messages * Test fix * iOS test data fix * Android test fix * Update coverage (94.6%) * Merge fix * Merge fix * Add comment on replay protection * Empty (access) list as const. Co-authored-by: Catenocrypt <[email protected]> Co-authored-by: hewigovens <[email protected]>
Description
New EIP1559 fee structure support. Fixes #1322.
Note: Ethereum proto and binary format changed.
Testing instructions
New EIP1559-fee TX, tested on Ropsten testnet.
Unit tests.
Types of changes
Checklist
[WIP]
if necessary.