diff --git a/pool/_helper_test.gno b/pool/_helper_test.gno index ce061a777..8deb8863e 100644 --- a/pool/_helper_test.gno +++ b/pool/_helper_test.gno @@ -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") } diff --git a/pool/gno.mod b/pool/gno.mod index a4197a6cc..3c88fce34 100644 --- a/pool/gno.mod +++ b/pool/gno.mod @@ -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 -)