-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Passthrough and local adapter (#384)
* fix: fix passthrough and local adapter * fix: build * fix: lints * chore: Make testing adapters great again ! * chore: Update Sepolia deployment configuration --------- Co-authored-by: John <bulk.yard@protonmail.com>
- Loading branch information
1 parent
223a0f3
commit 1f92ebd
Showing
5 changed files
with
114 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
pragma solidity 0.8.26; | ||
|
||
import {Deployer} from "script/Deployer.sol"; | ||
import {LocalAdapter} from "test/integration/LocalAdapter.sol"; | ||
import {Deployer} from "../../script/Deployer.sol"; | ||
import {LocalAdapter} from "./LocalAdapter.sol"; | ||
|
||
// Script to deploy Liquidity Pools with an Axelar adapter. | ||
contract LocalAdapterScript is Deployer { | ||
function setUp() public {} | ||
|
||
function run() public { | ||
vm.startBroadcast(); | ||
|
||
// NOTE: 0x361c43cd5Fd700923Aae9dED678851a201839fc6 is the H160 of Keyring::Admin in the Centrifuge Chain | ||
// repository | ||
adminSafe = address(0x361c43cd5Fd700923Aae9dED678851a201839fc6); | ||
|
||
deploy(msg.sender); | ||
LocalAdapter adapter = new LocalAdapter(); | ||
wire(address(adapter)); | ||
|
||
adapter.file("gateway", address(gateway)); | ||
adapter.file("sourceChain", "TestDomain"); | ||
adapter.file("sourceAddress", "0x1111111111111111111111111111111111111111"); | ||
|
||
removeDeployerAccess(address(adapter), msg.sender); | ||
|
||
vm.stopBroadcast(); | ||
} | ||
} |
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