Skip to content

Commit

Permalink
Merge branch 'main' into 1711-upgrade-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Tran committed Jan 28, 2025
2 parents f05e686 + 6a77b7c commit 2157200
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/public-networks/reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2543,10 +2543,6 @@ Creates an [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930) access list that
the string tags `latest`, `earliest`, `pending`, `finalized`, or `safe`, as described in
[block parameter](../../how-to/use-besu-api/json-rpc.md#block-parameter).
:::note
`pending` returns the same value as `latest`.
:::
#### Returns
`result`: _object_ - access list object with the following fields:
Expand Down Expand Up @@ -2620,6 +2616,10 @@ estimation process (unlike transactions, in which gas limits apply).
- `call`: _object_ - [transaction call object](objects.md#transaction-call-object)
- `blockNumber`: _string_ - (optional) hexadecimal or decimal integer representing a block number, or one of
the string tags `latest`, `earliest`, `pending`, `finalized`, or `safe`, as described in
[block parameter](../../how-to/use-besu-api/json-rpc.md#block-parameter).
- `stateOverride`: _object_ - The [address-to-state mapping](./objects.md#state-override-object).
Each entry specifies a state that will be temporarily overridden before executing the call.
This allows you to make temporary state changes without affecting the actual blockchain state.
Expand Down
13 changes: 7 additions & 6 deletions docs/public-networks/reference/api/objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ Override an account with the following state values temporarily before making th
to make ephemeral state changes, for the purposes of transaction simulation, without affecting the actual
blockchain state.

| Key | Type | Value |
|-------------|:--------:|------------------------------------------------------------------------|
| `balance` | Quantity | Temporary account balance for the call execution. |
| `nonce` | Quantity | Temporary nonce value for the call execution. |
| `code` | Binary | Bytecode to inject into the account. |
| `stateDiff` | Quantity | `key:value` pairs to override individual slots in the account storage. |
| Key | Type | Value |
|---------------------------|:-------------------:|------------------------------------------------------------------------|
| `balance` | Quantity | Temporary account balance for the call execution. |
| `nonce` | Quantity | Temporary nonce value for the call execution. |
| `code` | Binary | Bytecode to inject into the account. |
| `movePrecompileToAddress` | Data, 20 bytes | Address to which the precompile address should be moved. |
| `stateDiff` | Quantity | `key:value` pairs to override individual slots in the account storage. |

## Structured log object

Expand Down

0 comments on commit 2157200

Please sign in to comment.