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

Process hangs with Invalid hex bytecode for contract error #700

Closed
agostbiro opened this issue Oct 21, 2024 · 1 comment
Closed

Process hangs with Invalid hex bytecode for contract error #700

agostbiro opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
solidity-tests Issue related to the Solidity tests feature

Comments

@agostbiro
Copy link
Member

Feature: Solidity tests

Process hangs with Invalid hex bytecode for contract error

What’s also curious about this error is that it is not advertised on the error callback. It is just displayed and the process hangs.

Reproduction steps:

  1. Check out the wip/testing-solidity-tests-wtih-hardhat branch of NomicFoundation/edr.
  2. Check out the wip/solidity-test-merged branch of NomicFoundation/hardhat
  3. Go to v-next/hardhat of the Hardhat checkout
  4. Build Hardhat with pnpm build
  5. Go to crates/edr_solidity_tests/tests/testdata of the EDR checkout
  6. Link Hardhat with npm link $PATH_TO_HARDHAT/v-next/hardhat
  7. Replace the value of https://github.com/NomicFoundation/edr/blob/wip/testing-solidity-tests-wtih-hardhat/crates/edr_solidity_tests/tests/testdata/hardhat.config.js#L4 with ["default/fork"] or ["default/linking"].
  8. Run solidity tests with npx hardhat3 test:solidity
@agostbiro agostbiro self-assigned this Oct 21, 2024
@github-project-automation github-project-automation bot moved this to Unconfirmed in EDR Oct 21, 2024
@agostbiro agostbiro added the solidity-tests Issue related to the Solidity tests feature label Oct 21, 2024
@agostbiro
Copy link
Member Author

Done in #704

@github-project-automation github-project-automation bot moved this from Unconfirmed to Done in EDR Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solidity-tests Issue related to the Solidity tests feature
Projects
Status: Done
Development

No branches or pull requests

1 participant