Skip to content

Commit

Permalink
chore: rename facilitator
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Dec 24, 2024
1 parent 141e49d commit 62b189b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ contract AaveV3Arbitrum_GHOCCIP151Upgrade_20241209 is IProposalGenericExecutor {
address(EXISTING_TOKEN_POOL)
);

GHO.addFacilitator(address(NEW_TOKEN_POOL), 'CCIP v1.5.1 TokenPool', uint128(bucketCapacity));
GHO.addFacilitator(address(NEW_TOKEN_POOL), 'CCIP TokenPool v1.5.1 ', uint128(bucketCapacity));
NEW_TOKEN_POOL.directMint(address(EXISTING_TOKEN_POOL), bucketLevel); // increase facilitator level

_upgradeExistingTokenPool(); // introduce `directBurn` method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ contract AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_SetupAndProposalActions is

newFacilitator = GHO.getFacilitator(address(NEW_TOKEN_POOL));

assertEq(newFacilitator.label, 'CCIP v1.5.1 TokenPool');
assertEq(newFacilitator.label, 'CCIP TokenPool v1.5.1 ');
assertEq(newFacilitator.bucketCapacity, existingFacilitator.bucketCapacity);
assertEq(newFacilitator.bucketLevel, existingFacilitator.bucketLevel);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ contract AaveV3E2E_GHOCCIP151Upgrade_20241209_Base is ProtocolV3TestBase {
if (upgraded) {
assertEq(l2.c.tokenAdminRegistry.getPool(address(l2.c.token)), address(l2.newTokenPool));
assertEq(bytes(l2.c.token.getFacilitator(address(l2.existingTokenPool)).label).length, 0);
assertEq(l2.c.token.getFacilitator(address(l2.newTokenPool)).label, 'CCIP v1.5.1 TokenPool');
assertEq(l2.c.token.getFacilitator(address(l2.newTokenPool)).label, 'CCIP TokenPool v1.5.1 ');
} else {
assertEq(l2.c.tokenAdminRegistry.getPool(address(l2.c.token)), l2.c.proxyPool);
assertEq(l2.c.token.getFacilitator(address(l2.existingTokenPool)).label, 'CCIP TokenPool');
Expand Down

0 comments on commit 62b189b

Please sign in to comment.