From b6e8661dea13b4fc63eb0b796532851f62f72d44 Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Tue, 1 Jul 2025 15:52:17 +0200 Subject: [PATCH] chore: update snowbridge submodule (#109) This PR updates the Snowbridge submodule and regenerates contract bindings to incorporate the latest changes from upstream. --- contracts/lib/snowbridge | 2 +- test/contract-bindings/generated.ts | 29 ++++++++++++++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/contracts/lib/snowbridge b/contracts/lib/snowbridge index 80398fe9..290579d6 160000 --- a/contracts/lib/snowbridge +++ b/contracts/lib/snowbridge @@ -1 +1 @@ -Subproject commit 80398fe988359da1ba6866618bd27126b38972e4 +Subproject commit 290579d6d246091dad12c612d643402ec04b6ac7 diff --git a/test/contract-bindings/generated.ts b/test/contract-bindings/generated.ts index d8419176..b328e736 100644 --- a/test/contract-bindings/generated.ts +++ b/test/contract-bindings/generated.ts @@ -1799,11 +1799,7 @@ export const beefyClientAbi = [ internalType: 'bytes32', type: 'bytes32', }, - { - name: 'parachainHeadsRoot', - internalType: 'bytes32', - type: 'bytes32', - }, + { name: 'beefyExtraField', internalType: 'bytes32', type: 'bytes32' }, ], }, { name: 'leafProof', internalType: 'bytes32[]', type: 'bytes32[]' }, @@ -5663,6 +5659,20 @@ export const gatewayAbi = [ ], name: 'AgentFundsWithdrawn', }, + { + type: 'event', + anonymous: false, + inputs: [ + { name: 'nonce', internalType: 'uint64', type: 'uint64', indexed: true }, + { + name: 'index', + internalType: 'uint256', + type: 'uint256', + indexed: false, + }, + ], + name: 'CommandFailed', + }, { type: 'event', anonymous: false, @@ -14414,6 +14424,15 @@ export const watchGatewayAgentFundsWithdrawnEvent = eventName: 'AgentFundsWithdrawn', }) +/** + * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"CommandFailed"` + */ +export const watchGatewayCommandFailedEvent = + /*#__PURE__*/ createWatchContractEvent({ + abi: gatewayAbi, + eventName: 'CommandFailed', + }) + /** * Wraps __{@link watchContractEvent}__ with `abi` set to __{@link gatewayAbi}__ and `eventName` set to `"Deposited"` */