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

GSW-1839 refactor: use avl.Tree in position #440

Merged
merged 16 commits into from
Dec 20, 2024
Merged

Conversation

r3v4s
Copy link
Member

@r3v4s r3v4s commented Dec 16, 2024

refactor

  1. use avl.Tree instead of map
  • kept unit64 type for tokenId (no need to use seqid type for it)

image

@r3v4s r3v4s requested review from notJoon and onlyhyde December 16, 2024 06:45
@r3v4s r3v4s self-assigned this Dec 16, 2024
@r3v4s r3v4s force-pushed the refactor/position-avl-tree branch from c1d66c2 to 2aa6c3a Compare December 16, 2024 06:48
@r3v4s r3v4s marked this pull request as ready for review December 16, 2024 07:04
Copy link
Member

@notJoon notJoon left a comment

Choose a reason for hiding this comment

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

It looks good. I added some comments for the documentation things, please check them.

position/_RPC_api.gno Outdated Show resolved Hide resolved
position/_RPC_api.gno Outdated Show resolved Hide resolved
position/_RPC_api.gno Outdated Show resolved Hide resolved
position/position.gno Outdated Show resolved Hide resolved
position/position.gno Outdated Show resolved Hide resolved
position/position.gno Outdated Show resolved Hide resolved
notJoon
notJoon previously approved these changes Dec 17, 2024
Copy link
Member

@notJoon notJoon left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@onlyhyde onlyhyde merged commit 808b22a into main Dec 20, 2024
2 checks passed
@onlyhyde onlyhyde deleted the refactor/position-avl-tree branch December 20, 2024 08:23
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.

4 participants