Skip to content

Commit

Permalink
GSW-2023 chore: update gno.mod and use getter function in test code (#…
Browse files Browse the repository at this point in the history
…426)

- remove require in gno.mod
- use getter function in test code
  • Loading branch information
onlyhyde authored Dec 10, 2024
1 parent 49eb03f commit c86dab4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
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
)

0 comments on commit c86dab4

Please sign in to comment.