mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Create a separate 'cleanup.sh' command
This commit is contained in:
parent
ba5ba437c7
commit
f517bf70ba
6 changed files with 12 additions and 10 deletions
9
alexfdata/commands/0-cleanup.sh
Executable file
9
alexfdata/commands/0-cleanup.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
rm ../genesis.ssz
|
||||||
|
|
||||||
|
rm -rf ../gethdata
|
||||||
|
|
||||||
|
rm -rf ../beacondata
|
||||||
|
|
||||||
|
rm -rf ../validatordata
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
rm ../genesis.ssz
|
../prysmctl testnet generate-genesis --fork capella --num-validators 64 --genesis-time-delay 15 --chain-config-file ../config.yml --geth-genesis-json-in ../genesis.json --geth-genesis-json-out ../genesis.json --output-ssz ../genesis.ssz
|
||||||
|
|
||||||
../prysmctl testnet generate-genesis --fork capella --num-validators 64 --genesis-time-delay 600 --chain-config-file ../config.yml --geth-genesis-json-in ../genesis.json --geth-genesis-json-out ../genesis.json --output-ssz ../genesis.ssz
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
rm -rf ../gethdata
|
|
||||||
|
|
||||||
../../build/bin/geth --datadir=../gethdata --password=../pwd account import ../secret.txt
|
../../build/bin/geth --datadir=../gethdata --password=../pwd account import ../secret.txt
|
||||||
|
|
||||||
../../build/bin/geth --datadir=../gethdata init ../genesis.json
|
../../build/bin/geth --datadir=../gethdata init ../genesis.json
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
rm -rf ../beacondata
|
../beacon_chain --datadir ../beacondata --min-sync-peers 0 --genesis-state ../genesis.ssz --bootstrap-node= --interop-eth1data-votes --chain-config-file ../config.yml --contract-deployment-block 0 --chain-id 1337 --accept-terms-of-use --jwt-secret ../jwt.hex --suggested-fee-recipient 0x123463a4B065722E99115D6c222f267d9cABb524 --minimum-peers-per-subnet 0 --enable-debug-rpc-endpoints --execution-endpoint ../gethdata/geth.ipc
|
||||||
|
|
||||||
../beacon_chain --datadir ../beacondata --min-sync-peers 0 --genesis-state ../genesis.ssz --bootstrap-node= --interop-eth1data-votes --chain-config-file ../config.yml --contract-deployment-block 0 --chain-id 32382 --accept-terms-of-use --jwt-secret ../jwt.hex --suggested-fee-recipient 0x123463a4B065722E99115D6c222f267d9cABb524 --minimum-peers-per-subnet 0 --enable-debug-rpc-endpoints --execution-endpoint ../gethdata/geth.ipc
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
rm -rf ../validatordata
|
|
||||||
|
|
||||||
../validator --datadir ../validatordata --accept-terms-of-use --interop-num-validators 64 --chain-config-file ../config.yml
|
../validator --datadir ../validatordata --accept-terms-of-use --interop-num-validators 64 --chain-config-file ../config.yml
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
"chainId": 32382,
|
"chainId": 1337,
|
||||||
"homesteadBlock": 0,
|
"homesteadBlock": 0,
|
||||||
"daoForkSupport": true,
|
"daoForkSupport": true,
|
||||||
"eip150Block": 0,
|
"eip150Block": 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue