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(gnokeykc): gnokeykc maketx {addpkg,call,run} missing because of tm2 separation (fixes #2373) #2375

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

grepsuzette
Copy link
Contributor

@grepsuzette grepsuzette commented Jun 18, 2024

Fixes #2373.

Seems gnokeykc was indirectly broken in #1483 (when tm2 was made completely independent from gno messages as addpkg).

gnokey now makes use of github.com/gnolang/gno/gno.land/pkg/keyscli and this PR proposes to use the same root cmd.

## keycli
`keycli` is an extension of `tm2/keys/client`, enhancing its functionality. It provides the following features:
- **addpkg**: Allows you to upload a new package to the blockchain.
- **run**: Execute Gno code by invoking the main() function from the target package.
- **call**: Executes a single function call within a Realm.
- **maketx**: Compose a transaction (tx) document to sign (and possibly broadcast).
---
Most of these features have been extracted from `tm2/keys/client` to ensure that `tm2` remains completely independent of `gnovm` and `gno.land`. For more detailed information regarding this change, please refer to [PR#1483](https://github.com/gnolang/gno/pull/1483)

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.68%. Comparing base (3901e7e) to head (31ea239).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2375      +/-   ##
==========================================
- Coverage   54.68%   54.68%   -0.01%     
==========================================
  Files         583      583              
  Lines       78503    78502       -1     
==========================================
- Hits        42928    42926       -2     
  Misses      32368    32368              
- Partials     3207     3208       +1     
Flag Coverage Δ
contribs/gnodev 23.81% <ø> (ø)
contribs/gnofaucet 14.46% <ø> (-0.86%) ⬇️
contribs/gnomd 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Status: In Review
Development

Successfully merging this pull request may close these issues.

contribs/gnokeykc has only tm2 features (missing thinkgs like maketx addpkg)
3 participants