From 8091a9485f0cc73e885386c04fd8b7a7aa5703b6 Mon Sep 17 00:00:00 2001 From: Kunal Arora <55632507+aroralanuk@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:24:23 -0500 Subject: [PATCH 1/2] Update breezy-bats-type.md --- .changeset/breezy-bats-type.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.changeset/breezy-bats-type.md b/.changeset/breezy-bats-type.md index c355caa474..4b1dd9ca38 100644 --- a/.changeset/breezy-bats-type.md +++ b/.changeset/breezy-bats-type.md @@ -2,4 +2,7 @@ '@hyperlane-xyz/sdk': patch --- -Granular control of uupdating predeployed routingIsms based on routing config mismatch +Granular control of updating predeployed routingIsms based on routing config mismatch +- Add support for routingIsmDelta which filters out the incompatibility between the onchain deployed config and the desired config. +- Based on the above, you either update the deployed Ism with new routes, delete old routes, change owners, etc. +- `moduleMatchesConfig` uses the same From c925c09a94d877a392da70a306f030909d2a6ff1 Mon Sep 17 00:00:00 2001 From: Kunal Arora <55632507+aroralanuk@users.noreply.github.com> Date: Tue, 12 Dec 2023 23:52:59 -0500 Subject: [PATCH 2/2] Update typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts Co-authored-by: Yorke Rhodes --- typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts b/typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts index 3ae1a5630a..df6967c83f 100644 --- a/typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts +++ b/typescript/sdk/src/ism/HyperlaneIsmFactory.hardhat-test.ts @@ -153,7 +153,7 @@ describe('HyperlaneIsmFactory', async () => { } for (const type of [IsmType.ROUTING, IsmType.FALLBACK_ROUTING]) { - it('deploys routingIsm with correct routes', async () => { + it(`deploys ${type} routingIsm with correct routes`, async () => { exampleRoutingConfig.type = type as | IsmType.ROUTING | IsmType.FALLBACK_ROUTING;