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(gnoclient): Return error when getting keypair information #2300

Merged
merged 26 commits into from
Jun 20, 2024

Conversation

linhpn99
Copy link
Contributor

@linhpn99 linhpn99 commented Jun 7, 2024

Relate to #2133

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: xxx message 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.

@github-actions github-actions bot added the 📦 ⛰️ gno.land Issues or PRs gno.land package related label Jun 7, 2024
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

Attention: Patch coverage is 44.44444% with 15 lines in your changes missing coverage. Please review.

Project coverage is 54.68%. Comparing base (eef0039) to head (61a2706).

Files Patch % Lines
gno.land/pkg/gnoclient/client_txs.go 50.00% 5 Missing and 5 partials ⚠️
gno.land/pkg/gnoclient/signer.go 28.57% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2300      +/-   ##
==========================================
- Coverage   54.68%   54.68%   -0.01%     
==========================================
  Files         582      582              
  Lines       78330    78345      +15     
==========================================
+ Hits        42838    42840       +2     
- Misses      32285    32293       +8     
- Partials     3207     3212       +5     
Flag Coverage Δ
gno.land 61.81% <44.44%> (-0.17%) ⬇️

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.

@linhpn99
Copy link
Contributor Author

linhpn99 commented Jun 7, 2024

This PR is not currently fully covered by unit tests, however I have added the necessary unit tests for signers in this PR #2209

Copy link
Contributor

@deelawn deelawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for removing the panic 😄

gno.land/pkg/gnoclient/mock_test.go Outdated Show resolved Hide resolved
@linhpn99 linhpn99 requested a review from moul June 19, 2024 02:32
@moul moul enabled auto-merge (squash) June 19, 2024 17:42
auto-merge was automatically disabled June 20, 2024 04:28

Head branch was pushed to by a user without write access

@linhpn99 linhpn99 requested review from a team as code owners June 20, 2024 04:28
@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Jun 20, 2024
@thehowl
Copy link
Member

thehowl commented Jun 20, 2024

@linhpn99 Please don't press the "re-request review" button if you've received approvals

@thehowl thehowl merged commit ed1601e into gnolang:master Jun 20, 2024
7 checks passed
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
…g#2300)

Relate to gnolang#2133

<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [ ] 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: xxx` message
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](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>

---------

Co-authored-by: Miloš Živković <milos@zmilos.com>
Co-authored-by: Manfred Touron <94029+moul@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 ⛰️ gno.land Issues or PRs gno.land package related 🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants