From 9e3c78356da8870505f16d6aba1161690120ebf4 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 24 Sep 2024 10:46:35 -0700 Subject: [PATCH] never seal config in tests --- x/emissions/abci_test.go | 2 +- x/observer/types/message_vote_block_header_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/emissions/abci_test.go b/x/emissions/abci_test.go index 5d7c8e3725..26420231fd 100644 --- a/x/emissions/abci_test.go +++ b/x/emissions/abci_test.go @@ -312,7 +312,7 @@ func TestBeginBlocker(t *testing.T) { } func TestDistributeObserverRewards(t *testing.T) { - sdkconfig.SetDefault(true) + sdkconfig.SetDefault(false) k, ctx, _, _ := keepertest.EmissionsKeeper(t) observerSet := sample.ObserverSet(4) diff --git a/x/observer/types/message_vote_block_header_test.go b/x/observer/types/message_vote_block_header_test.go index 1af4e79697..9d5d0d7974 100644 --- a/x/observer/types/message_vote_block_header_test.go +++ b/x/observer/types/message_vote_block_header_test.go @@ -18,7 +18,7 @@ import ( ) func TestMsgVoteBlockHeader_ValidateBasic(t *testing.T) { - sdkconfig.SetDefault(true) + sdkconfig.SetDefault(false) var header ethtypes.Header file, err := os.Open("../../../testutil/testdata/eth_header_18495266.json") require.NoError(t, err)