Skip to content
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

EIP 1559 Debug #2 #4171

Merged
merged 18 commits into from
Jul 19, 2021
Merged

EIP 1559 Debug #2 #4171

merged 18 commits into from
Jul 19, 2021

Conversation

spacesailor24
Copy link
Contributor

No description provided.

@spacesailor24 spacesailor24 added the Do Not Merge Not allowed to be merged label Jul 10, 2021
@render
Copy link

render bot commented Jul 10, 2021

@render
Copy link

render bot commented Jul 14, 2021

@coveralls
Copy link

coveralls commented Jul 19, 2021

Pull Request Test Coverage Report for Build 1046782989

  • 8 of 50 (16.0%) changed or added relevant lines in 2 files are covered.
  • 58 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-3.4%) to 72.843%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/web3-eth-accounts/src/index.js 0 42 0.0%
Files with Coverage Reduction New Missed Lines %
packages/web3-eth-accounts/src/index.js 3 25.4%
packages/web3-core-helpers/lib/formatters.js 21 80.72%
packages/web3-eth-accounts/lib/index.js 34 85.74%
Totals Coverage Status
Change from base Build 1015496704: -3.4%
Covered Lines: 3295
Relevant Lines: 4272

💛 - Coveralls

@spacesailor24 spacesailor24 mentioned this pull request Jul 19, 2021
@spacesailor24 spacesailor24 changed the base branch from 1.x to wyatt/eip1559 July 19, 2021 22:10
@spacesailor24 spacesailor24 marked this pull request as ready for review July 19, 2021 22:21
@spacesailor24 spacesailor24 changed the title [DO NOT MERGE] EIP 1559 Debug #2 EIP 1559 Debug #2 Jul 19, 2021
@spacesailor24 spacesailor24 added 1.x 1.0 related issues and removed Do Not Merge Not allowed to be merged labels Jul 19, 2021
@spacesailor24 spacesailor24 merged commit b3ab709 into wyatt/eip1559 Jul 19, 2021
@spacesailor24 spacesailor24 deleted the wyatt/eip1559-debug-2 branch July 19, 2021 22:22
spacesailor24 added a commit that referenced this pull request Jul 21, 2021
* npm run build for 1.4.0-rc.0

* v1.4.0-rc.0

* Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth

* Update scripts/e2e.geth.instamine.sh to use v1.10.3 of Geth

* Fix typo

* WIP

* Fix type in error catch

Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>

* Remove commented code

* Update index for tx pricing info

* Correct order of if statements to properly assign tx type

* Update maxFeePerGas calculation

* Init _handleTxType function

* Update _handleTxPricing to use gasPrice for eip-1559 txs

* Fix bugs in _handleTxPricing

* Update tests for eip-1559 changes

* Fix BN bug: .mul only accepts BN instances

* eth.accounts.signTransaction: Add London tests

* Add EIP-1559 test without AccessList

* Add tx.common.hardfork check to _handleTxType

* Bug fixes

* Add additional undefined check in _handleTxType

* Add additional check for tx.hardfork in _handleTxType

* Add additional check for tx.hardfork in _handleTxType

* Update CHANGELOG

* Handling EIP1559 transactions in outputTransactionFormatter (#4167)

* Handing a null gasPrice and supporting maxFeePerGas and maxPriorityFeePerGas

* Updating gasPrice check

* Revert geth docker version tag

* Add additional EIP-2930 and EIP-1559 tests

* EIP 1559 Debug #2 (#4171)

* Add additional EIP-2930 and EIP-1559 tests

* Update gasPrice to geth default minimum

* Replace hex number with number string

* Add test skip if using Ganache

* Add done function to ganache skip

* Add done function to ganache skip

* Update gasPrice params

* Bump gasPrice to Geth default

* Bump docker geth version to stable

* Gas price type number for 1 Gwei

* gasPrice type and backfills timeout change

* gasPrice type and test acct creation

* added nonce for geth auto nonce issue, removed auto acct creation

* Remove redundant London test. Add gasLimit field to London test

* Add validation for tx.maxPriorityFeePerGas and tx.maxFeePerGas

* Add additional 1559 tests

Co-authored-by: jdevcs <junaid@chainsafe.com>
Co-authored-by: jdevcs <junaid@chainsafe.io>

* Update error message

Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>

* Update error message

Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>

* Update use of tx.type

* Replace hardfork strings with enum

* Type check refactors for _handleTxPricing

* Resolve tx.gasPrice if set and tx.type < 0x2 in _handleTxPricing

* Fix _handleTxType logic

Co-authored-by: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>
Co-authored-by: Cory Smith <cory.m.smith@gmail.com>
Co-authored-by: jdevcs <junaid@chainsafe.com>
Co-authored-by: jdevcs <junaid@chainsafe.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x 1.0 related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants