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

feat: nomismatokopio #8940

Merged
merged 2 commits into from
Oct 11, 2024
Merged

feat: nomismatokopio #8940

merged 2 commits into from
Oct 11, 2024

Conversation

LHerskind
Copy link
Contributor

@LHerskind LHerskind commented Oct 2, 2024

Fixes #8135.

  • Updates the .solhint as well do remove the gas-custom-errors rule and turn off custom-error-over-require.

The solhint version used in the docker is not the same as if using yarn lint so need to handle that in a separate PR as there is a bunch of warnings and errors.

Copy link
Contributor Author

LHerskind commented Oct 2, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LHerskind and the rest of your teammates on Graphite Graphite

This was referenced Oct 2, 2024
@LHerskind LHerskind marked this pull request as ready for review October 2, 2024 11:36
@LHerskind LHerskind mentioned this pull request Oct 8, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

Big +1 on this test layout. Huge improvements.

nom.mint(address(0xdead), 1);
}

modifier givenCallerIsOwner() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, comment would be nice that this should be empty because the base contract test deployed it.

// it emits a {Transfer} event
// it will return 0 for mintAvailable in same block
uint256 amount = bound(_amount, 1, maxMint);
assertGt(amount, 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

is this assert needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No

@Maddiaa0 Maddiaa0 enabled auto-merge (squash) October 11, 2024 11:13
@Maddiaa0 Maddiaa0 merged commit 1f53957 into master Oct 11, 2024
52 checks passed
@Maddiaa0 Maddiaa0 deleted the lh/8135-nomismatokopio branch October 11, 2024 11:43
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.

feat(Upgrade): Nomismatokopio
3 participants