Skip to content

Commit 285a434

Browse files
committed
upgrade: configure hermes upgrade on testnet2
1 parent 85323fe commit 285a434

File tree

8 files changed

+28
-48
lines changed

8 files changed

+28
-48
lines changed

.github/workflows/integration-test.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

core/systemcontracts/hermes/pigeon/BTCStakeContract

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

core/systemcontracts/hermes/pigeon/CandidateHubContract

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

core/systemcontracts/hermes/pigeon/ValidatorContract

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

core/systemcontracts/upgrade.go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -560,87 +560,87 @@ func init() {
560560
Configs: []*UpgradeConfig{
561561
{
562562
ContractAddr: common.HexToAddress(ValidatorContract),
563-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
563+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
564564
Code: hermes.PigeonValidatorContract,
565565
},
566566
{
567567
ContractAddr: common.HexToAddress(SlashContract),
568-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
568+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
569569
Code: hermes.PigeonSlashContract,
570570
},
571571
{
572572
ContractAddr: common.HexToAddress(SystemRewardContract),
573-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
573+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
574574
Code: hermes.PigeonSystemRewardContract,
575575
},
576576
{
577577
ContractAddr: common.HexToAddress(LightClientContract),
578-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
578+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
579579
Code: hermes.PigeonLightClientContract,
580580
},
581581
{
582582
ContractAddr: common.HexToAddress(RelayerHubContract),
583-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
583+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
584584
Code: hermes.PigeonRelayerHubContract,
585585
},
586586
{
587587
ContractAddr: common.HexToAddress(CandidateHubContract),
588-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
588+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
589589
Code: hermes.PigeonCandidateHubContract,
590590
},
591591
{
592592
ContractAddr: common.HexToAddress(GovHubContract),
593-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
593+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
594594
Code: hermes.PigeonGovHubContract,
595595
},
596596
{
597597
ContractAddr: common.HexToAddress(PledgeCandidateContract),
598-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
598+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
599599
Code: hermes.PigeonPledgeCandidateContract,
600600
},
601601
{
602602
ContractAddr: common.HexToAddress(BurnContract),
603-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
603+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
604604
Code: hermes.PigeonBurnContract,
605605
},
606606
{
607607
ContractAddr: common.HexToAddress(FoundationContract),
608-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
608+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
609609
Code: hermes.PigeonFoundationContract,
610610
},
611611
{
612612
ContractAddr: common.HexToAddress(StakeHubContract),
613-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
613+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
614614
Code: hermes.PigeonStakeHubContract,
615615
},
616616
{
617617
ContractAddr: common.HexToAddress(CoreAgentContract),
618-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
618+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
619619
Code: hermes.PigeonCoreAgentContract,
620620
},
621621
{
622622
ContractAddr: common.HexToAddress(HashAgentContract),
623-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
623+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
624624
Code: hermes.PigeonHashAgentContract,
625625
},
626626
{
627627
ContractAddr: common.HexToAddress(BTCAgentContract),
628-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
628+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
629629
Code: hermes.PigeonBTCAgentContract,
630630
},
631631
{
632632
ContractAddr: common.HexToAddress(BTCStakeContract),
633-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
633+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
634634
Code: hermes.PigeonBTCStakeContract,
635635
},
636636
{
637637
ContractAddr: common.HexToAddress(FeeMarketContract),
638-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
638+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
639639
Code: hermes.PigeonFeeMarketContract,
640640
},
641641
{
642642
ContractAddr: common.HexToAddress(ChannelContract),
643-
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55c040cc68598789111958020c1cba951752c999",
643+
CommitUrl: "https://github.com/coredao-org/core-genesis-contract/commit/55578e96d6083d942dd1613a4d44da749d68792b",
644644
Code: hermes.PigeonChannelContract,
645645
},
646646
},

params/config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ var (
212212
TheseusTime: newUint64(1748592000), // 2025-05-30 08:00:00 AM UTC
213213
CancunTime: newUint64(1748592000), // 2025-05-30 08:00:00 AM UTC
214214
TheseusFixTime: newUint64(1752652800), // 2025-07-16 08:00:00 AM UTC
215+
LubanTime: newUint64(1760515200),
216+
PlatoTime: newUint64(1760515200),
217+
BohrTime: newUint64(1760515200),
218+
PascalTime: newUint64(1760515200),
219+
PragueTime: newUint64(1760515200),
220+
HermesTime: newUint64(1760515200), // 2025-10-15 08:00:00 AM UTC
215221
Satoshi: &SatoshiConfig{
216222
Period: 3,
217223
Epoch: 200,

params/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
const (
2424
VersionMajor = 1 // Major version component of the current release
2525
VersionMinor = 0 // Minor version component of the current release
26-
VersionPatch = 20 // Patch version component of the current release
26+
VersionPatch = 21 // Patch version component of the current release
2727
VersionMeta = "" // Version metadata to append to the version string
2828
)
2929

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ package version
1919
const (
2020
Major = 1 // Major version component of the current release
2121
Minor = 0 // Minor version component of the current release
22-
Patch = 20 // Patch version component of the current release
22+
Patch = 21 // Patch version component of the current release
2323
Meta = "" // Version metadata to append to the version string
2424
)

0 commit comments

Comments
 (0)