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

EIP2718/EIP2930 clean branch #1133

Closed
wants to merge 32 commits into from
Closed

Conversation

jochem-brouwer
Copy link
Member

Just creating this PR to run the CIs, will probably fail, was a lengthy rebase process. Will close this one when tests passes and then force push to #1048.

jochem-brouwer and others added 30 commits March 1, 2021 17:55
common: ensure that EIPs enforce required EIPs are active
tx: introduce EIP2930Transaction
tx: small EIP2930Transaction fixes
tx: fix transactionFactory build
tx: extend base class with common methods

tx: fix tests
tx: fix undefined v/r/s/yParity values
tx: fix eip2930 not throwing on wrong chain id
tx: add yParity test
tx: fix chainId check for big numbers
tx: set default TxOpts value
tx: allow either buffers or json-types for access lists
tx: run new tests by default

tx: fix hash(), raw() of EIP2930Transaction

tx: fix EIP2930 hash scheme
package: lint

tx: fix tests and run linter

tx: fix EIP2930 signatures/serialization/hash
tx: fix tests
vm: add support for EIP2930
vm: add EIP2930-specific test
tx: fix browser tests
vm: state tests to use EIP2930
vm/tx/block: add changelog
tx: add some docs

tx: check s value OK, make json-tx geth compatible
common: remove empty test

vm: remove unnecesary comment
…test clean-up, add more tests

tx -> EIP-2930: fixed missing toBuffer conversion for v value in EIP2930Transaction constructor

tx -> EIP-2930: added generic API tests for serialize() and raw()

tx -> EIP-2930: added generic verifySignature() tests

tx -> EIP-2920: added generic verifySignature() error test cases

tx -> EIP-2930: small test fix
tx: add fromSerializedTx method
tx: remove TODOs

tx: add fromSerializedTx to legacy transaction
@codecov
Copy link

codecov bot commented Mar 1, 2021

Codecov Report

Merging #1133 (9c6f2f6) into master (93c1110) will decrease coverage by 2.93%.
The diff coverage is 66.66%.

Impacted file tree graph

Flag Coverage Δ
block ?
blockchain ?
client ?
common ?
devp2p ?
ethash ?
tx ?
vm 82.00% <66.66%> (-1.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@jochem-brouwer jochem-brouwer mentioned this pull request Mar 1, 2021
4 tasks
@jochem-brouwer
Copy link
Member Author

Will stop here for today, fixing CI should be rather easy I think, it is good to see that the difference between this one (+2055, -492) is almost the same as the original (+2054, -500).

@jochem-brouwer jochem-brouwer force-pushed the eip2718-eip2930-clean branch from b98f7a6 to 00ec7a5 Compare March 2, 2021 19:42
tx: move api test to legacy test

tx: lint
@jochem-brouwer jochem-brouwer force-pushed the eip2718-eip2930-clean branch from 00ec7a5 to 9c6f2f6 Compare March 2, 2021 19:48
@ryanio ryanio deleted the eip2718-eip2930-clean branch October 28, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants