From 6096ef3d9da81e867c2872da20cebd2fe4af5f26 Mon Sep 17 00:00:00 2001 From: SHIVAM SHARMA Date: Fri, 19 Jan 2024 02:01:36 +0530 Subject: [PATCH] add : amoy flags and genesis (#1131) * add : amoy flags and genesis * minor fix * add : amoy.json in internal/cli/server * disable : peer check in mining for Amoy * add : amoy genesis hash * add amoy testnet deployment entries * update : amoy genesis * fix typos * add : post london forks + burn contract * add : amoy genesis hash * bump : version meta to amoy (#1092) * add : amoy bootnodes * chg : maxpeers of amoy val to 3 from 1 * bump : version to v1.1.0-amoy-2 * add : amoychain worker restriction on peercount --------- Co-authored-by: sreevalsanmr --- .github/ISSUE_TEMPLATE/bug.md | 2 +- .github/pull_request_template.md | 2 +- .github/workflows/packager.yml | 416 ++++++++++++++++++ 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/allocs/amoy.json | 17 + internal/cli/server/chains/amoy.go | 70 +++ internal/cli/server/chains/chain.go | 1 + internal/cli/server/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 | 9 + params/config.go | 48 ++ scripts/getconfig.go | 3 + 27 files changed, 1359 insertions(+), 17 deletions(-) create mode 100644 core/allocs/amoy.json create mode 100644 internal/cli/server/chains/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]