Skip to content

Backport release/v6.3: fix: suppress expected ErrAggregateVoteExist error logs in gasless metrics#2824

Merged
blindchaser merged 1 commit intorelease/v6.3from
backport-2796-to-release/v6.3
Feb 6, 2026
Merged

Backport release/v6.3: fix: suppress expected ErrAggregateVoteExist error logs in gasless metrics#2824
blindchaser merged 1 commit intorelease/v6.3from
backport-2796-to-release/v6.3

Conversation

@seidroid
Copy link

@seidroid seidroid bot commented Feb 6, 2026

Backport of #2796 to release/v6.3.

…trics (#2796)

## Describe your changes and provide context

When gasless metrics are evaluated after tx processing, oracle vote txs
return ErrAggregateVoteExist because the vote now exists in state. This
change treats ErrAggregateVoteExist as a signal that the tx was a
gasless oracle vote and skips gas metrics recording, while still logging
other unexpected errors.

## Testing performed to validate your change

(cherry picked from commit b731c2c)
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedFeb 6, 2026, 4:30 PM

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 12.50000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.37%. Comparing base (4436bed) to head (27d69b3).
⚠️ Report is 1 commits behind head on release/v6.3.

Files with missing lines Patch % Lines
app/app.go 12.50% 5 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           release/v6.3    #2824   +/-   ##
=============================================
  Coverage         43.36%   43.37%           
=============================================
  Files              1866     1866           
  Lines            155324   155330    +6     
=============================================
+ Hits              67358    67369   +11     
  Misses            81952    81952           
+ Partials           6014     6009    -5     
Flag Coverage Δ
sei-chain 42.52% <12.50%> (-0.03%) ⬇️
sei-cosmos 38.03% <ø> (-0.01%) ⬇️
sei-db 45.06% <ø> (+0.07%) ⬆️
sei-ibc-go 55.96% <ø> (ø)
sei-tendermint 47.53% <ø> (+0.02%) ⬆️
sei-wasmd 41.56% <ø> (+<0.01%) ⬆️
sei-wasmvm 39.88% <ø> (ø)

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

Files with missing lines Coverage Δ
app/app.go 75.23% <12.50%> (-0.15%) ⬇️

... and 16 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blindchaser blindchaser enabled auto-merge (squash) February 6, 2026 17:37
@blindchaser blindchaser merged commit cd224f6 into release/v6.3 Feb 6, 2026
53 of 57 checks passed
@blindchaser blindchaser deleted the backport-2796-to-release/v6.3 branch February 6, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants