File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
2121 "github.com/ava-labs/avalanchego/ids"
2222 "github.com/ava-labs/avalanchego/snow/consensus/snowball"
2323 "github.com/ava-labs/avalanchego/subnets"
24+ "github.com/ava-labs/avalanchego/utils/constants"
2425)
2526
2627const chainConfigFilenameExtension = ".ex"
@@ -563,7 +564,6 @@ func TestGetStakingSigner(t *testing.T) {
563564
564565 tests := []struct {
565566 name string
566- viperKeys string
567567 config map [string ]any
568568 expectedSignerConfig any
569569 expectedErr error
@@ -622,6 +622,9 @@ func TestGetStakingSigner(t *testing.T) {
622622 require := require .New (t )
623623 v := setupViperFlags ()
624624
625+ // Avoid using the mainnet network name by default because not all
626+ // builds support mainnet configurations.
627+ v .Set (NetworkNameKey , constants .FujiName )
625628 for key , value := range tt .config {
626629 v .Set (key , value )
627630 }
You can’t perform that action at this time.
0 commit comments