Files
lotus/build/buildconstants/params_interop_test.go
Masih H. Derkani a116278c98 Set address current network for non-mainnet since default is changed (#12574)
Default `address.CurrentNetwork` was changed in an upstream dependency.
Update the build constants for non-mainnet to explicitly set it to
`Testnet`.

Add tests to assert it.
2024-10-10 15:48:03 +01:00

17 lines
273 B
Go

//go:build interopnet
// +build interopnet
package buildconstants
import (
"testing"
"github.com/stretchr/testify/require"
"github.com/filecoin-project/go-address"
)
func Test_NetworkName(t *testing.T) {
require.Equal(t, address.CurrentNetwork, address.Testnet)
}