Skip to content

Commit 3ed4cce

Browse files
authored
set SystemStakingV3 (#4650)
1 parent 3e18594 commit 3ed4cce

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

blockchain/genesis/genesis.go

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,17 @@ func defaultConfig() Genesis {
9595
SystemStakingContractHeight: 24486464,
9696
SystemStakingContractV2Address: "io13mjjr5shj4mte39axwsqjp8fdggk0qzjhatprp", // https://iotexscan.io/tx/b838b7a7c95e511fd8b256c5cbafde0547a72215d682eb60668d1b475a1beb70
9797
SystemStakingContractV2Height: 30934838,
98-
// TODO: update the address and height after the v3 contract is deployed
99-
SystemStakingContractV3Address: "",
100-
SystemStakingContractV3Height: 90934838,
101-
NativeStakingContractAddress: "io1xpq62aw85uqzrccg9y5hnryv8ld2nkpycc3gza",
102-
VoteThreshold: "100000000000000000000",
103-
StakingContractAddress: "0x87c9dbff0016af23f5b1ab9b8e072124ab729193",
104-
SelfStakingThreshold: "1200000000000000000000000",
105-
ScoreThreshold: "2000000000000000000000000",
106-
RegisterContractAddress: "0x95724986563028deb58f15c5fac19fa09304f32d",
107-
GravityChainStartHeight: 7614500,
108-
GravityChainHeightInterval: 100,
109-
Delegates: []Delegate{},
98+
SystemStakingContractV3Address: "io1vkcvq4ywarvfj4u9zwlqedfsttalq55jmtmqcu", // https://iotexscan.io/tx/0261599524be26cd0a5bdfffc4df1316b244306b4d31488bf60d3f6cbfa6722e
99+
SystemStakingContractV3Height: 36726575,
100+
NativeStakingContractAddress: "io1xpq62aw85uqzrccg9y5hnryv8ld2nkpycc3gza",
101+
VoteThreshold: "100000000000000000000",
102+
StakingContractAddress: "0x87c9dbff0016af23f5b1ab9b8e072124ab729193",
103+
SelfStakingThreshold: "1200000000000000000000000",
104+
ScoreThreshold: "2000000000000000000000000",
105+
RegisterContractAddress: "0x95724986563028deb58f15c5fac19fa09304f32d",
106+
GravityChainStartHeight: 7614500,
107+
GravityChainHeightInterval: 100,
108+
Delegates: []Delegate{},
110109
},
111110
Rewarding: Rewarding{
112111
InitBalanceStr: unit.ConvertIotxToRau(200000000).String(),

0 commit comments

Comments
 (0)