-
Notifications
You must be signed in to change notification settings - Fork 369
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 rossy/warp-ui-utils-migration
- Loading branch information
Showing
42 changed files
with
907 additions
and
326 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,5 @@ | ||
--- | ||
'@hyperlane-xyz/sdk': minor | ||
--- | ||
|
||
Enroll new validators for alephzeroevmmainnet, chilizmainnet, flowmainnet, immutablezkevmmainnet, metal, polynomialfi, rarichain, rootstockmainnet, superpositionmainnet, flame, prom, inevm. |
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,5 @@ | ||
--- | ||
'@hyperlane-xyz/sdk': minor | ||
--- | ||
|
||
Added helpers to Token and token adapters to get bridged supply of tokens" |
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/widgets': minor | ||
--- | ||
|
||
New Icons | ||
Updated modal with new props | ||
Updated storybook for modal and icon list |
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/infra': minor | ||
'@hyperlane-xyz/cli': minor | ||
'@hyperlane-xyz/sdk': minor | ||
--- | ||
|
||
Implements persistent relayer for use in CLI |
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,6 @@ | ||
--- | ||
'@hyperlane-xyz/widgets': minor | ||
--- | ||
|
||
Props and style update: IconButton and Tooltip | ||
New Icons: XCircleIcon and SwapIcon |
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 +1 @@ | ||
10fdae0f566c7c213b6b1b27b8620e8776f2895f | ||
3e366eae1d49da4270695b157d7af00bb761156a |
Large diffs are not rendered by default.
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
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 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,5 +1,5 @@ | ||
export const MINIMUM_CORE_DEPLOY_GAS = (1e8).toString(); | ||
export const MINIMUM_WARP_DEPLOY_GAS = (6e8).toString(); // Rough calculation through deployments to testnets with 2x buffer | ||
export const MINIMUM_WARP_DEPLOY_GAS = (3e7).toString(); | ||
export const MINIMUM_TEST_SEND_GAS = (3e5).toString(); | ||
export const MINIMUM_AVS_GAS = (3e6).toString(); | ||
export const PROXY_DEPLOYED_URL = 'https://proxy.hyperlane.xyz'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import { TokenType } from '@hyperlane-xyz/sdk'; | ||
|
||
import { writeYamlOrJson } from '../utils/files.js'; | ||
|
||
import { hyperlaneCoreDeploy } from './commands/core.js'; | ||
import { | ||
REGISTRY_PATH, | ||
hyperlaneRelayer, | ||
hyperlaneSendMessage, | ||
} from './commands/helpers.js'; | ||
import { | ||
hyperlaneWarpDeploy, | ||
hyperlaneWarpSendRelay, | ||
} from './commands/warp.js'; | ||
|
||
const CHAIN_NAME_1 = 'anvil2'; | ||
const CHAIN_NAME_2 = 'anvil3'; | ||
|
||
const SYMBOL = 'ETH'; | ||
|
||
const WARP_DEPLOY_OUTPUT = `${REGISTRY_PATH}/deployments/warp_routes/${SYMBOL}/${CHAIN_NAME_1}-${CHAIN_NAME_2}-config.yaml`; | ||
|
||
const EXAMPLES_PATH = './examples'; | ||
const CORE_CONFIG_PATH = `${EXAMPLES_PATH}/core-config.yaml`; | ||
|
||
const TEST_TIMEOUT = 100_000; // Long timeout since these tests can take a while | ||
describe('hyperlane relayer e2e tests', async function () { | ||
this.timeout(TEST_TIMEOUT); | ||
|
||
before(async () => { | ||
await hyperlaneCoreDeploy(CHAIN_NAME_1, CORE_CONFIG_PATH); | ||
await hyperlaneCoreDeploy(CHAIN_NAME_2, CORE_CONFIG_PATH); | ||
|
||
const warpConfig = { | ||
anvil2: { | ||
type: TokenType.native, | ||
symbol: SYMBOL, | ||
}, | ||
anvil3: { | ||
type: TokenType.synthetic, | ||
symbol: SYMBOL, | ||
}, | ||
}; | ||
|
||
const warpConfigPath = './tmp/warp-route-config.yaml'; | ||
writeYamlOrJson(warpConfigPath, warpConfig); | ||
await hyperlaneWarpDeploy(warpConfigPath); | ||
}); | ||
|
||
describe('relayer', () => { | ||
it('should relay core messages', async () => { | ||
const process = hyperlaneRelayer([CHAIN_NAME_1, CHAIN_NAME_2]); | ||
|
||
await hyperlaneSendMessage(CHAIN_NAME_1, CHAIN_NAME_2); | ||
await hyperlaneSendMessage(CHAIN_NAME_2, CHAIN_NAME_1); | ||
|
||
await process.kill('SIGINT'); | ||
}); | ||
|
||
it('should relay warp messages', async () => { | ||
const process = hyperlaneRelayer( | ||
[CHAIN_NAME_1, CHAIN_NAME_2], | ||
WARP_DEPLOY_OUTPUT, | ||
); | ||
|
||
await hyperlaneWarpSendRelay( | ||
CHAIN_NAME_1, | ||
CHAIN_NAME_2, | ||
WARP_DEPLOY_OUTPUT, | ||
false, | ||
); | ||
await hyperlaneWarpSendRelay( | ||
CHAIN_NAME_2, | ||
CHAIN_NAME_1, | ||
WARP_DEPLOY_OUTPUT, | ||
false, | ||
); | ||
|
||
await process.kill('SIGINT'); | ||
}); | ||
}); | ||
}); |
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 |
---|---|---|
|
@@ -19,5 +19,6 @@ export function stubMerkleTreeConfig( | |
}, | ||
}, | ||
ism: {}, | ||
backlog: [], | ||
}); | ||
} |
Oops, something went wrong.