Commit 6bdd02d
fix: correct rustdoc, off-by-one getLogs range, pending block gas limit
- Fix misleading doc on resolve_evm_block: state is loaded at latest,
not finalized
- Fix off-by-one in getLogs block range check: inclusive range of
from..=to spans to-from+1 blocks, so check >= not >
- Remove incorrect override of pending block gas_limit with rpc_gas_cap;
the parent header's gas_limit (inherited via into_inner) is correct
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 915ba49 commit 6bdd02d
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
| 290 | + | |
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
| |||
311 | 310 | | |
312 | 311 | | |
313 | 312 | | |
314 | | - | |
315 | 313 | | |
316 | 314 | | |
317 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
984 | | - | |
| 984 | + | |
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
| |||
0 commit comments