Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
870 changes: 808 additions & 62 deletions docs/fundamentals/configuration.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/interacting/json-rpc-ns/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,16 +380,23 @@ Information about this node
- `eip7623TransitionTimestamp`: _string_ (hex integer)
- `eip7692TransitionTimestamp`: _string_ (hex integer)
- `eip7702TransitionTimestamp`: _string_ (hex integer)
- `eip7708TransitionTimestamp`: _string_ (hex integer)
- `eip7778TransitionTimestamp`: _string_ (hex integer)
- `eip7823TransitionTimestamp`: _string_ (hex integer)
- `eip7825TransitionTimestamp`: _string_ (hex integer)
- `eip7843TransitionTimestamp`: _string_ (hex integer)
- `eip7883TransitionTimestamp`: _string_ (hex integer)
- `eip7907TransitionTimestamp`: _string_ (hex integer)
- `eip7918TransitionTimestamp`: _string_ (hex integer)
- `eip7928TransitionTimestamp`: _string_ (hex integer)
- `eip7934MaxRlpBlockSize`: _string_ (hex integer)
- `eip7934TransitionTimestamp`: _string_ (hex integer)
- `eip7939TransitionTimestamp`: _string_ (hex integer)
- `eip7951TransitionTimestamp`: _string_ (hex integer)
- `eip7954TransitionTimestamp`: _string_ (hex integer)
- `eip7Transition`: _string_ (hex integer)
- `eip8024TransitionTimestamp`: _string_ (hex integer)
- `eip8037TransitionTimestamp`: _string_ (hex integer)
- `feeCollector`: _string_ (address)
- `forkBlock`: _string_ (hex integer)
- `forkCanonHash`: _string_ (hash)
Expand Down
194 changes: 193 additions & 1 deletion docs/interacting/json-rpc-ns/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,51 @@ curl localhost:8545 \
</TabItem>
</Tabs>

### debug_executionWitness

Reprocesses the existing block with the parameters specified and returns the generated execution witness.

<Tabs>
<TabItem value="params" label="Parameters">

1. `blockParameter`: _string_ (block number or hash or either of `earliest`, `finalized`, `latest`, `pending`, or `safe`)


</TabItem>
<TabItem value="request" label="Request" default>

```bash
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "debug_executionWitness",
"params": [blockParameter]
}'
```

</TabItem>
<TabItem value="response" label="Response">

```json
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
```

`result`: _object_
- `codes`: array of _string_ (hex data)
- `headers`: array of _string_ (hex data)
- `keys`: array of _string_ (hex data)
- `state`: array of _string_ (hex data)

</TabItem>
</Tabs>

### debug_getBadBlocks

Return list of invalid blocks.
Expand Down Expand Up @@ -85,6 +130,26 @@ curl localhost:8545 \
- `author`: _string_ (address)
- `baseFeePerGas`: _string_ (hex integer)
- `blobGasUsed`: _string_ (hex integer)
- `blockAccessList`: _object_
- `accountChanges`: array of _object_
- `address`: _string_ (address)
- `balanceChanges`: array of _object_
- `blockAccessIndex`: _object_
- `postBalance`: _string_ (hex integer)
- `codeChanges`: array of _object_
- `blockAccessIndex`: _object_
- `newCode`: _string_ (hex data)
- `nonceChanges`: array of _object_
- `blockAccessIndex`: _object_
- `newNonce`: _string_ (hex integer)
- `storageChanges`: array of _object_
- `changes`: map of _object_
- `blockAccessIndex`: _object_
- `newValue`: _string_ (hex integer)
- `slot`: _string_ (hex integer)
- `storageReads`: array of _object_
- `key`: _string_ (hex integer)
- `blockAccessListHash`: _string_ (hash)
- `difficulty`: _string_ (hex integer)
- `excessBlobGas`: _string_ (hex integer)
- `extraData`: _string_ (hex data)
Expand All @@ -103,6 +168,7 @@ curl localhost:8545 \
- `sha3Uncles`: _string_ (hash)
- `signature`: _string_ (hex data)
- `size`: _string_ (hex integer)
- `slotNumber`: _string_ (hex integer)
- `stateRoot`: _string_ (hash)
- `step`: _string_ (hex integer)
- `timestamp`: _string_ (hex integer)
Expand All @@ -117,6 +183,25 @@ curl localhost:8545 \
- `index`: _string_ (hex integer)
- `validatorIndex`: _string_ (hex integer)
- `withdrawalsRoot`: _string_ (hash)
- `generatedBlockAccessList`: _object_
- `accountChanges`: array of _object_
- `address`: _string_ (address)
- `balanceChanges`: array of _object_
- `blockAccessIndex`: _object_
- `postBalance`: _string_ (hex integer)
- `codeChanges`: array of _object_
- `blockAccessIndex`: _object_
- `newCode`: _string_ (hex data)
- `nonceChanges`: array of _object_
- `blockAccessIndex`: _object_
- `newNonce`: _string_ (hex integer)
- `storageChanges`: array of _object_
- `changes`: map of _object_
- `blockAccessIndex`: _object_
- `newValue`: _string_ (hex integer)
- `slot`: _string_ (hex integer)
- `storageReads`: array of _object_
- `key`: _string_ (hex integer)
- `hash`: _string_ (hash)
- `rlp`: _string_ (hex data)

