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

Issue with test runtimes generating multiple runtimes #71

Closed
chevdor opened this issue Sep 18, 2023 · 0 comments
Closed

Issue with test runtimes generating multiple runtimes #71

chevdor opened this issue Sep 18, 2023 · 0 comments

Comments

@chevdor
Copy link
Contributor

chevdor commented Sep 18, 2023

srtool/scripts/build

Lines 124 to 127 in 5101648

fi
WASM=`find "target/srtool/$PROFILE/wbuild/$PACKAGE" -type f -name "*.compact.wasm"`
Z_WASM=`find "target/srtool/$PROFILE/wbuild/$PACKAGE" -type f -name "*.compact.compressed.wasm"`
popd > /dev/null || exit 1

The SDK repo contains a few test runtimes:

  • substrate-test
  • polkadot-test
  • cumulus-test

While polkadot-test builds OK, the other fails due to the fact that they use the wasmbuilder to build not one but several runtimes.

The srtool script then finds the wrong one and fails.

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