-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kunal/fix-fallback-ism-issue
- Loading branch information
Showing
36 changed files
with
735 additions
and
551 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@hyperlane-xyz/cli': minor | ||
'@hyperlane-xyz/infra': patch | ||
'@hyperlane-xyz/sdk': patch | ||
--- | ||
|
||
Allow CLI to accept hook as a 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
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 was deleted.
Oops, something went wrong.
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,66 @@ | ||
# A config to define the hooks for core contract deployments | ||
# Ideally, use the `hyperlane config create hooks` command to generate this file | ||
# but you we can refer to https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/hook/types.ts for the matching types | ||
|
||
# HooksConfig: | ||
# required: HookConfig | ||
# default: HookConfig | ||
|
||
# HookConfig: | ||
# type: HookType | ||
# ... hook-specific config | ||
|
||
# HookType: | ||
# - merkleTreeHook | ||
# - domainRoutingHook | ||
# - interchainGasPaymaster | ||
# - protocolFee | ||
# - aggregationHook | ||
# - opStack (not yet supported) | ||
|
||
anvil1: | ||
required: | ||
type: protocolFee | ||
maxProtocolFee: '1000000000000000000' # in wei (string) | ||
protocolFee: '200000000000000' # in wei (string) | ||
beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
default: | ||
type: domainRoutingHook | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
domains: | ||
anvil2: | ||
type: aggregationHook | ||
hooks: | ||
- type: merkleTreeHook | ||
- type: interchainGasPaymaster | ||
beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
oracleKey: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
overhead: | ||
anvil2: 50000 # gas amount (number) | ||
gasOracleType: | ||
anvil2: StorageGasOracle | ||
anvil2: | ||
required: | ||
type: protocolFee | ||
maxProtocolFee: '1000000000000000000' | ||
protocolFee: '200000000000000' | ||
beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
default: | ||
type: domainRoutingHook | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
domains: | ||
anvil1: | ||
type: aggregationHook | ||
hooks: | ||
- type: merkleTreeHook | ||
- type: interchainGasPaymaster | ||
beneficiary: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
owner: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
oracleKey: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' | ||
overhead: | ||
anvil1: 50000 | ||
gasOracleType: | ||
anvil1: StorageGasOracle |
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.