Conversation
|
@claude could u follow the review pattern i've added in claude.md to review this vip If you need the source code, you can check it in the government repo. |
This comment was marked as resolved.
This comment was marked as resolved.
|
wrap the ai feedback for now as it's not well configured rn, no access to web |
PR Review ReportSummary
Configures the Risk Steward system on BSC mainnet (+ all testnets). Single-phase VIP combining ACM permissions (33 grants), ownership acceptance (5 contracts), RiskOracle config, RiskStewardReceiver config, and safe delta BPS. Previous review: Testnet-only review completed 2026-01-07 found and fixed update type string mismatch. This PR now includes the mainnet VIP. Checklist1. Contract Address Verification
Verification: 1b. Implementation Source Code VerificationAll 5 contracts are
Verification method: BSCScan API 2. Function Signature Verification
3. ACM Permission Count — 33 Total ✅
4. Permission Tiering ✅
5. Numeric Values ✅
6. Update Type Strings ✅All match contract constants: 7. Ownership, Events, Test Coverage, ProposalType — All ✅
Notes
Emergency SafetyMultiple independent kill switches, all accessible to Guardian:
|
| it("should grant _setInterestRateModel permission to IRM_STEWARD", async () => { | ||
| const irmRole = ethers.utils.solidityPack( | ||
| ["address", "string"], | ||
| ["0x0000000000000000000000000000000000000000000000000000000000000000", "_setInterestRateModel(address)"], |
There was a problem hiding this comment.
nit: Use ethers.constants.AddressZero instead of the 32-byte zero literal
Description
Resolves VEN