Skip to content

Commit

Permalink
chore: update deployment logs (#210)
Browse files Browse the repository at this point in the history
* chore: update deployment logs

* chore: remove mode partial deployments file
  • Loading branch information
airtoonricardo authored Dec 11, 2024
1 parent 62d07e7 commit 1239e74
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 34 deletions.
6 changes: 3 additions & 3 deletions deployment-addresses/bob.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"poolImplementation": "0x10499d88Bd32AF443Fc936F67DE32bE1c8Bb374C",
"poolFactory": "0x31832f2a97Fd20664D76Cc421207669b55CE4BC0",
"router": "0x3a63171DD9BebF4D07BC782FECC7eb0b890C2A45",
"leafPoolImplementation": "0x10499d88Bd32AF443Fc936F67DE32bE1c8Bb374C",
"leafPoolFactory": "0x31832f2a97Fd20664D76Cc421207669b55CE4BC0",
"leafRouter": "0x3a63171DD9BebF4D07BC782FECC7eb0b890C2A45",
"tokenRegistry": "0x8d9c67488c154286B9D4ccaC6c4CBF30589107a7",
"universalRouter": "0xc3F14F34EA43943e6fd677A2BDceA65882e67783",
"mixedRouteQuoter": "0x0f3887909C548C41Eb8a6667a4B23FC6683EF8ba",
Expand Down
14 changes: 0 additions & 14 deletions deployment-addresses/deployPartial/mode.json

This file was deleted.

21 changes: 13 additions & 8 deletions deployment-addresses/mode.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"poolImplementation": "0x10499d88Bd32AF443Fc936F67DE32bE1c8Bb374C",
"poolFactory": "0x31832f2a97Fd20664D76Cc421207669b55CE4BC0",
"router": "0x3a63171DD9BebF4D07BC782FECC7eb0b890C2A45",
"tokenRegistry": "0x8d9c67488c154286B9D4ccaC6c4CBF30589107a7",
"universalRouter": "0x29EC19fA20db90BeD7F813298C45A4f4cD90eE18",
"mixedRouteQuoter": "0x52DCddAFdD31bcD44881F6591A97dA1fF5808891",
"stakingRewardsFactory": "0xD2F998a46e4d9Dd57aF1a28EBa8C34E7dD3851D7"
}
"ism": "0x0000000000000000000000000000000000000000",
"leafGaugeFactory": "0x42e403b73898320f23109708b0ba1Ae85838C445",
"leafMessageBridge": "0xF278761576f45472bdD721EACA19317cE159c011",
"leafMessageModule": "0xF385603a12Be8b7B885222329c581FDD1C30071D",
"leafPoolFactory": "0x31832f2a97Fd20664D76Cc421207669b55CE4BC0",
"leafPoolImplementation": "0x10499d88Bd32AF443Fc936F67DE32bE1c8Bb374C",
"leafRouter": "0x3a63171DD9BebF4D07BC782FECC7eb0b890C2A45",
"leafTokenBridge": "0xA7287a56C01ac8Baaf8e7B662bDB41b10889C7A6",
"leafVoter": "0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123",
"leafVotingRewardsFactory": "0x7dc9fd82f91B36F416A89f5478375e4a79f4Fb2F",
"leafXFactory": "0x73CaE4450f11f4A33a49C880CE3E8E56a9294B31",
"leafXVelo": "0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81"
}
6 changes: 3 additions & 3 deletions script/deployPartial/01_DeployPartialBaseFixture.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ abstract contract DeployPartialBaseFixture is DeployFixture {
addresses = vm.readFile(path);

/// @dev Use contracts from existing deployment
leafPoolImplementation = Pool(vm.parseJsonAddress(addresses, ".poolImplementation"));
leafPoolFactory = PoolFactory(vm.parseJsonAddress(addresses, ".poolFactory"));
leafRouter = Router(payable(vm.parseJsonAddress(addresses, ".router")));
leafPoolImplementation = Pool(vm.parseJsonAddress(addresses, ".leafPoolImplementation"));
leafPoolFactory = PoolFactory(vm.parseJsonAddress(addresses, ".leafPoolFactory"));
leafRouter = Router(payable(vm.parseJsonAddress(addresses, ".leafRouter")));
}

/// @dev Override if deploying extensions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ contract BobDeployPartialBaseTest is BaseFixture {
// assertNotEq(address(leafIsm), address(0));
assertNotEq(address(leafRouter), address(0));

assertEq(address(leafPoolImplementation), vm.parseJsonAddress(addresses, ".poolImplementation"));
assertEq(address(leafPoolFactory), vm.parseJsonAddress(addresses, ".poolFactory"));
assertEq(address(leafRouter), vm.parseJsonAddress(addresses, ".router"));
assertEq(address(leafPoolImplementation), vm.parseJsonAddress(addresses, ".leafPoolImplementation"));
assertEq(address(leafPoolFactory), vm.parseJsonAddress(addresses, ".leafPoolFactory"));
assertEq(address(leafRouter), vm.parseJsonAddress(addresses, ".leafRouter"));

assertEq(leafPoolFactory.implementation(), address(leafPoolImplementation));
assertEq(leafPoolFactory.isPaused(), false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ contract ModeDeployPartialBaseTest is BaseFixture {
// assertNotEq(address(leafIsm), address(0));
assertNotEq(address(leafRouter), address(0));

assertEq(address(leafPoolImplementation), vm.parseJsonAddress(addresses, ".poolImplementation"));
assertEq(address(leafPoolFactory), vm.parseJsonAddress(addresses, ".poolFactory"));
assertEq(address(leafRouter), vm.parseJsonAddress(addresses, ".router"));
assertEq(address(leafPoolImplementation), vm.parseJsonAddress(addresses, ".leafPoolImplementation"));
assertEq(address(leafPoolFactory), vm.parseJsonAddress(addresses, ".leafPoolFactory"));
assertEq(address(leafRouter), vm.parseJsonAddress(addresses, ".leafRouter"));

assertEq(leafPoolFactory.implementation(), address(leafPoolImplementation));
assertEq(leafPoolFactory.isPaused(), false);
Expand Down

0 comments on commit 1239e74

Please sign in to comment.