From 3254d738f739180e2827cbd233cf669902ca6c65 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Mon, 6 Nov 2023 17:33:22 +0530 Subject: [PATCH 01/15] add : amoy flags and genesis --- .github/ISSUE_TEMPLATE/bug.md | 2 +- .github/pull_request_template.md | 2 +- README.md | 4 +- builder/files/config.toml | 2 +- cmd/devp2p/nodesetcmd.go | 2 + cmd/faucet/faucet.go | 7 +- cmd/geth/config.go | 28 +++ cmd/geth/consolecmd.go | 2 +- cmd/geth/main.go | 5 + cmd/utils/flags.go | 4 + core/allocs/amoy.json | 17 ++ core/genesis.go | 16 ++ docs/cli/example_config.toml | 10 +- docs/cli/server.md | 4 +- internal/cli/server/chains/amoy.go | 65 +++++++ internal/cli/server/chains/chain.go | 1 + internal/cli/server/config.go | 2 +- internal/cli/server/flags.go | 2 +- internal/debug/flags.go | 2 +- miner/worker.go | 2 +- .../testnet-amoy/archive/config.toml | 175 +++++++++++++++++ .../sentry/sentry/bor/config.toml | 175 +++++++++++++++++ .../sentry/validator/bor/config.toml | 176 +++++++++++++++++ .../without-sentry/bor/config.toml | 177 ++++++++++++++++++ params/bootnodes.go | 2 + params/config.go | 48 +++++ scripts/getconfig.go | 3 + 27 files changed, 916 insertions(+), 19 deletions(-) create mode 100644 core/allocs/amoy.json create mode 100644 internal/cli/server/chains/amoy.go create mode 100644 packaging/templates/testnet-amoy/archive/config.toml create mode 100644 packaging/templates/testnet-amoy/sentry/sentry/bor/config.toml create mode 100644 packaging/templates/testnet-amoy/sentry/validator/bor/config.toml create mode 100644 packaging/templates/testnet-amoy/without-sentry/bor/config.toml diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 9ecc722ca4..72bca49dd6 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -20,7 +20,7 @@ Heimdall client version: [e.g. v0.2.10]