Skip to content

Comments

fix: use invariant signatures instead of names in resuts#3137

Merged
gakonst merged 2 commits intofoundry-rs:masterfrom
mattsse:matt/invariant-sigs
Sep 9, 2022
Merged

fix: use invariant signatures instead of names in resuts#3137
gakonst merged 2 commits intofoundry-rs:masterfrom
mattsse:matt/invariant-sigs

Conversation

@mattsse
Copy link
Member

@mattsse mattsse commented Sep 8, 2022

Motivation

use function signatures as identifiers for invariant tests

fixes a snapshot bug where entries are formatted as WETHInvariants:invariantTotalSupplyEqualsBalance (runs: 256, calls: 3840, reverts: 1860)

Solution

Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

sweet! good fix. @transmissions11 foundryup -b master

@gakonst gakonst merged commit 70b74e8 into foundry-rs:master Sep 9, 2022
iFrostizz pushed a commit to iFrostizz/foundry that referenced this pull request Nov 9, 2022
…3137)

* fix: use invariant signatures instead of names in resuts

* update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-forge Command: forge T-bug Type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants