-
Notifications
You must be signed in to change notification settings - Fork 1
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-1838 fix: test errors are fixed #422
Conversation
onlyhyde
commented
Dec 6, 2024
- Integrate helper functions for tests
- Change file extensions to prevent test code in the test folder from being executed
- Fixing failure errors due to code integration
- Known issue : Fixed additional test failure case related to getter
- Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter
@r3v4s |
With the additional commit from @r3v4s , all test code will pass when the current PR is applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Just simple question,
Can we make users.Resolve(admin)
it as var or const ??
I really don't see pros for keep resolving AddressOrName type to address.
* GSW-1838 fix: test errors are fixed - Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter * fix: remove time compare in unit test * fix: do not setup data in init * test: pool manger testcase --------- Co-authored-by: n3wbie <[email protected]>
* GSW-1838 fix: test errors are fixed - Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter * fix: remove time compare in unit test * fix: do not setup data in init * test: pool manger testcase --------- Co-authored-by: n3wbie <[email protected]>
* GSW-1838 fix: test errors are fixed - Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter * fix: remove time compare in unit test * fix: do not setup data in init * test: pool manger testcase --------- Co-authored-by: n3wbie <[email protected]>
* GSW-1838 refactor: use grc20reg - use gno's grc20reg realm to support dynamic token transfer in pool * GSW-1838 feat: grc20reg - replace previous token_register to latest grc20reg * feat: update grc20 spec for grc20reg * hotfix: update bar token spec * feat: get token object from `grc20-reg` in `common` * fix: typo * chore: remove grc20reg - it's been merged into master of gnolang/gno * feat: get `token` and `teller` object from grc20reg * test: txtar for approve & transferfrom using grc20reg * feat: use teller to transfer token * feat: IsRegistered() to check if token is registered or not * refactor: remove old token_register * chore: rename teller * feat: guard logic to see if token is registered * feat: MustRegistered in common - if token is not registered, it will panic. * chore: rename * GSW-1838 fix: test errors are fixed (#422) * GSW-1838 fix: test errors are fixed - Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter * fix: remove time compare in unit test * fix: do not setup data in init * test: pool manger testcase --------- Co-authored-by: n3wbie <[email protected]> * GSW-1838 refactor: use grc20reg - use gno's grc20reg realm to support dynamic token transfer in pool * fix: gno.mod tidy * fix: missing guard logic for HandleWithdrawalFee * fix: failing testcase * fix: tc * feat: use teller to transfer/transferfrom * test: fix mocking old functions * test: remove hardcoded value * test: detail error message * fix: typo * remove: duplicate token register check * fix: typo * refactor: duplicate token register check - GetPoolPath has check function --------- Co-authored-by: 0xTopaz <[email protected]> Co-authored-by: 0xTopaz <[email protected]>