From 708771848e1c6195968dad09ec216d84bb3b3f1c Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Fri, 10 Jun 2022 22:55:15 +0800 Subject: [PATCH 1/3] Add Sepolia support and remove Kintsugi support --- staking_deposit/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/staking_deposit/settings.py b/staking_deposit/settings.py index 61de6a08..b3e43d36 100644 --- a/staking_deposit/settings.py +++ b/staking_deposit/settings.py @@ -11,19 +11,19 @@ class BaseChainSetting(NamedTuple): MAINNET = 'mainnet' PRATER = 'prater' -KINTSUGI = 'kintsugi' KILN = 'kiln' ROPSTEN = 'ropsten' +SEPOLIA = 'sepolia' # Mainnet setting MainnetSetting = BaseChainSetting(NETWORK_NAME=MAINNET, GENESIS_FORK_VERSION=bytes.fromhex('00000000')) # Ropsten setting RopstenSetting = BaseChainSetting(NETWORK_NAME=ROPSTEN, GENESIS_FORK_VERSION=bytes.fromhex('80000069')) +# Sepolia setting +SepoliaSetting = BaseChainSetting(NETWORK_NAME=SEPOLIA, GENESIS_FORK_VERSION=bytes.fromhex('90000069')) # Testnet (spec v1.0.1) PraterSetting = BaseChainSetting(NETWORK_NAME=PRATER, GENESIS_FORK_VERSION=bytes.fromhex('00001020')) -# Merge Testnet (spec v1.1.4) -KintsugiSetting = BaseChainSetting(NETWORK_NAME=KINTSUGI, GENESIS_FORK_VERSION=bytes.fromhex('60000069')) # Merge Testnet (spec v1.1.9) KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069')) @@ -31,9 +31,9 @@ class BaseChainSetting(NamedTuple): ALL_CHAINS: Dict[str, BaseChainSetting] = { MAINNET: MainnetSetting, PRATER: PraterSetting, - KINTSUGI: KintsugiSetting, KILN: KilnSetting, ROPSTEN: RopstenSetting, + SEPOLIA: SepoliaSetting, } From cad017c9c7952ea95cc03e2bc73db2dac67ca484 Mon Sep 17 00:00:00 2001 From: lightclient <14004106+lightclient@users.noreply.github.com> Date: Sat, 18 Jun 2022 14:33:39 +0200 Subject: [PATCH 2/3] replace backslashes with forwardslashes --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d5264b58..b253147c 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ For the [virtualenv](https://virtualenv.pypa.io/en/latest/) users, you can creat ```cmd pip3 install virtualenv virtualenv venv -.\venv\Scripts\activate +./venv/Scripts/activate ``` and install the dependencies: @@ -471,23 +471,23 @@ pip3 install -r requirements.txt Run one of the following command to enter the interactive CLI: ```cmd -python .\staking_deposit\deposit.py new-mnemonic +python ./staking_deposit/deposit.py new-mnemonic ``` or ```cmd -python .\staking_deposit\deposit.py existing-mnemonic +python ./staking_deposit/deposit.py existing-mnemonic ``` You can also run the tool with optional arguments: ```cmd -python .\staking_deposit\deposit.py new-mnemonic --num_validators= --mnemonic_language=english --chain= --folder= +python ./staking_deposit/deposit.py new-mnemonic --num_validators= --mnemonic_language=english --chain= --folder= ``` ```cmd -python .\staking_deposit\deposit.pyexisting-mnemonic --num_validators= --validator_start_index= --chain= --folder= +python ./staking_deposit/deposit.pyexisting-mnemonic --num_validators= --validator_start_index= --chain= --folder= ``` ###### Language Argument From 7371d699b55db6b39766a9d4a07d78a604751076 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Mon, 1 Aug 2022 16:01:56 +0800 Subject: [PATCH 3/3] Revert "Replace backslashes with forwardslashes" --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b253147c..d5264b58 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ For the [virtualenv](https://virtualenv.pypa.io/en/latest/) users, you can creat ```cmd pip3 install virtualenv virtualenv venv -./venv/Scripts/activate +.\venv\Scripts\activate ``` and install the dependencies: @@ -471,23 +471,23 @@ pip3 install -r requirements.txt Run one of the following command to enter the interactive CLI: ```cmd -python ./staking_deposit/deposit.py new-mnemonic +python .\staking_deposit\deposit.py new-mnemonic ``` or ```cmd -python ./staking_deposit/deposit.py existing-mnemonic +python .\staking_deposit\deposit.py existing-mnemonic ``` You can also run the tool with optional arguments: ```cmd -python ./staking_deposit/deposit.py new-mnemonic --num_validators= --mnemonic_language=english --chain= --folder= +python .\staking_deposit\deposit.py new-mnemonic --num_validators= --mnemonic_language=english --chain= --folder= ``` ```cmd -python ./staking_deposit/deposit.pyexisting-mnemonic --num_validators= --validator_start_index= --chain= --folder= +python .\staking_deposit\deposit.pyexisting-mnemonic --num_validators= --validator_start_index= --chain= --folder= ``` ###### Language Argument