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

Fix(cli): import-runtime #3702

Merged
merged 5 commits into from
Jan 17, 2024
Merged

Fix(cli): import-runtime #3702

merged 5 commits into from
Jan 17, 2024

Conversation

dimartiro
Copy link
Contributor

@dimartiro dimartiro commented Jan 17, 2024

Changes

I started this PR to solve an issue we have while creating a spec using a custom runtime

Tests

One way to test it is trying to create a new spec file using a custom runtime, it failed with a nil pointer before this fix

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

Issues

Close #3701
Also related with #3679 and #3692

@q9f q9f added C-simple Minor changes changes, no additional research needed. Good first issue/review. S-runtime issues related to the lib/runtime package. labels Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (942febb) 50.55% compared to head (8c57caf) 50.57%.
Report is 1 commits behind head on development.

Additional details and impacted files
@@               Coverage Diff               @@
##           development    #3702      +/-   ##
===============================================
+ Coverage        50.55%   50.57%   +0.01%     
===============================================
  Files              229      229              
  Lines            28601    28605       +4     
===============================================
+ Hits             14460    14466       +6     
+ Misses           12620    12618       -2     
  Partials          1521     1521              

@dimartiro dimartiro changed the title Fix(cmd): import runtime Fix(cmd): import-runtime Jan 17, 2024
@dimartiro dimartiro added S-cli issue related to Gossamer CLI. and removed S-runtime issues related to the lib/runtime package. labels Jan 17, 2024
@dimartiro dimartiro changed the title Fix(cmd): import-runtime Fix(cli): import-runtime Jan 17, 2024
@dimartiro dimartiro merged commit e03fa13 into development Jan 17, 2024
24 checks passed
@dimartiro dimartiro deleted the diego/fix-import-runtime branch January 17, 2024 16:19
@dimartiro dimartiro self-assigned this Jan 18, 2024
Copy link

github-actions bot commented Mar 1, 2024

🎉 This PR is included in version 0.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

timwu20 pushed a commit that referenced this pull request Apr 18, 2024
timwu20 pushed a commit that referenced this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-cli issue related to Gossamer CLI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nil pointer trying to create a spec with a custom runtime
3 participants