Open Campus chain (#509)

This commit is contained in:
KirillPamPam
2024-06-17 15:56:09 +04:00
committed by GitHub
parent a6facbfd6f
commit 96f796978c
3 changed files with 20 additions and 2 deletions

View File

@@ -1539,3 +1539,21 @@ chain-settings:
code: ROOTSTOCK_TESTNET_CHAIN
grpcId: 10084
priority: 10
- id: open-campus-codex
label: Open Campus Codex
type: eth
settings:
expected-block-time: 20m
lags:
syncing: 10
lagging: 5
options:
validate-peers: false
fork-choice: quorum
chains:
- id: Sepolia
priority: 2
code: OPEN_CAMPUS_CODEX_SEPOLIA
short-names: [open-campus-codex-sepolia]
chain-id: 0xa045c
grpcId: 10085

View File

@@ -129,7 +129,7 @@ class GenericRpcConnector(
}
}
liveness = if (connectorType != RPC_ONLY && (chain == Chain.ALEPHZERO__SEPOLIA || chain == Chain.CONNEXT__SEPOLIA)) {
liveness = if (connectorType != RPC_ONLY && (chain == Chain.OPEN_CAMPUS_CODEX__SEPOLIA || chain == Chain.ALEPHZERO__SEPOLIA || chain == Chain.CONNEXT__SEPOLIA)) {
AlwaysHeadLivenessValidator()
} else {
when (connectorType) {