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

chore(chain): update spec to v1.5 #3692

Draft
wants to merge 2 commits into
base: development
Choose a base branch
from
Draft

chore(chain): update spec to v1.5 #3692

wants to merge 2 commits into from

Conversation

q9f
Copy link
Contributor

@q9f q9f commented Jan 15, 2024

@dimartiro
Copy link
Contributor

Hey @q9f I been checking the CI errors and I found this:

The spec is invalid, you have to execute this command to generate the right westend-dev-spec.json. More details here :

gossamer import-runtime --chain chain/westend/genesis.json --wasm-file westend_runtime.compact.compressed.wasm > chain/westend-dev/westend-dev-spec.json

I've been trying that and I found an issue executing that command, we can bypass the issue adding the following lines here :

chainSpec.Genesis.Runtime = &genesis.Runtime{
   System: &genesis.System{},
}

Even using the right spec I'm having this error now:

creating new runtime instance: \"ext_crypto_ecdsa_generate_version_1\" is not exported in module

I think we have to add all missing runtime exports in our test runtime here

@q9f q9f added S-runtime issues related to the lib/runtime package. A-blocked issue or PR is blocked until something else changes. labels Jan 16, 2024
@dimartiro
Copy link
Contributor

dimartiro commented Jan 17, 2024

I've been trying that and I found an issue executing that command, we can bypass the issue adding the following lines here :

chainSpec.Genesis.Runtime = &genesis.Runtime{
   System: &genesis.System{},
}

I opened this quick PR to solve that issue

@q9f q9f marked this pull request as draft January 17, 2024 15:13
@q9f
Copy link
Contributor Author

q9f commented Jan 17, 2024

Thanks for the comments. I'll try to properly generate the chain specs again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blocked issue or PR is blocked until something else changes. S-runtime issues related to the lib/runtime package.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants