Skip to content

test(comp): review proposal 595 calldata - #104

Open
blockfulintern wants to merge 3 commits into
mainfrom
review/comp-595
Open

test(comp): review proposal 595 calldata#104
blockfulintern wants to merge 3 commits into
mainfrom
review/comp-595

Conversation

@blockfulintern

@blockfulintern blockfulintern commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Compound proposal 595 calldata reconstruction
  • verify all five L1 calls and 30 inner cross-chain actions against the on-chain proposal (proposalDetails, not the committed fixture)
  • execute the five L1 calls as the Timelock on a mainnet fork
  • add Compound registry metadata and security report

Verdict

NEEDS_REVIEW — L1 calldata matches the chain and executes cleanly; downstream L2 relay execution is not simulated.

Verification

forge test --match-path "src/compound/proposals/595-zeroing-supply-rates/*" -vv

Result: 5 passed, 0 failed.

blockfulintern and others added 3 commits August 13, 2026 16:47
Read the proposal with proposalDetails (the Bravo address now hosts an
OZ-style Governor) and compare the derived calldata against it, so the
committed fixture is verified instead of trusted. Decode the inner
cross-chain payloads out of the live calldata rather than re-decoding the
encoder's own output, assert a meaningful proposal state, check the GHO
approval against a live CCIP fee quote, and execute the five L1 calls as
the Timelock on a mainnet fork.

Also drop the unused interfaces/constants and point the Compound registry
entry away from a single proposal's test file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant