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

add verkle proof in ExecutionPayload #136

Conversation

gballet
Copy link
Owner

@gballet gballet commented Oct 28, 2022

instructions on how to setup this branch are here

@gballet gballet requested a review from holiman as a code owner October 28, 2022 15:04
@gballet gballet removed the request for review from holiman October 28, 2022 15:06
@gballet
Copy link
Owner Author

gballet commented Nov 6, 2022

In order to test:

  • create a file called genesis_beverlyhills.json with the following content:
{
  "config": {
    "chainId": 90210,
    "homesteadBlock": 0,
    "daoForkBlock": 0,
    "daoForkSupport": false,
    "eip150Block": 0,
    "eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
    "eip155Block": 0,
    "eip158Block": 0,
    "byzantiumBlock": 0,
    "constantinopleBlock": 0,
    "petersburgBlock": 0,
    "istanbulBlock": 0,
    "muirGlacierBlock": 0,
    "berlinBlock": 0,
    "londonBlock": 0,
    "cancunBlock": 0,
    "ethash": {}
  },
  "nonce": "0x56",
  "timestamp": "0x0",
  "extraData": "0x",
  "gasLimit": "0x2fefd8",
  "difficulty": "0x1",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "coinbase": "0x0000000000000000000000000000000000000000",
  "alloc": {
    "0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134": {
      "balance": "0x400000000000000000000"
    }
  },
  "number": "0x0",
  "gasUsed": "0x0",
  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "baseFeePerGas": null
}
  • Build geth and Initialize its directory at $DATADIR with go build ./cmd/geth/... && ./geth --datadir=$DATADIR init genesis_beverlyhills.json
  • Run geth: ./geth --datadir=$HOME/.beverlyhills --networkid=90210 --http --http.api "net,eth,debug,engine" --allow-insecure-unlock --vmodule=rpc=5 --syncmode=full

Upon creating blocks and calling engine_getPayloadV1, it should return a block with the aforementioned verkle proof fields.

@gballet gballet force-pushed the beverly-hills-with-proofs-in-executable-payload branch from 6338066 to 90b32b0 Compare December 14, 2022 06:48
@gballet gballet force-pushed the beverly-hills-with-proofs-in-executable-payload branch from 878057d to 81e1085 Compare January 26, 2023 08:54
@gballet gballet force-pushed the beverly-hills-with-proofs-in-executable-payload branch from 81e1085 to cd87f5a Compare March 6, 2023 16:36
@gballet
Copy link
Owner Author

gballet commented Mar 6, 2023

Superseded by #176. This branch should no longer be used.

@gballet gballet closed this Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant