lotus/build
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: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
bootstrap new: add forest bootstrap nodes (#11636) 2024-02-21 12:06:25 -08:00
genesis revert butterfly artifact changes 2023-12-01 23:21:07 +01:00
openrpc feat: api: improve the correctness of Eth's trace_block (#11609) 2024-02-21 12:20:00 -08:00
proof-params build: add empty sector update params 2022-02-08 10:41:18 -05:00
bootstrap.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
builtin_actors_gen.go chore: actors: update v12 to the final release 2023-11-22 09:23:29 +01:00
builtin_actors_test.go test: build: ignore git tags in embedded metadata 2023-02-08 11:16:28 -05:00
builtin_actors.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
clock.go first pass, ready for review 2020-08-03 12:20:04 -03:00
drand.go fix: build: drop drand incentinet servers 2023-03-17 14:19:47 -04:00
flags.go provide an option to disable loading of built-in assets. 2020-06-22 19:42:04 +01:00
forks.go squash forks and use correct amt library everywhere 2020-02-04 18:26:42 -08:00
genesis.go use go:embed 2021-06-02 12:16:09 +02:00
isnearupgrade.go fix: build: an epoch is near an upgrade iff the upgrade is enabled (#11401) 2023-11-29 16:50:05 +04:00
limits.go alerting: Address review 2021-08-26 16:09:18 +02:00
openrpc_test.go fix make gen 2022-08-29 16:25:30 +02:00
openrpc.go Don't gzip openrpc files for friendlier git wrangling 2024-02-15 08:54:02 +11:00
panic_reporter.go fix: undo hasty changes 2021-09-28 11:30:35 -04:00
parameters.go build: Use go embed for srs-inner-product.json 2021-06-02 15:12:26 +02:00
params_2k.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
params_butterfly.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
params_calibnet.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
params_debug.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
params_interop.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
params_mainnet.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
params_shared_funcs.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
params_shared_vals.go master-to-sturdy 2023-09-21 10:37:02 -05:00
params_testground.go feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors (#11409) 2023-11-15 13:10:31 -05:00
testing_flags.go sync tests passing, still no vm integration 2019-11-22 10:41:09 -06:00
tools.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
version.go bump version 2023-12-09 23:47:21 +08:00