Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay v1.6.5: added support for bridge-hub-polkadot/1002005 #3015

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

bkontur
Copy link
Contributor

@bkontur bkontur commented Jun 28, 2024

Fix substrate-relayer for bridge-hub-polkadot where CheckMetadataHash was added to SignedExtra for upcoming upgrade: https://polkadot.subsquare.io/referenda/841.

Testing

Fellows bridges tests before:

2024-06-27 22:03:30        RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed
WASM backtrace:
error while executing at wasm backtrace:
    0: 0x6890d1 - rococo_runtime.wasm!rust_begin_unwind
    1: 0xe608 - rococo_runtime.wasm!core::panicking::panic_fmt::hb31b150f86091686
    2: 0x4fc4ce - rococo_runtime.wasm!TaggedTransactionQueue_validate_transaction: RuntimeApi, Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed\nWASM backtrace:\nerror while executing at wasm backtrace:\n    0: 0x6890d1 - rococo_runtime.wasm!rust_begin_unwind\n    1: 0xe608 - rococo_r…
2024-06-27 22:03:30             DRR: 1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed

After:

...

┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                           Test Results                                                            │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌──────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 6/28/2024, 12:12:12 PM       │ ✅ asset-hub-kusama-collator-1: run /home/ubuntu/local_bridge_testing/runtimes/integration-        │
│                              │ tests/bridges/environments/polkadot-kusama/helper.sh with "withdraw-reserve-assets-from-as         │
│                              │ set-hub-polkadot-local 3000000000000" within 120 seconds (5358ms)                                  │
└──────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
2024-06-28 12:12:12        API/INIT: RPC methods not decorated: chainHead_v1_body, chainHead_v1_call, chainHead_v1_continue, chainHead_v1_follow, chainHead_v1_header, chainHead_v1_stopOperation, chainHead_v1_storage, chainHead_v1_unfollow, chainHead_v1_unpin, transactionWatch_v1_submitAndWatch, transactionWatch_v1_unwatch, transaction_v1_broadcast, transaction_v1_stop
2024-06-28 12:12:12        API/INIT: statemine/1002005: Not decorating unknown runtime apis: 0xd7bdd8a272ca0d65/1
┌──────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 6/28/2024, 12:13:30 PM       │ ✅ asset-hub-kusama-collator-1: js-script /home/ubuntu/local_bridge_testing/downloads/polka        │
│                              │ dot-sdk/bridges/testing/framework/js-helpers/native-assets-balance-increased.js with "5Grw         │
│                              │ vaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY,2800000000000" within 300 seconds (78460m             │
│                              │ s)                                                                                                 │
└──────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Result: 2/2                                                                                                                       │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
exit code 0

@bkontur bkontur added the A-release A new relayer release label Jun 28, 2024
@bkontur
Copy link
Contributor Author

bkontur commented Jun 28, 2024

Finally, fellows tests passed

@bkontur bkontur merged commit 4e011c3 into master Jun 28, 2024
13 checks passed
@bkontur bkontur deleted the relay-1.6.5 branch June 28, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-release A new relayer release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants