Skip to content

Commit

Permalink
Update keeper config block number (#454)
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <[email protected]>
  • Loading branch information
cyc60 authored Feb 5, 2025
1 parent bcd4265 commit 758bf00
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ Head to [Usage](#usage) to launch your operator service.
Pull the latest docker operator docker image:

```bash
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.2
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.3
```

You can also build the docker image from source by cloning this repo and executing the following command from within
the `v3-operator` folder:

```bash
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.2 .
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.3 .
```

You will execute Operator Service commands using the format below (note the use of flags are optional):
Expand All @@ -170,7 +170,7 @@ You will execute Operator Service commands using the format below (note the use
docker run --rm -ti \
-u $(id -u):$(id -g) \
-v ~/.stakewise/:/data \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.2 \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.3 \
src/main.py COMMAND \
--flagA=123 \
--flagB=xyz
Expand Down Expand Up @@ -393,7 +393,7 @@ below:
docker run --restart on-failure:10 \
-u $(id -u):$(id -g) \
-v ~/.stakewise/:/data \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.2 \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v3.0.3 \
src/main.py start \
--vault=0x3320ad928c20187602a2b2c04eeaa813fa899468 \
--data-dir=/data \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "v3-operator"
version = "v3.0.2"
version = "v3.0.3"
description = "StakeWise operator service for registering vault validators"
authors = ["StakeWise Labs <[email protected]>"]
package-mode = false
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ http_copy() {
github_release() {
owner_repo=$1
version=$2
test -z "$version" && version="v3.0.2"
test -z "$version" && version="v3.0.3"
giturl="https://github.com/${owner_repo}/releases/${version}"
json=$(http_copy "$giturl" "Accept:application/json")
test -z "$json" && return 1
Expand Down
8 changes: 4 additions & 4 deletions src/config/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def IS_SUPPORT_V2_MIGRATION(self) -> bool:
HOT_WALLET_MIN_BALANCE=Web3.to_wei('0.03', 'ether'),
STAKEWISE_API_URL='https://mainnet-api.stakewise.io/graphql',
RATED_API_URL='https://api.rated.network',
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(18470104),
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(21471524),
DEFAULT_DVT_RELAYER_ENDPOINT='https://mainnet-dvt-relayer.stakewise.io',
),
HOLESKY: NetworkConfig(
Expand All @@ -65,7 +65,7 @@ def IS_SUPPORT_V2_MIGRATION(self) -> bool:
HOT_WALLET_MIN_BALANCE=Web3.to_wei('0.03', 'ether'),
STAKEWISE_API_URL='https://holesky-api.stakewise.io/graphql',
RATED_API_URL='https://api.rated.network',
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(215397),
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(3236751),
DEFAULT_DVT_RELAYER_ENDPOINT='https://holesky-dvt-relayer.stakewise.io',
),
GNOSIS: NetworkConfig(
Expand All @@ -81,7 +81,7 @@ def IS_SUPPORT_V2_MIGRATION(self) -> bool:
HOT_WALLET_MIN_BALANCE=Web3.to_wei('0.01', 'ether'),
STAKEWISE_API_URL='https://gnosis-api.stakewise.io/graphql',
RATED_API_URL='https://api.rated.network',
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(34778569),
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(37640206),
DEFAULT_DVT_RELAYER_ENDPOINT='gnosis-dvt-relayer.stakewise.io',
),
CHIADO: NetworkConfig(
Expand All @@ -97,7 +97,7 @@ def IS_SUPPORT_V2_MIGRATION(self) -> bool:
HOT_WALLET_MIN_BALANCE=Web3.to_wei('0.01', 'ether'),
STAKEWISE_API_URL='https://chiado-api.stakewise.io/graphql',
RATED_API_URL='https://api.rated.network',
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(10627606),
CONFIG_UPDATE_EVENT_BLOCK=BlockNumber(12896244),
DEFAULT_DVT_RELAYER_ENDPOINT='chiado-dvt-relayer.stakewise.io',
),
}

0 comments on commit 758bf00

Please sign in to comment.