Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: Fixing a bug in sort_storage_access_queries #106

Open
wants to merge 1 commit into
base: v1.4.1
Choose a base branch
from

Conversation

peinlcy
Copy link

@peinlcy peinlcy commented Mar 14, 2024

What ❔

Fix a bug in sort_storage_access_queries and simplified method implementation.

PS: This is an old pr, i recently merged the latest v1.4.1 branch.

Why ❔

There is a bug in the current method implementation. When sorting the sorted_storage_queries_with_extra_timestamp, the shard_id of a and b should be compared, but the current comparison is the shard_id of a and a self.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant