Skip to content

Commit

Permalink
fix(protocol): use PacayaForkRouter instead of ForkRouter (#18891)
Browse files Browse the repository at this point in the history
Co-authored-by: Gavin “yoghurt” Yu <[email protected]>
Co-authored-by: YoGhurt111 <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent 16d2817 commit 1dab819
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "src/layer1/devnet/verifiers/OpVerifier.sol";
import "src/layer1/devnet/verifiers/DevnetVerifier.sol";
import "src/layer1/mainnet/MainnetInbox.sol";
import "src/layer1/based/TaikoInbox.sol";
import "src/layer1/fork-router/ForkRouter.sol";
import "src/layer1/fork-router/PacayaForkRouter.sol";
import "src/layer1/mainnet/multirollup/MainnetBridge.sol";
import "src/layer1/mainnet/multirollup/MainnetERC1155Vault.sol";
import "src/layer1/mainnet/multirollup/MainnetERC20Vault.sol";
Expand Down Expand Up @@ -264,10 +264,12 @@ contract DeployProtocolOnL1 is DeployCapability {
oldFork = address(new DevnetInbox(address(rollupResolver)));
}
address newFork = address(new DevnetInbox(address(rollupResolver)));
console2.log(" oldFork :", oldFork);
console2.log(" newFork :", newFork);

address taikoInboxAddr = deployProxy({
name: "taiko",
impl: address(new ForkRouter(oldFork, newFork)),
impl: address(new PacayaForkRouter(oldFork, newFork)),
data: "",
registerTo: rollupResolver
});
Expand Down

0 comments on commit 1dab819

Please sign in to comment.