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

fix: make tests compile with [email protected] #24

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

0x-r4bbit
Copy link
Contributor

There was a breaking change introduced in forge-std at foundry-rs/forge-std#407 which breaks compilation of Rln.t.sol with [email protected].

This commit updates the dependency to v1.6.0 and adjusts the test source such that it successfully compiles.

Another way to go about this would've been to just stick with v1.5.6. and ensuring installation of that version.
However, I've decided to update the dependency to the latest stable version instead.

There was a breaking change introduced in `forge-std` at
foundry-rs/forge-std#407 which breaks
compilation of `Rln.t.sol` with `[email protected]`.

This commit updates the dependency to v1.6.0 and adjusts the test source
such that it successfully compiles.

Another way to go about this would've been to just stick with `v1.5.6.`
and ensuring installation of that version.
However, I've decided to update the dependency to the latest stable
version instead.
@0x-r4bbit 0x-r4bbit requested a review from rymnc August 8, 2023 17:18
@github-actions
Copy link

github-actions bot commented Aug 8, 2023

LCOV of commit 830cace during CI #29

Summary coverage rate:
  lines......: 83.9% (496 of 591 lines)
  functions..: 48.0% (12 of 25 functions)
  branches...: 52.5% (21 of 40 branches)

Files changed coverage rate: n/a

Copy link
Contributor

@rymnc rymnc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0x-r4bbit 0x-r4bbit merged commit e13af69 into main Aug 8, 2023
1 check passed
@0x-r4bbit
Copy link
Contributor Author

Unfortunately, GitHub still doesn't support preserving PGP verified signatures of a commit when using the "Rebase & Merge" button via the web interface, hence the merged commit is now marked as not verified.

Switching to "Squash and merge" instead for future PRs.

@rymnc rymnc deleted the fix/assume-no-precompiles branch August 9, 2023 04:27
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