Skip to content

Commit 83e3217

Browse files
committed
rebase v1.26
1 parent ac0d8de commit 83e3217

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

Diff for: build/params_force.go

+11-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var NetworkBundle = "testing"
2424
var BundleOverrides map[actorstypes.Version]string
2525
var ActorDebugging = true
2626

27-
const GenesisNetworkVersion = network.Version20
27+
const GenesisNetworkVersion = network.Version21
2828

2929
var UpgradeBreezeHeight = abi.ChainEpoch(-1)
3030

@@ -66,7 +66,11 @@ var UpgradeLightningHeight = abi.ChainEpoch(-22)
6666

6767
var UpgradeThunderHeight = abi.ChainEpoch(-23)
6868

69-
var UpgradeWatermelonHeight = abi.ChainEpoch(200)
69+
var UpgradeWatermelonHeight = abi.ChainEpoch(-24)
70+
71+
var UpgradeDragonHeight = abi.ChainEpoch(20)
72+
73+
var UpgradePhoenixHeight = UpgradeDragonHeight + 120
7074

7175
// This fix upgrade only ran on calibrationnet
7276
var UpgradeWatermelonFixHeight = abi.ChainEpoch(-100)
@@ -75,7 +79,8 @@ var UpgradeWatermelonFixHeight = abi.ChainEpoch(-100)
7579
var UpgradeWatermelonFix2Height = abi.ChainEpoch(-101)
7680

7781
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
78-
0: DrandMainnet,
82+
0: DrandMainnet,
83+
UpgradePhoenixHeight: DrandQuicknet,
7984
}
8085

8186
var SupportedProofTypes = []abi.RegisteredSealProof{
@@ -130,6 +135,7 @@ func init() {
130135
UpgradeHyggeHeight = getUpgradeHeight("LOTUS_HYGGE_HEIGHT", UpgradeHyggeHeight)
131136
UpgradeLightningHeight = getUpgradeHeight("LOTUS_LIGHTNING_HEIGHT", UpgradeLightningHeight)
132137
UpgradeThunderHeight = getUpgradeHeight("LOTUS_THUNDER_HEIGHT", UpgradeThunderHeight)
138+
UpgradeDragonHeight = getUpgradeHeight("LOTUS_DRAGON_HEIGHT", UpgradeDragonHeight)
133139

134140
BuildType |= BuildForce
135141

@@ -145,6 +151,8 @@ var BlockDelaySecs = uint64(30)
145151

146152
const PropagationDelaySecs = uint64(1)
147153

154+
var EquivocationDelaySecs = uint64(0)
155+
148156
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
149157
// which the miner is slashed
150158
//

Diff for: go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ require (
8080
github.com/hashicorp/raft-boltdb v0.0.0-20171010151810-6e5ba93211ea
8181
github.com/icza/backscanner v0.0.0-20210726202459-ac2ffc679f94
8282
github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab
83-
github.com/ipfs-force-community/sophon-auth v1.14.0
83+
github.com/ipfs-force-community/sophon-auth v1.15.0-rc1
8484
github.com/ipfs/bbloom v0.0.4
8585
github.com/ipfs/boxo v0.10.1
8686
github.com/ipfs/go-block-format v0.1.2
@@ -265,7 +265,7 @@ require (
265265
github.com/iancoleman/orderedmap v0.1.0 // indirect
266266
github.com/influxdata/influxdb-client-go/v2 v2.2.2 // indirect
267267
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
268-
github.com/ipfs-force-community/metrics v1.0.1-0.20231011024528-8c881d456601 // indirect
268+
github.com/ipfs-force-community/metrics v1.0.1-0.20231205060849-0b0d16ed0e8d // indirect
269269
github.com/ipfs/go-bitfield v1.1.0 // indirect
270270
github.com/ipfs/go-blockservice v0.5.1 // indirect
271271
github.com/ipfs/go-ipfs-blockstore v1.3.0 // indirect

Diff for: go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,10 @@ github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 h1:W9WBk7
763763
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo=
764764
github.com/ipfs-force-community/go-jsonrpc v0.1.9 h1:5QavBltfvV6fz/+EbYsCkVxJ1MSJncZm6YuPs1SLdZU=
765765
github.com/ipfs-force-community/go-jsonrpc v0.1.9/go.mod h1:jBSvPTl8V1N7gSTuCR4bis8wnQnIjHbRPpROol6iQKM=
766-
github.com/ipfs-force-community/metrics v1.0.1-0.20231011024528-8c881d456601 h1:zxKQ30KAD6KfvSFAx9tuqQXLDsEHyF+eVaUBXXYC2bU=
767-
github.com/ipfs-force-community/metrics v1.0.1-0.20231011024528-8c881d456601/go.mod h1:wM6EmkEcnJgWOFcVytgvK0u15awEmt8He0f2kAdsFDA=
768-
github.com/ipfs-force-community/sophon-auth v1.14.0 h1:ctBJ6UHkcytEzfVPgiiHo0cW4FGQrE7r1H3Um0FcHbo=
769-
github.com/ipfs-force-community/sophon-auth v1.14.0/go.mod h1:d6J6u3zyIwcEajRho5BhVBcoIChEf0K76wP4yJEfEhc=
766+
github.com/ipfs-force-community/metrics v1.0.1-0.20231205060849-0b0d16ed0e8d h1:U7aqH9MnV+HNErbZ4VNhr0tKk158GjTXvNfsj8UDZjI=
767+
github.com/ipfs-force-community/metrics v1.0.1-0.20231205060849-0b0d16ed0e8d/go.mod h1:wM6EmkEcnJgWOFcVytgvK0u15awEmt8He0f2kAdsFDA=
768+
github.com/ipfs-force-community/sophon-auth v1.15.0-rc1 h1:3SjqvJ65WEwcyEwerjXROEqewcM7UAFlKjARj2EEUNk=
769+
github.com/ipfs-force-community/sophon-auth v1.15.0-rc1/go.mod h1:6SYsc660EHHbU2VRVI3+dut0zQfvXy1+Sy/rAiJkl3c=
770770
github.com/ipfs/bbloom v0.0.1/go.mod h1:oqo8CVWsJFMOZqTglBG4wydCE4IQA/G2/SEofB0rjUI=
771771
github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs=
772772
github.com/ipfs/bbloom v0.0.4/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0=

Diff for: node/config/def.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func DefaultFullNode() *FullNode {
9494
SimultaneousTransfersForRetrieval: DefaultSimultaneousTransfers,
9595
},
9696
Chainstore: Chainstore{
97-
EnableSplitstore: true,
97+
EnableSplitstore: false,
9898
Splitstore: Splitstore{
9999
ColdStoreType: "discard",
100100
HotStoreType: "badger",

0 commit comments

Comments
 (0)