Skip to content

Conversation

@ptrus
Copy link
Member

@ptrus ptrus commented Jan 12, 2026

No description provided.

@ptrus ptrus force-pushed the ptrus/fix/consensus-events-type branch 2 times, most recently from 1051778 to 7dc5144 Compare January 12, 2026 09:59
@ptrus ptrus force-pushed the ptrus/fix/consensus-events-type branch from 7dc5144 to b8bfdf2 Compare January 12, 2026 10:04
@ptrus ptrus requested a review from Copilot January 12, 2026 10:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request fixes two bugs in SQL queries: one affecting how charged fees are calculated for Oasis-encoded Ethereum transactions, and another fixing an edge case in consensus event queries.

Changes:

  • Updated charged fee calculation to properly handle Oasis-encoded EVM transactions by checking method names
  • Fixed JOIN condition for events_related_accounts to include event type, preventing incorrect event matches

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
storage/client/queries/queries.go Fixed charged_fee calculation to include EVM methods check and added type field to events_related_accounts JOIN
.changelog/1234.bugfix.1.md Documents the charged fee fix for Oasis-encoded ETH transactions
.changelog/1234.bugfix.2.md Documents the consensus events JOIN fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ptrus ptrus merged commit 5911710 into main Jan 12, 2026
26 checks passed
@ptrus ptrus deleted the ptrus/fix/consensus-events-type branch January 12, 2026 10:45
@matevz matevz linked an issue Jan 12, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect charged_fee on some sapphire transactions

2 participants