-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Replace ethereumjs/tx dependency with a fork that has ethers.js removed #5963
Replace ethereumjs/tx dependency with a fork that has ethers.js removed #5963
Conversation
…-a-fork-that-has-ethers.js-removed
Deploying with
|
Latest commit: |
42d5b23
|
Status: | ✅ Deploy successful! |
Preview URL: | https://04177be4.web3-js-docs.pages.dev |
Branch Preview URL: | https://ok-5948-replace-ethereumjs-t.web3-js-docs.pages.dev |
…-a-fork-that-has-ethers.js-removed
…-a-fork-that-has-ethers.js-removed
Thanks everyone. We will maintain code added in this PR in future. Also if a readme file or comments are added for just tracking which version of eth/tx and eth/common lib were added it will be helpful for future maintainers to understand which imp bugs or upgrades are necessary in our lib by tracking eth/tx and eth/common ( just for info ).
@avkos @spacesailor24 For replacing functions : As we discussed in last team call eth/tx / eth/common functions have different implementation as compared to ours in some cases. so I'll suggest to continue use functions from eth/tx eth/common for now, so we have stable transaction functionality, and in near future we can refactor for reusing our functions or strip unused pieces. |
Before merging pls check all tests should be passing in CI. |
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.
Great job!
However, I have a few questions...
And a tiny point: I think this error text was missed updating:
'Please provide the @ethereumjs/common object or the chain and hardfork property but not all together.', |
Description
Please include a summary of the changes and be sure to follow our Contribution Guidelines.
Type of change
Checklist for 1.x:
npm run dtslint
with success and extended the tests and types if necessary.npm run test:cov
and my test cases cover all the lines and branches of the added code.npm run build
with success.dist/web3.min.js
in a browser.CHANGELOG.md
file in the root folder.Checklist for 4.x:
yarn
successfullyyarn lint
successfullyyarn build:web
successfullyyarn test:unit
successfullyyarn test:integration
successfullycompile:contracts
successfullyCHANGELOG.md
file in the packages I have edited.