Skip to content
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

Support Clique PoA #7614

Closed
avenbreaks opened this issue Apr 13, 2024 · 1 comment
Closed

Support Clique PoA #7614

avenbreaks opened this issue Apr 13, 2024 · 1 comment
Labels
C-enhancement New feature or request

Comments

@avenbreaks
Copy link

Describe the feature

Does reth currently support building clique consensus-based networks like goerli?

Examples run :

reth init --datadir=/datareth --chain=genesis.json

reth node \
    --datadir=/workspace/reth/datareth \
    --chain=/workspace/reth/bin/scripts/genesis.json \
    --http \
    --http.port=8545 \
    --http.addr=0.0.0.0 \
    --http.corsdomain=* \
    --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots \
    --ws \
    --ws.addr=0.0.0.0 \
    --ws.port=8546 \
    --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots \
    --ws.origins=* \
    --discovery.port=30303 \
    --port=30303 \
    --identity=poa-testnet \
    --authrpc.port=8551 \
    --authrpc.jwtsecret=/workspace/reth/bin/scripts/jwt.hex \
    --authrpc.addr=0.0.0.0 \
    --metrics=0.0.0.0:9001 \
    --log.stdout.format=terminal \
    --log.file.filter=info

genesis.json

{
    "config": {
        "chainId": 9999009999,
        "homesteadBlock": 0,
        "eip150Block": 0,
        "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "eip155Block": 0,
        "eip158Block": 0,
        "byzantiumBlock": 0,
        "constantinopleBlock": 0,
        "petersburgBlock": 0,
        "istanbulBlock": 0,
        "berlinBlock": 0,
        "londonBlock": 0,
        "muirGlacierBlock": 0,
        "arrowGlacierBlock": 0,
        "grayGlacierBlock": 0,
        "clique": {
            "period": 1,
            "epoch": 30000
        }
    },
"alloc": {
        "FFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF" : {
            "balance": "0x999999999999"
        },
    "difficulty": "0x1",
    "gasLimit": "0x1c9c380",
    "coinbase": "0x0000000000000000000000000000000000000000",
    "nonce": "0x1",
    "timestamp": "0x66042756",
    "extradata": "0x0000000000000000000000000000000000000000000000000000000000000000888888bb39c4448db428397a58bbb066b72883910000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "number": "0x0",
    "gasUsed": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "baseFeePerGas": null
}

Additional context

No response

@avenbreaks avenbreaks added C-enhancement New feature or request S-needs-triage This issue needs to be labelled labels Apr 13, 2024
@mattsse
Copy link
Collaborator

mattsse commented Apr 13, 2024

clique is also being removed from geth because goerli is deprecated, there are no plans for this

@mattsse mattsse closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
@DaniPopes DaniPopes removed the S-needs-triage This issue needs to be labelled label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants