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

Baedeker is broken with most recent Finney and Testnet #1114

Open
gztensor opened this issue Dec 23, 2024 · 0 comments
Open

Baedeker is broken with most recent Finney and Testnet #1114

gztensor opened this issue Dec 23, 2024 · 0 comments
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Dec 23, 2024

An attempt to build the chain spec fails with this error:

 WARN wasm-runtime: Cannot create a runtime error=Other("runtime requires function imports which are not present on the host: 'env:ext_host_calls_bls12_381_final_exponentiation_version_1', 'env:ext_host_calls_bls12_381_multi_miller_loop_version_1', 'env:ext_host_calls_bls12_381_mul_projective_g1_version_1', 'env:ext_host_calls_bls12_381_mul_projective_g2_version_1'")
thread 'tokio-runtime-worker' panicked at /Users/grigorizaitsev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chainql-core-0.4.6/src/wasm.rs:80:29:
metadata is implemented for substrate chains: RuntimeConstruction(Other("runtime requires function imports which are not present on the host: 'env:ext_host_calls_bls12_381_final_exponentiation_version_1', 'env:ext_host_calls_bls12_381_multi_miller_loop_version_1', 'env:ext_host_calls_bls12_381_mul_projective_g1_version_1', 'env:ext_host_calls_bls12_381_mul_projective_g2_version_1'"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
./up.sh: line 4: 13779 Abort trap: 6           RUST_LOG=info baedeker --spec=docker -J$BDK_DIR/vendor/ --generator=docker_compose=$BDK_DIR/.bdk-env --generator=docker_compose_discover=$BDK_DIR/.bdk-env/discover.env --secret=file=$BDK_DIR/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath $BDK_DIR/..) $@ $BDK_DIR/rewrites.jsonnet

This repository can be used to reproduce the error:
https://github.com/opentensor/baedeker-for-subtensor

@gztensor gztensor self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant