Skip to content

fix(forge): expand invariant gas snapshots#14990

Merged
grandizzy merged 1 commit into
masterfrom
mablr/expand-invariant-gas-snapshots
Jun 1, 2026
Merged

fix(forge): expand invariant gas snapshots#14990
grandizzy merged 1 commit into
masterfrom
mablr/expand-invariant-gas-snapshots

Conversation

@mablr

@mablr mablr commented May 31, 2026

Copy link
Copy Markdown
Member

Motivation

See #14987 (comment)

After #14844, merged invariant campaigns still ran all predicates, but forge snapshot only wrote the anchor predicate to .gas-snapshot.

This expands merged invariant campaign results back into per-predicate snapshot rows and adds a regression test.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@pcaversaccio pcaversaccio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we merge this today as it currently blocks my PR pcaversaccio/snekmate#376 (I only want to merge complete snapshot files)?

@grandizzy grandizzy merged commit 9022115 into master Jun 1, 2026
19 checks passed
@grandizzy grandizzy deleted the mablr/expand-invariant-gas-snapshots branch June 1, 2026 09:31
@github-project-automation github-project-automation Bot moved this to Done in Foundry Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants