Skip to content

Commit c220330

Browse files
authored
docs: fix typos and grammar in contributor and simulation docs (#687)
1 parent f3544e8 commit c220330

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/reference/contributors-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface for getting intermediary trie nodes over the API. This is a great
3333
example of a method that became more necessary over time.
3434

3535
Sometimes efficiency is the basis of necessity. If certain patterns of requests
36-
becomes popular, it can be advantageous to enshrine the behavior into the API.
36+
become popular, it can be advantageous to enshrine the behavior into the API.
3737

3838
### Implementation Complexity
3939

docs/reference/ethsimulatev1-notes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ As eth_simulate is an extension to `eth_call` we want to enable the nice user ex
5454
| v | `0x0` |
5555

5656
## Overriding default values
57-
The default values of blocks and transactions can be overriden. For Transactions we allow overriding of variables `type`, `nonce`, `to`, `from`, `gas limit`, `value`, `input`, `gasPrice`, `maxPriorityFeePerGas`, `maxFeePerGas`, `accessList`, and for blocks we allow modifications of `number`, `time`, `gasLimit`, `feeRecipient`, `prevRandao`, `baseFeePerGas` and `blobBaseFee`:
57+
The default values of blocks and transactions can be overridden. For Transactions we allow overriding of variables `type`, `nonce`, `to`, `from`, `gas limit`, `value`, `input`, `gasPrice`, `maxPriorityFeePerGas`, `maxFeePerGas`, `accessList`, and for blocks we allow modifications of `number`, `time`, `gasLimit`, `feeRecipient`, `prevRandao`, `baseFeePerGas` and `blobBaseFee`:
5858
```json
5959
"blockOverrides": {
6060
"number": "0x14",
@@ -197,7 +197,7 @@ Clients may introduce their own limits to prevent DOS attacks using the method.
197197

198198
When it comes to contract override behavior, specifically precompile override, there were two approaches:
199199

200-
1. As specified above to allow replacement of precompiles by EVM code and to allow those same precompiles to be relocated to another access for fallback behavior.
200+
1. As specified above to allow replacement of precompiles by EVM code and to allow those same precompiles to be relocated to another address for fallback behavior.
201201
2. Allow users to pass in a set of pre-computed calls for an address, i.e. direct mapping of input to output.
202202

203203
The second approach has better UX for simple use-cases such as faking a signature via ecrecover. It also allows for getting the same gas usage as a real precompile execution. The simpler UX comes at cost of flexibility. Overriding with EVM code is general. It also imposes changes to the EVM interpreter code, which has been otherwise avoided, without enabling new features. Hence the spec proposes the first alternative.

0 commit comments

Comments
 (0)