Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

wasm trap: out of bounds memory access #14075

@yrong

Description

@yrong

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

https://substrate.stackexchange.com/questions/8347/is-it-safe-to-use-const-generic-structure-in-runtime-storage

rustc --version
rustc 1.67.0-nightly (96ddd32c4 2022-11-14)

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

Steps to reproduce

For test we embed our bridge pallet into forked cumulus and link it as submodule, so after clone the repo above just update submodule and benchmark the pallet with command as following:

git submodule update --init --recursive && cd cumulus && RUST_LOG=debug cargo run --release --bin polkadot-parachain --features runtime-benchmarks -- benchmark pallet --chain=bridge-hub-rococo-dev --pallet=snowbridge_ethereum_beacon_client --extrinsic="*" --execution=wasm --wasm-execution=compiled --steps 50 --repeat 20

or I can just provide an ubuntu EC2 instance setup ready if nessessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions