diff --git a/build/params_butterfly.go b/build/params_butterfly.go index 835c7dc7a..14b885e5f 100644 --- a/build/params_butterfly.go +++ b/build/params_butterfly.go @@ -47,6 +47,8 @@ func init() { SetAddressNetwork(address.Testnet) Devnet = true + + BuildType = BuildButterflynet } const BlockDelaySecs = uint64(builtin2.EpochDurationSeconds) diff --git a/build/params_nerpanet.go b/build/params_nerpanet.go index 8879d01b5..8e18216db 100644 --- a/build/params_nerpanet.go +++ b/build/params_nerpanet.go @@ -67,6 +67,8 @@ func init() { //miner.WPoStChallengeLookback = abi.ChainEpoch(2) Devnet = false + + BuildType = BuildNerpanet } const BlockDelaySecs = uint64(builtin2.EpochDurationSeconds) diff --git a/build/version.go b/build/version.go index 4e155c98a..eb98c4bfc 100644 --- a/build/version.go +++ b/build/version.go @@ -6,12 +6,14 @@ var CurrentCommit string var BuildType int const ( - BuildDefault = 0 - BuildMainnet = 0x1 - Build2k = 0x2 - BuildDebug = 0x3 - BuildCalibnet = 0x4 - BuildInteropnet = 0x5 + BuildDefault = 0 + BuildMainnet = 0x1 + Build2k = 0x2 + BuildDebug = 0x3 + BuildCalibnet = 0x4 + BuildInteropnet = 0x5 + BuildNerpanet = 0x6 + BuildButterflynet = 0x7 ) func buildType() string { @@ -28,6 +30,10 @@ func buildType() string { return "+calibnet" case BuildInteropnet: return "+interopnet" + case BuildNerpanet: + return "+nerpanet" + case BuildButterflynet: + return "+butterflynet" default: return "+huh?" }