Expand Down Expand Up @@ -461,7 +546,7 @@ curl localhost:8545 \

### debug_getSyncStage

Retrives Nethermind Sync Stage, With extra Metadata
Retrieves Nethermind Sync Stage, With extra Metadata

<Tabs>
<TabItem value="request" label="Request" default>
Expand Down Expand Up @@ -670,6 +755,7 @@ Retrieves geth like traces of the simulated blocks
- `calls`: array of _object_
- `blockHash`: _string_ (hash)
- `blockNumber`: _string_ (hex integer)
- `blockTimestamp`: _string_ (hex integer)
- `gas`: _string_ (hex integer)
- `hash`: _string_ (hash)
- `transactionIndex`: _string_ (hex integer)
Expand All @@ -689,6 +775,14 @@ Retrieves geth like traces of the simulated blocks
2. `blockParameter`: _string_ (block number or hash or either of `earliest`, `finalized`, `latest`, `pending`, or `safe`)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -788,6 +882,14 @@ This method is similar to the `debug_standardTraceBlockToFile` method, but can b
1. `blockHash`: _string_ (hash)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -851,6 +953,14 @@ Writes to a file the full stack trace of all invoked opcodes of the transaction
1. `blockHash`: _string_ (hash)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -914,6 +1024,14 @@ Returns the full stack trace of all invoked opcodes of all transactions that wer
1. `blockRlp`: _string_ (hex data)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -994,6 +1112,14 @@ Similar to debug_traceBlock, this method accepts a block hash and replays the bl
1. `blockHash`: _string_ (hash)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1074,6 +1200,14 @@ Similar to debug_traceBlock, this method accepts a block number as well as "late
1. `blockParameter`: _string_ (block number or hash or either of `earliest`, `finalized`, `latest`, `pending`, or `safe`)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1154,6 +1288,7 @@ This method lets you run an eth_call within the context of the given block execu
1. `call`: _object_
- `blockHash`: _string_ (hash)
- `blockNumber`: _string_ (hex integer)
- `blockTimestamp`: _string_ (hex integer)
- `gas`: _string_ (hex integer)
- `hash`: _string_ (hash)
- `transactionIndex`: _string_ (hex integer)
Expand All @@ -1162,6 +1297,14 @@ This method lets you run an eth_call within the context of the given block execu
2. `blockParameter`: _string_ (block number or hash or either of `earliest`, `finalized`, `latest`, `pending`, or `safe`)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1258,6 +1401,7 @@ Executes a list of bundles of transactions without creating transactions on the
- `transactions`: array of _object_
- `blockHash`: _string_ (hash)
- `blockNumber`: _string_ (hex integer)
- `blockTimestamp`: _string_ (hex integer)
- `gas`: _string_ (hex integer)
- `hash`: _string_ (hash)
- `transactionIndex`: _string_ (hex integer)
Expand All @@ -1266,6 +1410,14 @@ Executes a list of bundles of transactions without creating transactions on the
2. `blockParameter`: _string_ (block number or hash or either of `earliest`, `finalized`, `latest`, `pending`, or `safe`)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1346,6 +1498,14 @@ This method will attempt to run the transaction in the exact same manner as it w
1. `transactionHash`: _string_ (hash)

2. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1426,6 +1586,14 @@ curl localhost:8545 \
2. `txIndex`: _string_ (hex integer)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1506,6 +1674,14 @@ curl localhost:8545 \
2. `txIndex`: _string_ (hex integer)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1586,6 +1762,14 @@ curl localhost:8545 \
2. `transactionHash`: _string_ (hash)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down Expand Up @@ -1666,6 +1850,14 @@ curl localhost:8545 \
2. `txIndex`: _string_ (hex integer)

3. `options`: _object_
- `blockOverrides`: _object_
- `baseFeePerGas`: _string_ (hex integer)
- `blobBaseFee`: _string_ (hex integer)
- `feeRecipient`: _string_ (address)
- `gasLimit`: _string_ (hex integer)
- `number`: _string_ (hex integer)
- `prevRandao`: _string_ (hash)
- `time`: _string_ (hex integer)
- `disableMemory`: _boolean_
- `disableStack`: _boolean_
- `disableStorage`: _boolean_
Expand Down
Loading