From 63f417280856ee1b050bec7cc45afa574981b57d Mon Sep 17 00:00:00 2001 From: mattverse Date: Wed, 28 Feb 2024 17:34:07 +0900 Subject: [PATCH] Cont fixing integration tests --- tests/integration/staking/keeper/deterministic_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/staking/keeper/deterministic_test.go b/tests/integration/staking/keeper/deterministic_test.go index b8b9d134196d..4f8b6e179a4c 100644 --- a/tests/integration/staking/keeper/deterministic_test.go +++ b/tests/integration/staking/keeper/deterministic_test.go @@ -854,9 +854,10 @@ func TestGRPCRedelegations(t *testing.T) { func TestGRPCParams(t *testing.T) { t.Parallel() f := initDeterministicFixture(t) + coinDenomRegex := `[a-zA-Z][a-zA-Z0-9/:._-]{2,127}` rapid.Check(t, func(rt *rapid.T) { - bondDenom := rapid.StringMatching(sdk.DefaultCoinDenomRegex()).Draw(rt, "bond-denom") + bondDenom := rapid.StringMatching(coinDenomRegex).Draw(rt, "bond-denom") params := stakingtypes.Params{ BondDenom: bondDenom, UnbondingTime: durationGenerator().Draw(rt, "duration"),