Skip to content

Commit 364fdb3

Browse files
committed
test: update collateral verification to include owner approval step in DeployFlyover tests
1 parent 72080d3 commit 364fdb3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/deployment/DeployFlyover.t.sol

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,11 @@ contract DeployFlyoverTest is Test {
357357
console.log(" Provider registered with ID:", providerId);
358358
assertEq(providerId, 1, "First provider should have ID 1");
359359

360-
// Verify collateral was added
361-
console.log("\n2. Verifying collateral...");
360+
// Owner approval is required before collateral is forwarded and LP becomes operational
361+
discovery.approveRegistration(provider);
362+
363+
// Verify collateral was added after approval
364+
console.log("\n2. Verifying collateral after approval...");
362365
uint256 pegInCollateral = collateralManagement.getPegInCollateral(
363366
provider
364367
);

0 commit comments

Comments
 (0)