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

GetPool() works with mock pools / Testcases for Inactive pool #3181

Closed

Conversation

pysel
Copy link
Member

@pysel pysel commented Oct 30, 2022

(not yet) Closes: #3154

Brief changes:
I brought back the test which was removed in this pr. Did a little refactoring of existing logic to match new TraditionalAMM interface. Also, registered MockPoolI to be of type TraditionalAMM.

What I got when tried to run a test:
An error related to protobuf. panic: protobuf tag not enough fields in MockPoolI.ctrl. (To reproduce please clone this and run TestInactivePoolFreezeSwaps in game/keeeper/swap_test.go). My guess, well, it happens because we do not have tags of MockPoolI in photo files, but I currently do not know how to solve this.

Any help would be really appreciated! Thanks in advance

@github-actions github-actions bot added C:x/concentrated-liquidity C:x/gamm Changes, features and bugs related to the gamm module. C:x/swaprouter labels Oct 30, 2022
@pysel
Copy link
Member Author

pysel commented Nov 5, 2022

closing this due to occurred bug

@pysel pysel closed this Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:x/concentrated-liquidity C:x/gamm Changes, features and bugs related to the gamm module. C:x/swaprouter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant