Skip to content

feat: adapt to new foundry rebase upstream#85

Draft
lean-apple wants to merge 16 commits into
mainfrom
lea/eng-3168-rebase-foundry-v1.7.2
Draft

feat: adapt to new foundry rebase upstream#85
lean-apple wants to merge 16 commits into
mainfrom
lea/eng-3168-rebase-foundry-v1.7.2

Conversation

@lean-apple
Copy link
Copy Markdown

Summary

Ports the phylax-specific work originally landed in #84 (rebased onto foundry v1.7.1) on top of current main (already at foundry v1.7.2). #84 became out of date when main was force-pushed past v1.7.1.

What's included

  • CI: GitHub App token (actions/create-github-app-token) for cross-repo cargo auth across doctest, no-default-features, clippy, forge-fmt, crate-checks, deny. Drops bump-tempo, ci-mpp, ci-tempo workflows.
  • CI: inline cargo-deny job (replaces external tempoxyz/ci reusable workflow) with sccache + GH App token.
  • Deps: track credible-sdk ENG-3169 branch + add reth-core split-crate pins (workspace level).
  • deny.toml: phoundry 1.7 / revm 38 advisory ignore list (bincode, sled/remove_dir_all, rustls-webpki CRL/URI/wildcard, thin-vec, keccak asm, rand, etc.).
  • Cheatcodes: port credible cheatcode to generic EVM context. Renames assertionEx(bytes,address,bytes,string) to assertion(address,bytes,bytes4).
  • Backend: preserve configured spec (evm_version) across select_fork / roll_fork so user hardfork setting isn't overridden by fork's default spec.
  • Testdata: Vm.sol iface regen, Credible.t.sol fixture updates, foundry.lock, ds-test src.

Notes

  • Cargo.lock is reset to main's; run cargo build locally to refresh against the new credible-sdk ENG-3169 rev and reth-core pins.
  • Conflicts during port were resolved in favor of main where it has newer foundry work (spec preservation, innermost-revert CREATE semantics, env-overrides fields on Cheatcodes).

Test plan

  • cargo build --workspace --locked
  • cargo test --workspace --doc --locked
  • cargo clippy --workspace --all-targets --all-features --locked
  • cargo deny --all-features check
  • forge test against testdata/ (credible tests)

Ports phylax-specific work from PR #84 (originally rebased to v1.7.1)
onto current main (v1.7.2). Includes:

- CI: GitHub App token for cross-repo cargo auth across all jobs
- CI: inline cargo-deny job; drop tempo/mpp/bump-tempo workflows
- deps: track credible-sdk ENG-3169 branch + reth-core split crates
- deny.toml: advisory ignores for phoundry 1.7 / revm 38 dep graph
- cheatcodes: port credible cheatcode to generic EVM context
  (rename assertionEx -> assertion(address,bytes,bytes4))
- backend: preserve configured spec (evm_version) across fork switches
- testdata: Vm.sol regen, credible test fixture updates

Cargo.lock is reset to main's; run cargo build to refresh.
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 26, 2026

ENG-3168

@lean-apple lean-apple changed the title feat: rebase onto foundry v1.7.2 with phylax-specific fixes feat: adapt to foundry 1.7.1 May 26, 2026
@lean-apple lean-apple marked this pull request as draft May 26, 2026 15:23
@lean-apple lean-apple requested a review from mateo-mro May 26, 2026 16:31
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

TODO: to update

@lean-apple lean-apple changed the title feat: adapt to foundry 1.7.1 feat: adapt to new foundry rebase upstream May 26, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmdbook-driver@​0.5.2 ⏵ 0.5.3971009310070
Updatedjiff@​0.2.24 ⏵ 0.2.279810093100100
Updatedmimalloc@​0.1.50 ⏵ 0.1.5210010093100100

View full report

.filter(|arena| !arena.nodes().is_empty());
cheats.push_assertion_trigger_traces(trigger_traces);
}
// TODO: restore -vvv assertion tracing once credible-sdk's
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@odyslam @makemake-kbo how important is it to keep this ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I am not sure what this does, but creating traces for the assertion execution and printing them is very important.

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