lotus/chain
Steven Allen 8ba491b6b4
feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block

- Improve encoding/decoding of parameters and return values:
  - Encode "native" parameters and return values with Solidity ABI.
  - Correctly decode parameters to "create" calls.
  - Use the correct (ish) output for "create" calls.
  - Handle all forms of "create".
- Make robust with respect to reverts:
  - Use the actor ID/address from the trace instead of looking it up in
    the state-tree (may not exist in the state-tree due to a revert).
  - Gracefully handle failed actor/contract creation.
- Improve performance:
  - We avoid looking anything up in the state-tree when translating the
    trace, which should significantly improve performance.
- Improve code readability:
  - Remove all "backtracking" logic.
  - Use an "environment" struct to store temporary state instead of
    attaching it to the trace.
- Fix random bugs:
  - Fix an allocation bug in the "address" logic (need to set the
    capacity before modifying the slice).
  - Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
  - And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
2024-02-21 12:20:00 -08:00
..
actors feat: api: improve the correctness of Eth's trace_block (#11609) 2024-02-21 12:20:00 -08:00
beacon feat: drand: refactor round verification 2024-01-24 19:15:36 -05:00
consensus Clean up warning message (#11619) 2024-02-13 09:36:50 -08:00
ethhashlookup simplify transaction hash db queries, prevent fd leaks 2023-01-30 11:03:12 -05:00
events perf: api: add indexes to event topics and emitter addr (#11477) 2024-01-31 10:49:07 -08:00
exchange chore: sync: cleanup sync serve and reduce log noise (#11543) 2024-01-29 11:17:05 -08:00
gen Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
index Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
market master-to-sturdy 2023-09-21 10:37:02 -05:00
messagepool Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
messagesigner misc: Drop the raft-cluster experiment 2023-11-29 17:28:46 +01:00
rand master-to-sturdy 2023-09-21 10:37:02 -05:00
state Merge branch 'master' into feat/sturdypost 2023-11-06 16:10:57 -06:00
stmgr fix: stmgr: remove watermelon migration hack (#11623) 2024-02-21 10:32:22 -08:00
store fix: sync: atomically switch chains when checkpointing (#11595) 2024-01-26 08:50:32 -08:00
sub Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
types feat: api: improve the correctness of Eth's trace_block (#11609) 2024-02-21 12:20:00 -08:00
vectors lint, db timout, cfg rm 2023-09-29 11:56:10 -05:00
vm fix: nv21fix migration: correctly upgrade system actor 2023-11-09 14:14:41 -05:00
wallet NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
badtscache.go bump libp2p version to v0.30 2023-11-21 22:10:40 +08:00
block_receipt_tracker.go refactor: update cache to the new generic version (#10463) 2023-03-13 15:29:09 -07:00
checkpoint.go fix: sync: atomically switch chains when checkpointing (#11595) 2024-01-26 08:50:32 -08:00
sync_manager_test.go fix make gen 2022-08-29 16:25:30 +02:00
sync_manager.go Address review 2023-08-09 19:28:24 -04:00
sync_test.go master-to-sturdy 2023-09-21 10:37:02 -05:00
sync.go feat: drand: refactor round verification 2024-01-24 19:15:36 -05:00
syncstate.go Expose WorkerID 2020-10-28 20:22:07 +01:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00