Skip to content

fix: remove transient formatting workarounds - #267

Merged
MathisGD merged 1 commit into
mainfrom
hermes/fix-bundler3-88-169-v2
Sep 1, 2026
Merged

fix: remove transient formatting workarounds#267
MathisGD merged 1 commit into
mainfrom
hermes/fix-bundler3-88-169-v2

Conversation

@prd-carapulse

@prd-carapulse prd-carapulse Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Why

The formatting workflow rewrites valid Solidity before running forge fmt, masking formatter support for transient storage and mutating the checkout. AdapterMock also carries obsolete CommonBase inheritance solely for the old transient-storage workaround.

What changed

  • Run forge fmt --check directly in the formatting workflow.
  • Remove unused CommonBase import and inheritance from AdapterMock.

Verification

  • forge fmt --check passes.
  • git diff --check passes.
  • forge test --offline --match-path test/Bundler3LocalTest.sol is blocked because no Solidity compiler version is cached; online compiler download failed with tunnel error: unsuccessful.

Closes #88
Closes #169

Requested by: <@U02NB58F6R3> | Mathis

forge fmt now accepts transient storage syntax directly, so CI no longer needs to rewrite Solidity sources. Remove obsolete CommonBase inheritance from AdapterMock as well.

Co-authored-by: Mathis <74971347+MathisGD@users.noreply.github.com>
@MathisGD
MathisGD requested a review from adhusson September 1, 2026 12:49
@MathisGD
MathisGD merged commit 277a92f into main Sep 1, 2026
10 of 12 checks passed
@MathisGD
MathisGD deleted the hermes/fix-bundler3-88-169-v2 branch September 1, 2026 16: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.

test: remove adapterMock tstore() trick test: remove trick in fmt ci

2 participants