generated from ChainSafe/yarn-workspaces-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: initLocalEnvironment * local adapter address variable * small fix * fix missing parts * mini refactor * d1 * d2 * micro refactor * d3 * tests --------- Co-authored-by: BeroBurny <[email protected]>
- Loading branch information
Showing
6 changed files
with
149 additions
and
3 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,3 +1,16 @@ | ||
import CrosschainDeployAdapter from "@chainsafe/hardhat-plugin-multichain-deploy-contracts/artifacts/contracts/CrosschainDeployAdapter.sol/CrosschainDeployAdapter"; | ||
import CreateX from "@chainsafe/hardhat-plugin-multichain-deploy-contracts/artifacts/contracts/deps/CreateX.sol/CreateX"; | ||
import MockFeeHandler from "@chainsafe/hardhat-plugin-multichain-deploy-contracts/artifacts/contracts/mocks/MockFeeHandler.sol/MockFeeHandler"; | ||
import MockBridge from "@chainsafe/hardhat-plugin-multichain-deploy-contracts/artifacts/contracts/mocks/MockBridge.sol/MockBridge"; | ||
|
||
export const AdapterABI = CrosschainDeployAdapter.abi; | ||
export const AdapterBytecode = CrosschainDeployAdapter.bytecode; | ||
|
||
export const CreateXABI = CreateX.abi; | ||
export const CreateXBytecode = CreateX.bytecode; | ||
|
||
export const MockFeeHandlerABI = MockFeeHandler.abi; | ||
export const MockFeeHandlerBytecode = MockFeeHandler.bytecode; | ||
|
||
export const MockBridgeABI = MockBridge.abi; | ||
export const MockBridgeBytecode = MockBridge.bytecode; |
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
15 changes: 15 additions & 0 deletions
15
packages/plugin/test/fixture-projects/hardhat-localhost/hardhat.config.ts
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,15 @@ | ||
// We load the plugin here. | ||
import { HardhatUserConfig } from "hardhat/types"; | ||
import { Environment } from "@buildwithsygma/sygma-sdk-core"; | ||
|
||
import "../../../src/index"; | ||
|
||
const config: HardhatUserConfig = { | ||
solidity: "0.7.3", | ||
defaultNetwork: "hardhat", | ||
multichain: { | ||
environment: Environment.TESTNET, | ||
}, | ||
}; | ||
|
||
export default config; |
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