Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit 66bb8c6

Browse files
authored
params: add optimistic fast finality testnet configuration (#353)
This commit adds a Shillin hardfork on testnet to enable optimistic fast finality. The hardfork is scheduled around Sept 12 2023, 7:00 GMT+7 (https://saigon-app.roninchain.com/block/20268000)
1 parent 57f25f0 commit 66bb8c6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

genesis/testnet.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222
"consortiumV2Contracts": {
2323
"roninValidatorSet": "0x54B3AC74a90E64E8dDE60671b6fE8F8DDf18eC9d",
2424
"slashIndicator": "0xF7837778b6E180Df6696C8Fa986d62f8b6186752",
25-
"stakingContract": "0x9C245671791834daf3885533D24dce516B763B28"
25+
"stakingContract": "0x9C245671791834daf3885533D24dce516B763B28",
26+
"profileContract": "0x3b67c8D22a91572a6AB18acC9F70787Af04A4043",
27+
"finalityTracking": "0x41aCDFe786171824a037f2Cd6224c5916A58969a"
2628
},
2729
"puffyBlock": 12254000,
2830
"bubaBlock": 14260600,
29-
"olekBlock": 16849000
31+
"olekBlock": 16849000,
32+
"shillinBlock": 20268000
3033
},
3134
"alloc": {
3235
"0x0000000000000000000000000000000000000011": {

params/config.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ var (
281281
RoninTestnetRoninValidatorSetAddress = common.HexToAddress("0x54B3AC74a90E64E8dDE60671b6fE8F8DDf18eC9d")
282282
RoninTestnetSlashIndicatorAddress = common.HexToAddress("0xF7837778b6E180Df6696C8Fa986d62f8b6186752")
283283
RoninTestnetStakingContractAddress = common.HexToAddress("0x9C245671791834daf3885533D24dce516B763B28")
284+
RoninTestnetProfileContractAddress = common.HexToAddress("0x3b67c8D22a91572a6AB18acC9F70787Af04A4043")
285+
RoninTestnetFinalityTrackingAddress = common.HexToAddress("0x41aCDFe786171824a037f2Cd6224c5916A58969a")
284286

285287
RoninTestnetChainConfig = &ChainConfig{
286288
ChainID: big.NewInt(2021),
@@ -305,11 +307,14 @@ var (
305307
RoninValidatorSet: RoninTestnetRoninValidatorSetAddress,
306308
SlashIndicator: RoninTestnetSlashIndicatorAddress,
307309
StakingContract: RoninTestnetStakingContractAddress,
310+
ProfileContract: RoninTestnetProfileContractAddress,
311+
FinalityTracking: RoninTestnetFinalityTrackingAddress,
308312
},
309313
ConsortiumV2Block: big.NewInt(11706000),
310314
PuffyBlock: big.NewInt(12254000),
311315
BubaBlock: big.NewInt(14260600),
312316
OlekBlock: big.NewInt(16849000),
317+
ShillinBlock: big.NewInt(20268000),
313318
}
314319

315320
// GoerliTrustedCheckpoint contains the light client trusted checkpoint for the Görli test network.

0 commit comments

Comments
 (0)