lotus/build
Phi-rjan f60d4e1208 chore:: backport #11609 to the feat/nv22 branch (#11644)
* 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.

* Make gen

Make gen

---------

Co-authored-by: Steven Allen <steven@stebalien.com>
2024-03-22 07:00:28 +01:00
..
actors Update to v13.0.0-rc.2 bundle 2024-03-22 07:00:28 +01:00
bootstrap Merge pull request #11491 from filecoin-project/fix/remove-decommissioned-pl-bootstrap-nodes 2024-03-22 07:00:28 +01:00
genesis revert butterfly artifact changes 2023-12-01 23:21:07 +01:00
openrpc chore:: backport #11609 to the feat/nv22 branch (#11644) 2024-03-22 07:00:28 +01: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 Update to v13.0.0-rc.2 bundle 2024-03-22 07:00:28 +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 feat: implement FIP-0063 2024-03-22 07:00:28 +01: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 feat: gateway: OpenRPC support 2022-05-27 17:03:56 +02: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 Make gen 2024-03-22 07:00:28 +01:00
params_butterfly.go Make gen 2024-03-22 07:00:28 +01:00
params_calibnet.go Update epoch heights (#11637) 2024-03-22 07:00:28 +01:00
params_debug.go feat: expose ChainGetPath on the gateway 2021-08-30 16:43:21 -07:00
params_interop.go Update Mango codename to Phoneix 2024-03-22 07:00:28 +01:00
params_mainnet.go Update epoch heights (#11637) 2024-03-22 07:00:28 +01:00
params_shared_funcs.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
params_shared_vals.go [WIP] feat: Add nv22 skeleton 2024-03-22 07:00:28 +01:00
params_testground.go Update Mango codename to Phoneix 2024-03-22 07:00:28 +01: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 feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226) 2024-03-22 07:00:28 +01:00