Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace mentions of GoerliLghtRelay with SepoliaLightRelay #3730

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Keep Maintainer Staging Mainnet

Bitcoin Relay used by the tTBTC system on testnet environment is an optimized version
of the Light Relay implemented by [GoerliLightRelay](https://github.com/keep-network/tbtc-v2/blob/main/solidity/contracts/test/GoerliLightRelay.sol)
of the Light Relay implemented by [SepoliaLightRelay](https://github.com/keep-network/tbtc-v2/blob/main/solidity/contracts/test/SepoliaLightRelay.sol)
contract. The reason the Light Relay had to be modified for testnet is that on
Bitcoin testnet difficulty often drops to `1`, which makes the blocks validation
on such change impossible to the regular Light Relay contract.

The `GoerliLightRelay` version doesn't require a maintainer bot to submit block
The `SepoliaLightRelay` version doesn't require a maintainer bot to submit block
headers on difficulty change. It accepts ad-hoc difficulty alignment according to
the tests needs.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ resources:
namespace: default

# Regular testnet maintainer doesn't run bitcoinDifficulty module due to specifics
# of LightRelay running on testnet (GoerliLightRelay). This setup is running
# of LightRelay running on testnet (SepoliaLightRelay). This setup is running
# the `bitcoinDifficulty` module of maintainer connected to Bitcoin mainnet.
nameSuffix: -staging

commonLabels:
app: keep-maintainer-staging
type: bitcoinDifficulty
network: goerli
network: sepolia

images:
- name: keep-maintainer
Expand Down Expand Up @@ -42,7 +42,7 @@ patches:
value: --bitcoinDifficulty
- op: replace
path: /spec/template/spec/containers/0/env/0/valueFrom/secretKeyRef/name
value: eth-network-goerli
value: eth-network-sepolia

generatorOptions:
disableNameSuffixHash: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ commonLabels:
# The current setup runs spv and walletCoordination modules as a workaround
# for reasons mentioned in `patches` property below.
type: all
network: goerli
network: sepolia

images:
- name: keep-maintainer
Expand All @@ -32,7 +32,7 @@ secretGenerator:

patches:
# Testnet's maintainer shouldn't run `--bitcoinDifficulty` module, as the testnet
# uses modified version of LightRelay contract (GoerliLightRelay) that doesn't
# uses modified version of LightRelay contract (SepoliaLightRelay) that doesn't
# require the bitcoin difficulty to be submitted. This patch defines manually
# which modules should be started.
- target:
Expand All @@ -47,7 +47,7 @@ patches:
value: --walletCoordination
- op: replace
path: /spec/template/spec/containers/0/env/0/valueFrom/secretKeyRef/name
value: eth-network-goerli
value: eth-network-sepolia

generatorOptions:
disableNameSuffixHash: true
Expand Down