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

Web3 4.x Testing with Truffle #6144

Closed
1 task
Tracked by #6390
jdevcs opened this issue Jun 1, 2023 · 4 comments
Closed
1 task
Tracked by #6390

Web3 4.x Testing with Truffle #6144

jdevcs opened this issue Jun 1, 2023 · 4 comments
Assignees
Labels
4.x 4.0 related

Comments

@jdevcs
Copy link
Contributor

jdevcs commented Jun 1, 2023

  • Migrate Truffle to the latest 4.x release and share any bugs discovered.
@Muhammad-Altabba
Copy link
Contributor

Related MR: trufflesuite/truffle#5393

@Muhammad-Altabba
Copy link
Contributor

As communicated with the team, I am closing this issue. However, the Truffle upgrade to 4.x is still in progress...

For reference, the following 10 issues were created during this task:

And during the work on this task, multiple commits were pushed to the MR trufflesuite/truffle#5393. Those commits were mainly:

  • Fix Quorum overrides according to 4.x and fix the Quorum decodeParameters tests
  • Updated some codes for the breaking changes of stuff like:
    • The callbacks has been replaced with promises.
    • Closing a provider after finishing.
    • The tx.to field will be undefined if not provided instead of being null in 1.x.
    • The response object of an RPC call will contain the result inside response.result.
  • Restores some needed files that has been deleted by mistake (restored in commit)
  • Increase many tests' timeouts (also an issue was created to investigate).
  • Handle addresses differences related to checksum
  • Update web3.js from 4.0.1-rc.1 to 4.0.3 and unskip some tests that are now running with 4.0.3.
  • Added a TODO comment for every related issue of the above 10 mentioned issues.

Another follow-up task will be created to continue working on the upgrade.

@Muhammad-Altabba
Copy link
Contributor

It turns out that #6317 is also a blocke as setting the gas is needed to create some of the scenarios at the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x 4.0 related
Projects
None yet
Development

No branches or pull requests

3 participants