lukso-network / network-configs-deprecated

Startup scripts for multi-client testnet
Creative Commons Zero v1.0 Universal
6 stars 1 forks source link

Prepare non-interop network to test full deposit contract flow #9

Closed mxmar closed 3 years ago

mxmar commented 3 years ago

We need to have non-interop network running on GCP cluster like dev and staging. Because of this there are requirements to:

  1. Prepare genesis.ssz flow for non-interop.
  2. Prepare namespace configuration for non-interop network.
  3. Verify chain-config.yaml.
  4. Deploy network changes to the default cluster namespace.
mxmar commented 3 years ago

Branch is https://github.com/lukso-network/l16-multinet/tree/epic/41/deposit-contract-flow

blazejkrzak commented 3 years ago

Except the 4 we have reached stable network. @atif-konasl and @meta-bot provided working solution based on gcloud. We should consider if point no 4 is needed at all in k8s

mxmar commented 3 years ago

Except the 4 we have reached stable network. @atif-konasl and @meta-bot provided working solution based on gcloud. We should consider if point no 4 is needed at all in k8s

You are right, it's not required at all.

@atif-konasl and @meta-bot have prepared working l15 non-interop test network in l15-testnet project:

image

Ethstats:

image

mxmar commented 3 years ago

In connection with Prepare genesis.ssz flow for non-interop. we are able to generate ssz without mainnet flag by: bazel build //tools/genesis-state-gen --//proto:network=minimal from prysm commit id: e4388c7fce6bcc27155bae2860a6ab4f550fb6af and then just generate by:

./genesis-state-gen --output-ssz=./vanguard_private_testnet_genesis.ssz \
--output-json=./vanguard_private_testnet_genesis.json \
--deposit-json-file=./deposit_data.json \
--genesis-time="$GENESIS_START"
mxmar commented 3 years ago

Summary: Points no. 1, 2, 3 and 4 are done:

  1. Prepare genesis.ssz flow for non-interop.
  2. Prepare namespace configuration for non-interop network. (it's done by GCE, no k8s and namespaces)
  3. Verify chain-config.yaml.
  4. Deploy network changes to the default cluster namespace. (it's done by GCE, no k8s and namespaces)