Skip to content

Commit 1be398e

Browse files
authored
Merge pull request #140 from Merit-Systems/shafu/fix-deploy-anvil
Update setAdminNonce function call to repoSetAdminNonce
2 parents 1e33e36 + 4c0ecfd commit 1be398e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/Deploy.Anvil.s.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ contract DeployAnvil is Script {
426426
address[] memory admins = new address[](1);
427427
admins[0] = USER1;
428428

429-
uint setAdminNonce = escrow.setAdminNonce();
429+
uint setAdminNonce = escrow.repoSetAdminNonce(repoId, accountId);
430430
uint signatureDeadline = block.timestamp + 3600;
431431

432432
bytes32 digest = keccak256(
@@ -651,7 +651,7 @@ contract DeployAnvil is Script {
651651
address[] memory admins = new address[](1);
652652
admins[0] = USER2;
653653

654-
uint setAdminNonce = escrow.setAdminNonce();
654+
uint setAdminNonce = escrow.repoSetAdminNonce(repoId, accountId);
655655
uint signatureDeadline = block.timestamp + 3600;
656656

657657
bytes32 digest = keccak256(
@@ -1580,4 +1580,4 @@ contract DeployAnvil is Script {
15801580
escrow.setBatchLimit(BATCH_LIMIT);
15811581
vm.stopBroadcast();
15821582
}
1583-
}
1583+
}

0 commit comments

Comments
 (0)