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-2023 chore: update gno.mod and use getter function in test code #426

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pool/_helper_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ func InitialisePoolTest(t *testing.T) {
std.TestSetOrigCaller(users.Resolve(admin))
TokenApprove(t, gnsPath, admin, pool, maxApprove)
poolPath := GetPoolPath(wugnotPath, gnsPath, fee3000)
_, exist := pools[poolPath]
if !exist {
if !DoesPoolPathExist(poolPath) {
CreatePool(wugnotPath, gnsPath, fee3000, "79228162514264337593543950336")
}

Expand Down
13 changes: 0 additions & 13 deletions pool/gno.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
module gno.land/r/gnoswap/v1/pool

require (
gno.land/p/demo/json v0.0.0-latest
gno.land/p/demo/ufmt v0.0.0-latest
gno.land/p/demo/users v0.0.0-latest
gno.land/p/gnoswap/int256 v0.0.0-latest
gno.land/p/gnoswap/pool v0.0.0-latest
gno.land/p/gnoswap/uint256 v0.0.0-latest
gno.land/r/gnoswap/v1/common v0.0.0-latest
gno.land/r/gnoswap/v1/consts v0.0.0-latest
gno.land/r/gnoswap/v1/emission v0.0.0-latest
gno.land/r/gnoswap/v1/gns v0.0.0-latest
)
Loading