From 0c7252b2e7dbb81ec3facfa2506d1496e0aea755 Mon Sep 17 00:00:00 2001 From: Supanat Potiwarakorn Date: Mon, 22 Apr 2024 14:48:56 +0700 Subject: [PATCH] fix non-deterministic spend limit test --- x/smart-account/authenticator/spend_limits_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/smart-account/authenticator/spend_limits_test.go b/x/smart-account/authenticator/spend_limits_test.go index 83849ec598e..2d1d9f48e89 100644 --- a/x/smart-account/authenticator/spend_limits_test.go +++ b/x/smart-account/authenticator/spend_limits_test.go @@ -281,7 +281,7 @@ func (s *SpendLimitAuthenticatorTest) TestSpendLimit() { s.Require().Contains( err.Error(), fmt.Sprintf( - "Current time %d.%d not within time limit None - %s.%s: execute wasm contract failed", + "Current time %d.%09d not within time limit None - %s.%s: execute wasm contract failed", s.Ctx.BlockTime().Unix(), s.Ctx.BlockTime().Nanosecond(), endTimeSecsStr, endTimeNanosStr, ),