gno
gno copied to clipboard
feat: implement `genesis packages` command suite
Adds gnoland genesis packages ... command to manipulates the addpkg txs in genesis.json
add adds new package(s) from given dir(s)
clear clears all the addpkg transactions
list list pkgpaths of all the addpkg transactions
get get the addpkg transactions for given package path(s)
del deletes the given addpkg transaction(s)
Related: #1952
Contributors' checklist...
- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a
BREAKING CHANGE: xxxmessage was included in the description - [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to generated graphs, if any. More info here.
Codecov Report
Attention: Patch coverage is 76.25000% with 19 lines in your changes are missing coverage. Please review.
Project coverage is 48.40%. Comparing base (
edb321f) to head (9d788e8).
Additional details and impacted files
@@ Coverage Diff @@
## master #1988 +/- ##
==========================================
- Coverage 54.64% 48.40% -6.25%
==========================================
Files 578 411 -167
Lines 77870 62408 -15462
==========================================
- Hits 42551 30207 -12344
+ Misses 32149 29684 -2465
+ Partials 3170 2517 -653
| Flag | Coverage Δ | |
|---|---|---|
| contribs/gnodev | ? |
|
| contribs/gnofaucet | ? |
|
| contribs/gnokeykc | ? |
|
| contribs/gnomd | ? |
|
| gno.land | 61.97% <76.25%> (+0.33%) |
:arrow_up: |
| gnovm | ? |
|
| misc/autocounterd | ? |
|
| misc/genproto | ? |
|
| misc/genstd | ? |
|
| misc/goscan | ? |
|
| misc/logos | ? |
|
| misc/loop | ? |
|
| tm2 | ? |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zivkovicmilos I have applied the changes as requested
Added these subcommands to genesis txs:
generate generates addpkg txs from dir and add them to genesis.json
clear clears all the transactions from the genesis.json
Closing in favor of https://github.com/gnolang/gno/pull/2327