lotus/documentation/en
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
..
architecture Fix: typos 2023-01-31 23:33:11 +01:00
.glossary.json Delete most docs. Update about page with links to docs.filecoin.io 2020-09-17 20:35:19 +02:00
.library.json Delete most docs. Update about page with links to docs.filecoin.io 2020-09-17 20:35:19 +02:00
about.md Fix: typo 2023-01-31 23:20:20 +01:00
api-v0-methods-miner.md master-to-sturdy 2023-09-21 10:37:02 -05:00
api-v0-methods-provider.md lp docsgen 2023-12-05 17:38:07 -06:00
api-v0-methods-worker.md fix exec traces with new ffi 2023-09-19 11:58:13 +02:00
api-v0-methods.md docsgen 2024-02-12 19:27:55 -06:00
api-v1-unstable-methods.md feat: api: improve the correctness of Eth's trace_block (#11609) 2024-02-21 12:20:00 -08:00
block-validation.md Fix/texts (#11298) 2023-10-27 11:32:42 -07:00
cli-lotus-miner.md Merge pull request #11281 from hunjixin/feat/add_confidencef_for_init_miner 2024-01-09 14:53:26 +01:00
cli-lotus-provider.md docsgen 2024-01-04 09:47:56 -06:00
cli-lotus-worker.md bump version 2023-12-09 23:47:21 +08:00
cli-lotus.md Make docsgen-cli 2023-12-18 16:06:47 +01:00
create-miner.md Fix: typo 2023-01-31 23:27:40 +01:00
default-lotus-config.toml misc: Drop the raft-cluster experiment 2023-11-29 17:28:46 +01:00
default-lotus-miner-config.toml make gen 2023-11-15 13:50:31 +01:00
default-lotus-provider-config.toml also-sql naming 2024-01-29 18:22:50 -06:00
dev-tools-pond-ui.md Fix: typo 2023-01-31 23:28:24 +01:00
jaeger-tracing.md Fix: typos 2023-01-31 23:30:09 +01:00
README.md chore: Fix dead links to docs.filecoin.io 2022-09-14 00:10:22 +01:00
sealing-procs.md Move unclassified docs back to the docs root 2020-09-21 19:05:49 +02:00
WIP-arch-complementary-notes.md Fix: typos 2023-01-31 23:23:42 +01:00

Lotus documentation

This folder contains some Lotus documentation mostly intended for Lotus developers.

User documentation (including documentation for miners) has been moved to https://lotus.filecoin.io:

Documentation Website

https://lotus.filecoin.io source is in lotus-docs repository, which contains Lotus as a git submodule.

To update the site, the lotus-docs repository should be updated with the desired version for the lotus git submodule. Once pushed to master, it will be auto-deployed.