From 9579134117b7d9f89cd087ffedccdfec7623cc85 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 23 Sep 2024 11:54:26 +0800 Subject: [PATCH] chores: update pascal-hardfork contracts repo commit id --- core/systemcontracts/upgrade.go | 102 ++++++++++++++++---------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/core/systemcontracts/upgrade.go b/core/systemcontracts/upgrade.go index 16d750923..f9a776e24 100644 --- a/core/systemcontracts/upgrade.go +++ b/core/systemcontracts/upgrade.go @@ -797,87 +797,87 @@ func init() { Configs: []*UpgradeConfig{ { ContractAddr: common.HexToAddress(ValidatorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetValidatorContract, }, { ContractAddr: common.HexToAddress(SlashContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetSlashContract, }, { ContractAddr: common.HexToAddress(SystemRewardContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetSystemRewardContract, }, { ContractAddr: common.HexToAddress(LightClientContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetLightClientContract, }, { ContractAddr: common.HexToAddress(TokenHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetTokenHubContract, }, { ContractAddr: common.HexToAddress(RelayerIncentivizeContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetRelayerIncentivizeContract, }, { ContractAddr: common.HexToAddress(RelayerHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetRelayerHubContract, }, { ContractAddr: common.HexToAddress(GovHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetGovHubContract, }, { ContractAddr: common.HexToAddress(TokenManagerContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetTokenManagerContract, }, { ContractAddr: common.HexToAddress(CrossChainContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetCrossChainContract, }, { ContractAddr: common.HexToAddress(StakingContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetStakingContract, }, { ContractAddr: common.HexToAddress(StakeHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetStakeHubContract, }, { ContractAddr: common.HexToAddress(StakeCreditContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetStakeCreditContract, }, { ContractAddr: common.HexToAddress(GovernorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetGovernorContract, }, { ContractAddr: common.HexToAddress(GovTokenContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetGovTokenContract, }, { ContractAddr: common.HexToAddress(TimelockContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetTimelockContract, }, { ContractAddr: common.HexToAddress(TokenRecoverPortalContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.MainnetTokenRecoverPortalContract, }, }, @@ -888,87 +888,87 @@ func init() { Configs: []*UpgradeConfig{ { ContractAddr: common.HexToAddress(ValidatorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelValidatorContract, }, { ContractAddr: common.HexToAddress(SlashContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelSlashContract, }, { ContractAddr: common.HexToAddress(SystemRewardContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelSystemRewardContract, }, { ContractAddr: common.HexToAddress(LightClientContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelLightClientContract, }, { ContractAddr: common.HexToAddress(TokenHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelTokenHubContract, }, { ContractAddr: common.HexToAddress(RelayerIncentivizeContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelRelayerIncentivizeContract, }, { ContractAddr: common.HexToAddress(RelayerHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelRelayerHubContract, }, { ContractAddr: common.HexToAddress(GovHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelGovHubContract, }, { ContractAddr: common.HexToAddress(TokenManagerContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelTokenManagerContract, }, { ContractAddr: common.HexToAddress(CrossChainContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelCrossChainContract, }, { ContractAddr: common.HexToAddress(StakingContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelStakingContract, }, { ContractAddr: common.HexToAddress(StakeHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelStakeHubContract, }, { ContractAddr: common.HexToAddress(StakeCreditContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelStakeCreditContract, }, { ContractAddr: common.HexToAddress(GovernorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelGovernorContract, }, { ContractAddr: common.HexToAddress(GovTokenContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelGovTokenContract, }, { ContractAddr: common.HexToAddress(TimelockContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelTimelockContract, }, { ContractAddr: common.HexToAddress(TokenRecoverPortalContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.ChapelTokenRecoverPortalContract, }, }, @@ -979,87 +979,87 @@ func init() { Configs: []*UpgradeConfig{ { ContractAddr: common.HexToAddress(ValidatorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoValidatorContract, }, { ContractAddr: common.HexToAddress(SlashContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoSlashContract, }, { ContractAddr: common.HexToAddress(SystemRewardContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoSystemRewardContract, }, { ContractAddr: common.HexToAddress(LightClientContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoLightClientContract, }, { ContractAddr: common.HexToAddress(TokenHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoTokenHubContract, }, { ContractAddr: common.HexToAddress(RelayerIncentivizeContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoRelayerIncentivizeContract, }, { ContractAddr: common.HexToAddress(RelayerHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoRelayerHubContract, }, { ContractAddr: common.HexToAddress(GovHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoGovHubContract, }, { ContractAddr: common.HexToAddress(TokenManagerContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoTokenManagerContract, }, { ContractAddr: common.HexToAddress(CrossChainContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoCrossChainContract, }, { ContractAddr: common.HexToAddress(StakingContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoStakingContract, }, { ContractAddr: common.HexToAddress(StakeHubContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoStakeHubContract, }, { ContractAddr: common.HexToAddress(StakeCreditContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoStakeCreditContract, }, { ContractAddr: common.HexToAddress(GovernorContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoGovernorContract, }, { ContractAddr: common.HexToAddress(GovTokenContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoGovTokenContract, }, { ContractAddr: common.HexToAddress(TimelockContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoTimelockContract, }, { ContractAddr: common.HexToAddress(TokenRecoverPortalContract), - CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/9383bd923a85e5b7953d4e54ed15f060f7739889", + CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/4c03f8222f8ac13e3b6bd424e1235698282bb28d", Code: pascal.RialtoTokenRecoverPortalContract, }, },