Skip to content

Commit 2122a3a

Browse files
authored
[QoS] Updating Service Configs (#461)
- Remove `evmos` from `qos_service_configs` - Add archival checks for `hyperliquid` and `unichain` - Ref for adding archival checks: https://path.grove.city/learn/qos/adding_new_archival?_highlight=adding&_highlight=arc
1 parent e9b6401 commit 2122a3a

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

config/service_qos_config.go

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/buildwithgrove/path/qos/solana"
1010
)
1111

12-
// NOTE: Service ID list last updated 2025/04/10
12+
// How to add archival checks: https://path.grove.city/learn/qos/adding_new_archival
1313

1414
// IMPORTANT: PATH requires service IDs to be registered here for Quality of Service (QoS) endpoint checks.
1515
// Unregistered services use NoOp QoS type with random endpoint selection and no monitoring.
@@ -638,11 +638,6 @@ var shannonServices = []ServiceQoSConfig{
638638

639639
// *** EVM Services (Non-Archival) ***
640640

641-
// Evmos
642-
evm.NewEVMServiceQoSConfig("evmos", "0x2329", nil, map[sharedtypes.RPCType]struct{}{
643-
sharedtypes.RPCType_JSON_RPC: {},
644-
}),
645-
646641
// Fraxtal
647642
evm.NewEVMServiceQoSConfig("fraxtal", "0xfc", nil, map[sharedtypes.RPCType]struct{}{
648643
sharedtypes.RPCType_JSON_RPC: {},
@@ -686,28 +681,27 @@ var shannonServices = []ServiceQoSConfig{
686681

687682
// Hyperliquid
688683
evm.NewEVMServiceQoSConfig("hyperliquid", "0x3e7",
689-
nil,
690-
// TODO(@olshansk): Add archival check config and test locally
691-
// evm.NewEVMArchivalCheckConfig(
692-
// // https://app.hyperliquid.xyz/explorer/address/0x162cc7c861ebd0c06b3d72319201150482518185
693-
// "0x162cc7c861ebd0c06b3d72319201150482518185",
694-
// // Contract start block
695-
// ???,
696-
// ),
684+
evm.NewEVMArchivalCheckConfig(
685+
// https://app.hyperliquid.xyz/explorer/address/0x162cc7c861ebd0c06b3d72319201150482518185
686+
// https://hypurrscan.io/address/0x162cc7c861ebd0c06b3d72319201150482518185
687+
"0x162cc7c861ebd0c06b3d72319201150482518185",
688+
// First block (649106292) taken from this post: https://x.com/Crypto_Noddy/status/1943780258370428938:
689+
// Adding 1_000 blocks as a buffer for the archival check baseline.
690+
649_107_292,
691+
),
697692
map[sharedtypes.RPCType]struct{}{
698693
sharedtypes.RPCType_JSON_RPC: {},
699694
}),
700695

701696
// Unichain
702697
evm.NewEVMServiceQoSConfig("unichain", "0x82",
703-
nil,
704-
// TODO(@olshansk): Add archival check config and test locally
705-
// evm.NewEVMArchivalCheckConfig(
706-
// // https://unichain.blockscout.com/
707-
// "0x0000000000000000000000000000000000000000",
708-
// // Contract start block
709-
// ???,
710-
// ),
698+
evm.NewEVMArchivalCheckConfig(
699+
// https://unichain.blockscout.com/address/0x1F98400000000000000000000000000000000004
700+
"0x1F98400000000000000000000000000000000004",
701+
// Below is not the first block, but one that is sufficiently long ago for archival check baseline.
702+
// https://unichain.blockscout.com/address/0x1F98400000000000000000000000000000000004?tab=txs&page=100000
703+
21_495_984,
704+
),
711705
map[sharedtypes.RPCType]struct{}{
712706
sharedtypes.RPCType_JSON_RPC: {},
713707
},

0 commit comments

Comments
 (0)