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

Commit fbe750d

Browse files
author
Marko Boben
committed
Change of default attestors addresses
1 parent 2c35362 commit fbe750d

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

avalanchego/coreth/core/keeper.go

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ func isPrioritisedSubmitterContract(chainID *big.Int, to *common.Address, blockT
8989
return false
9090
case chainID.Cmp(params.SongbirdChainID) == 0:
9191
return *to == prioritisedSubmitterContractAddressSongbird &&
92-
blockTime.Cmp(submitterContractActivationTimeSongbird) >= 0
92+
blockTime.Cmp(submitterContractActivationTimeSongbird) > 0
9393
case chainID.Cmp(params.CostonChainID) == 0:
9494
return *to == prioritisedSubmitterContractAddressCoston &&
95-
blockTime.Cmp(submitterContractActivationTimeCoston) >= 0
95+
blockTime.Cmp(submitterContractActivationTimeCoston) > 0
9696
default:
9797
return false
9898
}
@@ -109,13 +109,6 @@ func IsPrioritisedContractCall(chainID *big.Int, to *common.Address, ret []byte,
109109
}
110110
}
111111

112-
// func GetPrioritisedFTSOContract(blockTime *big.Int) string {
113-
// switch {
114-
// default:
115-
// return "0x1000000000000000000000000000000000000003"
116-
// }
117-
// }
118-
119112
func GetMaximumMintRequest(blockNumber *big.Int) *big.Int {
120113
switch {
121114
default:

avalanchego/coreth/core/state_connector.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,18 @@ func GetDefaultAttestors(chainID *big.Int, blockTime *big.Int) []common.Address
120120
switch {
121121
case chainID.Cmp(songbirdChainID) == 0:
122122
switch {
123+
case blockTime.Cmp(submitterContractActivationTimeSongbird) > 0:
124+
return []common.Address{
125+
common.HexToAddress("0x2D3e7e4b19bDc920fd9C57BD3072A31F5a59FeC8"),
126+
common.HexToAddress("0x442DD539Fe78D43A1a9358FF3460CfE63e2bC9CC"),
127+
common.HexToAddress("0x49893c5Dfc035F4eE4E46faC014f6D4bC80F7f92"),
128+
common.HexToAddress("0x5D2f75392DdDa69a2818021dd6a64937904c8352"),
129+
common.HexToAddress("0x6455dC38fdF739b6fE021b30C7D9672C1c6DEb5c"),
130+
common.HexToAddress("0x808441Ec3Fa1721330226E69527Bc160D8d9386a"),
131+
common.HexToAddress("0x823B0f5c7758E9d3bE55bA1EA840E29ccd5D5CcB"),
132+
common.HexToAddress("0x85016969b9eBDB8977975a4743c9FCEeabCEAf8A"),
133+
common.HexToAddress("0x8A3D627D86A81F5D21683F4963565C63DB5e1309"),
134+
}
123135
case blockTime.Cmp(songbirdOct22ForkTime) > 0:
124136
return []common.Address{
125137
common.HexToAddress("0x2D3e7e4b19bDc920fd9C57BD3072A31F5a59FeC8"),

0 commit comments

Comments
 (0)