Skip to content

Commit

Permalink
Open Campus chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Кирилл committed Jun 17, 2024
1 parent a6facbf commit fc48501
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion emerald-grpc
18 changes: 18 additions & 0 deletions foundation/src/main/resources/chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fc48501

Please sign in to comment.