From 1480500b0421a7e4f5c826bb561e8160547a251b Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Wed, 29 Nov 2023 12:27:17 -0500 Subject: [PATCH] fix: remove duplicate declaration --- test/util/testnode/config.go | 4 ++-- test/util/testnode/full_node_test.go | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/util/testnode/config.go b/test/util/testnode/config.go index 928973cad6..0f8f1f4504 100644 --- a/test/util/testnode/config.go +++ b/test/util/testnode/config.go @@ -15,8 +15,8 @@ import ( ) const ( - kibibyte = 1024 - mebibyte = kibibyte * 1024 + kibibyte = 1024 // bytes + mebibyte = 1_048_576 // bytes DefaultValidatorAccountName = "validator" ) diff --git a/test/util/testnode/full_node_test.go b/test/util/testnode/full_node_test.go index 7d040a07d6..fcfaca5a75 100644 --- a/test/util/testnode/full_node_test.go +++ b/test/util/testnode/full_node_test.go @@ -19,10 +19,6 @@ import ( coretypes "github.com/tendermint/tendermint/rpc/core/types" ) -const ( - kibibyte = 1024 -) - func TestIntegrationTestSuite(t *testing.T) { if testing.Short() { t.Skip("skipping full node integration test in short mode.")