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

ci: reenable solidity tests #200

Merged
merged 3 commits into from
Oct 1, 2024
Merged

ci: reenable solidity tests #200

merged 3 commits into from
Oct 1, 2024

Conversation

JayWhite2357
Copy link
Contributor

@JayWhite2357 JayWhite2357 commented Oct 1, 2024

Rationale for this change

#166 disabled solidity tests due to instability in the forge repo.

What changes are included in this PR?

  • Added a new ForgeScript type to enable testing. This type only depends on the published version of alloy-sol-types, which should be stable enough for our purposes.
  • Refactored the existing tests to use this instead.
  • Updated the CI to run these tests.

Are these changes tested?

Yes

This type is intended to allow for running solidity functions from within rust. It is designed primarily to be able to pass rust types as arguments to solidity to enable cross-language testing.
@JayWhite2357 JayWhite2357 marked this pull request as ready for review October 1, 2024 15:07
This allows calls to the `ForgeScript` test type to run within CI.
This refactors the solidity tests to use the `ForgeScript` type rather than the unstable `forge_script` crate.
@iajoiner iajoiner merged commit 1ef6c48 into main Oct 1, 2024
10 checks passed
@iajoiner iajoiner deleted the ci/reenable-solidity-tests branch October 1, 2024 16:04
Copy link

github-actions bot commented Oct 1, 2024

🎉 This PR is included in version 0.25.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants