forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AA-308 devnet #44
Draft
shahafn
wants to merge
7
commits into
RIP-7560-revision-2
Choose a base branch
from
devnet
base: RIP-7560-revision-2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
AA-308 devnet #44
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3af2ed1
Adding initial devnet setup wip
shahafn d4dd006
Dockerizing prysmctl
shahafn a7450c2
Updating Electra (Prague) fork epoch
shahafn c88e171
Removing unused files
shahafn eb091c8
Addding bundler wip
shahafn 15f1821
Adding bundler wip
shahafn f978563
Fixing ports & mappings
shahafn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
FROM ubuntu:22.04 | ||
|
||
# Install dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y software-properties-common wget curl libgomp1 build-essential git gnupg openssl && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Node.js (required for Bundler) | ||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install -g yarn | ||
|
||
# Set working directory | ||
WORKDIR /app | ||
|
||
# Copy binaries and scripts into the image | ||
COPY geth \ | ||
beacon-chain-v5.1.0-linux-amd64 \ | ||
validator-v5.1.0-linux-amd64 \ | ||
prysmctl-v5.1.0-linux-amd64 \ | ||
scripts/config.yml \ | ||
start.sh ./ | ||
|
||
# Make binaries and scripts executable | ||
RUN chmod +x geth \ | ||
beacon-chain-v5.1.0-linux-amd64 \ | ||
validator-v5.1.0-linux-amd64 \ | ||
prysmctl-v5.1.0-linux-amd64 \ | ||
start.sh | ||
|
||
# Clone and set up Bundler | ||
RUN git clone https://github.com/eth-infinitism/bundler.git /app/bundler && \ | ||
cd /app/bundler && \ | ||
yarn install --ignore-engines && \ | ||
yarn preprocess | ||
|
||
# Expose necessary ports (common ports; actual mapping happens in docker-compose) | ||
EXPOSE 8545 8546 8551 6060 30303 30304 \ | ||
13000 13001 12000 12001 \ | ||
4000 4001 3500 3501 \ | ||
7000 7001 7500 7501 \ | ||
8080 8081 8082 8083 \ | ||
3000 | ||
|
||
# Entry point | ||
CMD ["/app/start.sh"] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
version: '3.8' | ||
services: | ||
prysmctl-generate-genesis: | ||
build: | ||
context: . | ||
dockerfile: prysmctl.Dockerfile | ||
container_name: prysmctl-generate-genesis | ||
volumes: | ||
- ./scripts/:/app/scripts | ||
- ./node1/data:/app/node1/data | ||
- ./node2/data:/app/node2/data | ||
command: ["/app/scripts/generate-genesis.sh"] | ||
|
||
node1: | ||
build: . | ||
container_name: node1 | ||
volumes: | ||
- ./node1/data:/data | ||
- ./node1/nodekey:/app/nodekey | ||
- ./node1/beaconkey:/app/beaconkey | ||
- ./node1/config.toml:/app/config.toml | ||
environment: | ||
NODE_IDENTITY: "node-1" | ||
VALIDATOR_START_INDEX: 0 | ||
PEER_NODES: "/ip4/172.20.0.3/tcp/13001/p2p/16Uiu2HAmFz274W7rTgaeoifJwmtsRn9KVkvrvAmfNvg9gdhw89Gg /ip4/172.20.0.3/udp/12001/p2p/16Uiu2HAmFz274W7rTgaeoifJwmtsRn9KVkvrvAmfNvg9gdhw89Gg" | ||
ports: | ||
- "8545:8545" | ||
- "8546:8546" | ||
- "8551:8551" | ||
- "6060:6060" | ||
- "30303:30303" | ||
- "13000:13000" | ||
- "12000:12000/udp" | ||
- "4000:4000" | ||
- "3500:3500" | ||
- "7000:7000" | ||
- "7500:7500" | ||
- "8080:8080" | ||
- "8081:8081" | ||
- "3000:3000" | ||
networks: | ||
devnet: | ||
ipv4_address: 172.20.0.2 | ||
depends_on: | ||
- prysmctl-generate-genesis | ||
|
||
node2: | ||
build: . | ||
container_name: node2 | ||
volumes: | ||
- ./node2/data:/data | ||
- ./node2/nodekey:/app/nodekey | ||
- ./node2/beaconkey:/app/beaconkey | ||
- ./node2/config.toml:/app/config.toml | ||
environment: | ||
NODE_IDENTITY: "node-2" | ||
VALIDATOR_START_INDEX: 1 | ||
PEER_NODES: "/ip4/172.20.0.2/tcp/13000/p2p/16Uiu2HAmNYTUE5jNA1MidN53yaojJU22JKRnfDTRvudkeb7pUXTx /ip4/172.20.0.2/udp/12000/p2p/16Uiu2HAmNYTUE5jNA1MidN53yaojJU22JKRnfDTRvudkeb7pUXTx" | ||
ports: | ||
- "8547:8545" | ||
- "8548:8546" | ||
- "8553:8551" | ||
- "6061:6060" | ||
- "30304:30303" | ||
- "13001:13000" | ||
- "12001:12000/udp" | ||
- "4001:4000" | ||
- "3501:3500" | ||
- "7001:7000" | ||
- "7501:7500" | ||
- "8082:8080" | ||
- "8083:8081" | ||
- "3001:3000" | ||
networks: | ||
devnet: | ||
ipv4_address: 172.20.0.3 | ||
depends_on: | ||
- prysmctl-generate-genesis | ||
|
||
networks: | ||
devnet: | ||
driver: bridge | ||
ipam: | ||
config: | ||
- subnet: 172.20.0.0/16 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
620801c58309976dbc723994edfc7f215793a712f1b96fafd927a3f60bf0774a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
[Eth] | ||
NetworkId = 0 | ||
SyncMode = "snap" | ||
EthDiscoveryURLs = [] | ||
SnapDiscoveryURLs = [] | ||
NoPruning = false | ||
NoPrefetch = false | ||
TxLookupLimit = 2350000 | ||
TransactionHistory = 2350000 | ||
StateHistory = 90000 | ||
LightPeers = 100 | ||
DatabaseCache = 512 | ||
DatabaseFreezer = "" | ||
TrieCleanCache = 154 | ||
TrieDirtyCache = 256 | ||
TrieTimeout = 3600000000000 | ||
SnapshotCache = 102 | ||
Preimages = false | ||
FilterLogCacheSize = 32 | ||
EnablePreimageRecording = false | ||
VMTrace = "" | ||
VMTraceJsonConfig = "" | ||
RPCGasCap = 50000000 | ||
RPCEVMTimeout = 5000000000 | ||
RPCTxFeeCap = 1e+00 | ||
Rip7560MaxBundleSize = 0 | ||
Rip7560MaxBundleGas = 0 | ||
Rip7560PullUrls = ["http://localhost:3001/rpc"] | ||
Rip7560AcceptPush = false | ||
|
||
[Eth.Miner] | ||
GasCeil = 30000000 | ||
GasPrice = 1000000 | ||
Recommit = 2000000000 | ||
|
||
[Eth.TxPool] | ||
Locals = [] | ||
NoLocals = false | ||
Journal = "transactions.rlp" | ||
Rejournal = 3600000000000 | ||
PriceLimit = 1 | ||
PriceBump = 10 | ||
AccountSlots = 16 | ||
GlobalSlots = 5120 | ||
AccountQueue = 64 | ||
GlobalQueue = 1024 | ||
Lifetime = 10800000000000 | ||
|
||
[Eth.BlobPool] | ||
Datadir = "blobpool" | ||
Datacap = 2684354560 | ||
PriceBump = 100 | ||
|
||
[Eth.GPO] | ||
Blocks = 20 | ||
Percentile = 60 | ||
MaxHeaderHistory = 1024 | ||
MaxBlockHistory = 1024 | ||
MaxPrice = 500000000000 | ||
IgnorePrice = 2 | ||
|
||
[Node] | ||
DataDir = "/data/geth" | ||
IPCPath = "geth.ipc" | ||
HTTPHost = "" | ||
HTTPPort = 8545 | ||
HTTPVirtualHosts = ["localhost"] | ||
HTTPModules = ["net", "web3", "eth"] | ||
AuthAddr = "localhost" | ||
AuthPort = 8551 | ||
AuthVirtualHosts = ["localhost"] | ||
WSHost = "" | ||
WSPort = 8546 | ||
WSModules = ["net", "web3", "eth"] | ||
GraphQLVirtualHosts = ["localhost"] | ||
BatchRequestLimit = 1000 | ||
BatchResponseMaxSize = 25000000 | ||
|
||
[Node.P2P] | ||
MaxPeers = 50 | ||
NoDiscovery = false | ||
DiscoveryV4 = true | ||
BootstrapNodes = ["enode://d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666@18.138.108.67:30303", "enode://22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de@3.209.45.79:30303", "enode://2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc@65.108.70.101:30303", "enode://4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052@157.90.35.166:30303"] | ||
BootstrapNodesV5 = ["enr:-KG4QMOEswP62yzDjSwWS4YEjtTZ5PO6r65CPqYBkgTTkrpaedQ8uEUo1uMALtJIvb2w_WWEVmg5yt1UAuK1ftxUU7QDhGV0aDKQu6TalgMAAAD__________4JpZIJ2NIJpcIQEn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4XH9kFT91uZtFg1GcsJ6dKovDOr1jtAAFPnS2lvNltkOGA9k29BUN7lFh_sjuc9QBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpC1MD8qAAAAAP__________gmlkgnY0gmlwhANAdd-Jc2VjcDI1NmsxoQLQa6ai7y9PMN5hpLe5HmiJSlYzMuzP7ZhwRiwHvqNXdoN0Y3CCI4yDdWRwgiOM"] | ||
StaticNodes = ["enode://10b048786aece365a3e51e196d31cbc2117436cabcf0236e46c7e07ff02345d48a0c5533172ad6ab6c6fd95507adf2508b171d1e1772113dfa93e024a1e58d1a@node2:30304"] | ||
TrustedNodes = [] | ||
ListenAddr = ":30303" | ||
DiscAddr = "" | ||
EnableMsgEvents = false | ||
|
||
[Node.HTTPTimeouts] | ||
ReadTimeout = 30000000000 | ||
ReadHeaderTimeout = 30000000000 | ||
WriteTimeout = 30000000000 | ||
IdleTimeout = 120000000000 | ||
|
||
[Metrics] | ||
HTTP = "127.0.0.1" | ||
Port = 6060 | ||
InfluxDBEndpoint = "http://localhost:8086" | ||
InfluxDBDatabase = "geth" | ||
InfluxDBUsername = "test" | ||
InfluxDBPassword = "test" | ||
InfluxDBTags = "host=localhost" | ||
InfluxDBToken = "test" | ||
InfluxDBBucket = "geth" | ||
InfluxDBOrganization = "geth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
CONFIG_NAME: interop | ||
PRESET_BASE: interop | ||
|
||
# Genesis | ||
GENESIS_FORK_VERSION: 0x20000089 | ||
|
||
# Altair | ||
ALTAIR_FORK_EPOCH: 0 | ||
ALTAIR_FORK_VERSION: 0x20000090 | ||
|
||
# Merge | ||
BELLATRIX_FORK_EPOCH: 0 | ||
BELLATRIX_FORK_VERSION: 0x20000091 | ||
TERMINAL_TOTAL_DIFFICULTY: 0 | ||
|
||
# Capella | ||
CAPELLA_FORK_EPOCH: 0 | ||
CAPELLA_FORK_VERSION: 0x20000092 | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 16 | ||
|
||
# Deneb | ||
DENEB_FORK_VERSION: 0x20000093 | ||
DENEB_FORK_EPOCH: 0 | ||
|
||
# Electra | ||
ELECTRA_FORK_VERSION: 0x06000000 | ||
ELECTRA_FORK_EPOCH: 0 | ||
|
||
# Time parameters | ||
SECONDS_PER_SLOT: 3 | ||
SLOTS_PER_EPOCH: 6 | ||
|
||
# Deposit contract | ||
DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2a16b520ee5796dcc3c9307ae54d226f55f7c7f31c8b59cd7056f9ed74d38e0a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ee8e91ee5ec8e2de9b5dfe8951184970f22b7db7ae54f16d5d3f653c23c807f7 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see https://github.com/eth-infinitism/go-ethereum/blob/RIP-7560-revision-2/Dockerfile
on how to creater a "builder" docker image, so that the final image is lighter
(also, they compile geth as static image, and thus don't have to copy shared objects, only a single binary)