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: update tx-archive usage in portal loop #2521

Merged
merged 5 commits into from
Jul 6, 2024

Conversation

zivkovicmilos
Copy link
Member

Description

This update bumps the portal loop to use the latest version of tx-archive (v0.3.0), and fixes a bug where
the tx-archiver would output stale Amino JSON transactions, that were not parsable using the gnoland genesis commands or helpers.

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.

@zivkovicmilos zivkovicmilos self-assigned this Jul 6, 2024
@zivkovicmilos zivkovicmilos requested review from moul and a team as code owners July 6, 2024 14:32
Copy link

codecov bot commented Jul 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.

Project coverage is 54.74%. Comparing base (1169658) to head (812c423).
Report is 2 commits behind head on master.

Files Patch % Lines
misc/loop/cmd/snapshotter.go 0.00% 10 Missing ⚠️
misc/loop/cmd/portal-loop.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2521      +/-   ##
==========================================
- Coverage   54.74%   54.74%   -0.01%     
==========================================
  Files         592      592              
  Lines       79197    79199       +2     
==========================================
  Hits        43359    43359              
- Misses      32568    32570       +2     
  Partials     3270     3270              
Flag Coverage Δ
contribs/gnodev 23.53% <ø> (ø)
contribs/gnofaucet 14.46% <ø> (ø)
contribs/gnokeykc 0.00% <ø> (ø)
contribs/gnomd 0.00% <ø> (ø)
gnovm 59.79% <ø> (ø)
misc/autocounterd 0.00% <ø> (ø)
misc/genproto 0.00% <ø> (ø)
misc/genstd 80.54% <ø> (ø)
misc/goscan 0.00% <ø> (ø)
misc/logos 17.38% <ø> (ø)
misc/loop 0.00% <0.00%> (ø)
tm2 54.44% <ø> (+0.06%) ⬆️

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.

Copy link
Member

@thehowl thehowl left a comment

Choose a reason for hiding this comment

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

Pre-approve for a swift merge, but tests are failing

misc/loop/go.mod Show resolved Hide resolved
@zivkovicmilos zivkovicmilos requested a review from a team as a code owner July 6, 2024 14:52
@zivkovicmilos zivkovicmilos merged commit 6a7e19f into master Jul 6, 2024
113 of 114 checks passed
@zivkovicmilos zivkovicmilos deleted the dev/zivkovicmilos/hotfix-archive-loop branch July 6, 2024 15:13
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
## Description

This update bumps the portal loop to use the latest version of
`tx-archive` (`v0.3.0`), and fixes a bug where
the tx-archiver would output stale Amino JSON transactions, that were
not parsable using the `gnoland genesis` commands or helpers.

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

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants