Skip to content

Commit f61ee67

Browse files
committed
test: add post execution tests
1 parent 758a11d commit f61ee67

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/AaveV3Horizon_mGLOBALListing_20260616/AaveV3Horizon_mGLOBALListing_20260616.t.sol

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,26 @@ contract AaveV3Horizon_mGLOBALListing_20260616_Test is
139139
vm.stopPrank();
140140
}
141141
}
142+
143+
/**
144+
* @dev Post-execution fork test. Run after the payload has been executed on mainnet
145+
* to validate the live state matches expected config and run full E2E.
146+
* command: FOUNDRY_PROFILE=test forge test --match-contract AaveV3Horizon_mGLOBALListing_20260616_PostExecution_Test -vv
147+
*/
148+
contract AaveV3Horizon_mGLOBALListing_20260616_PostExecution_Test is
149+
AaveV3Horizon_mGLOBALListing_20260616_TestBase
150+
{
151+
function setUp() public virtual override {
152+
super.setUp();
153+
vm.createSelectFork(vm.rpcUrl('mainnet'));
154+
}
155+
156+
function test_defaultProposalExecution() public {
157+
defaultTest_v3_3_postExecution(_pool());
158+
}
159+
160+
function test_mglobalConfig() public {
161+
_assertAssetConfig(_pool(), expectedAssetConfig);
162+
_assertEModeConfig(_pool(), expectedEModeConfig);
163+
}
164+
}

0 commit comments

Comments
 (0)