-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2548cc5
commit 00e82c9
Showing
13 changed files
with
282 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule forge-std
updated
22 files
+48 −6 | .github/workflows/ci.yml | |
+29 −0 | .github/workflows/sync.yml | |
+1 −1 | foundry.toml | |
+1 −1 | package.json | |
+5 −3 | src/Base.sol | |
+4 −3 | src/Script.sol | |
+13 −12 | src/StdChains.sol | |
+195 −17 | src/StdCheats.sol | |
+1 −1 | src/StdInvariant.sol | |
+4 −0 | src/StdStorage.sol | |
+2 −2 | src/StdStyle.sol | |
+11 −2 | src/StdUtils.sol | |
+4 −3 | src/Test.sol | |
+133 −24 | src/Vm.sol | |
+394 −382 | src/console2.sol | |
+13,248 −0 | src/safeconsole.sol | |
+91 −36 | test/StdChains.t.sol | |
+204 −12 | test/StdCheats.t.sol | |
+17 −2 | test/StdMath.t.sol | |
+10 −0 | test/StdStorage.t.sol | |
+4 −4 | test/StdStyle.t.sol | |
+53 −8 | test/StdUtils.t.sol |
Submodule openzeppelin-contracts
updated
537 files
Submodule openzeppelin-contracts-upgradeable
updated
549 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
eth-bridge/contracts/script/Upgrade.s.sol → ...dge/contracts/script/UpgradeBridges.s.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.20; | ||
|
||
import "forge-std/Script.sol"; | ||
import "../src/Bridge.sol"; | ||
|
||
contract Upgrade is Script { | ||
function run() external { | ||
vm.startBroadcast(); | ||
Bridge lldBridge = Bridge(vm.envAddress("LLDBridgeProxy")); | ||
Bridge llmBridge = Bridge(vm.envAddress("LLMBridgeProxy")); | ||
WrappedToken lldProxy = lldBridge.token(); | ||
WrappedToken llmProxy = llmBridge.token(); | ||
|
||
WrappedToken newTokenImpl = new WrappedToken(); | ||
|
||
lldProxy.upgradeTo(address(newTokenImpl)); | ||
llmProxy.upgradeTo(address(newTokenImpl)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.