Skip to content

Commit

Permalink
never seal config in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Sep 24, 2024
1 parent 87f6474 commit ebd9d3e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion x/authority/types/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func TestGenesisState_Validate(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)

tests := []struct {
name string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func TestNewMsgMigrateERC20CustodyFunds_ValidateBasic(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)
tests := []struct {
name string
msg *types.MsgMigrateERC20CustodyFunds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func TestNewMsgUpdateERC20CustodyPauseStatus_ValidateBasic(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)
tests := []struct {
name string
msg *types.MsgUpdateERC20CustodyPauseStatus
Expand Down
2 changes: 1 addition & 1 deletion x/crosschain/types/message_update_tss_address_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestMessageUpdateTssAddress_ValidateBasic(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)
tests := []struct {
name string
msg *types.MsgUpdateTssAddress
Expand Down
2 changes: 1 addition & 1 deletion x/crosschain/types/message_whitelist_erc20_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestMsgWhitelistERC20_ValidateBasic(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)
tests := []struct {
name string
msg *types.MsgWhitelistERC20
Expand Down
2 changes: 1 addition & 1 deletion x/emissions/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion x/observer/types/message_vote_blame_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func TestNewMsgVoteBlameMsg_ValidateBasic(t *testing.T) {
sdkconfig.SetDefault(true)
sdkconfig.SetDefault(false)
tests := []struct {
name string
msg *types.MsgVoteBlame
Expand Down
2 changes: 1 addition & 1 deletion x/observer/types/message_vote_block_header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ebd9d3e

Please sign in to comment.