Commit Graph

364 Commits

Author SHA1 Message Date
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
Steven Allen
ca877940a0
feat: fvm: update the FVM/FFI to v4.1 (#11608)
This:

1. Adds nv22 support.
2. Updates the message tracing format.
2024-02-06 17:22:14 -08:00
Phi
73d830e2fb Remove merge conflict artefact
Remove merge conflict artefact
2024-01-17 13:27:09 +01:00
Phi
369c8fd9f7 Change date for release in changelog
Change date for release in changelog
2024-01-11 11:31:29 +01:00
Phi
925a19bbbc Update changelog with sync-fix-backport
Update changelog with sync-fix-backport
2024-01-11 11:29:31 +01:00
Phi
8d53c446fd Update changelog
Update changelog
2024-01-11 11:29:31 +01:00
Phi
a095413cd1 Update changelog
Update changelog
2024-01-11 11:29:31 +01:00
Phi
0c07765cac Bump version and changelog
Bump version and changelog
2024-01-04 18:12:58 +01:00
jennijuju
4317232a80 Merge branch 'releases' into jen/252 2023-12-09 23:10:35 +08:00
Jiaying Wang
e8b5d18ee5
Update CHANGELOG.md 2023-12-09 21:27:28 +08:00
jennijuju
cad43b3b9f v1.25.2-rc1 2023-12-09 21:23:45 +08:00
jennijuju
410ca25071 hot fix - backport #11506 2023-12-09 21:05:12 +08:00
Phi
cb1939bc5e Add backports to changelog
Add backports to changelog
2023-12-05 22:33:33 +01:00
Phi
a95f3d685d Fix changelog
Fix changelog
2023-12-05 19:42:24 +01:00
Phi
ed2890c837 Add sub-bullets to new features
Add sub-bullets to new features
2023-12-05 15:52:26 +01:00
Phi
3aaca7c604 Update changelog
Update changelog
2023-12-05 15:11:25 +01:00
Phi
8aa7f45af5 Initial draft changelog
Initial draft changelog
2023-12-05 10:09:26 +01:00
Andrew Jackson (Ajax)
e102e4f31f
Merge branch 'master' into feat/sturdypost 2023-11-29 17:15:42 -06:00
Friðrik Ásmundsson
813d133c24
Merge pull request #11462 from filecoin-project/update-estimate-gas
api: Add block param to eth_estimateGas
2023-11-29 15:45:14 +00:00
Steven Allen
a34cc5e4e9
fix: eth: handle unresolvable addresses (#11433)
Correctly handle "unresolvable" to/from addresses in top-level messages in the Ethereum API. Specifically:

1. Fail if we can't resolve the from address. As far as I can tell, this should be impossible (the message statically couldn't have been included in the block if the sender didn't exist).
2. If we can't resolve the "to" address to an ID, use "max uint64" as the ID (`0xff0000000000000000000000ffffffffffffffff`). This will only happen if the transaction was reverted. It'll be a little confusing, but the alternative is to (a) use an empty address (will look like a contract creation, which is definitely wrong) or (b) use a random/hashed address which will likely be more confusing as it won't be "obviously weird".
2023-11-29 16:12:18 +04:00
Fridrik Asmundsson
6ae91467e6 fix spelling 2023-11-28 19:40:37 +00:00
Fridrik Asmundsson
717d2a0eeb Add block param to EthEstimateGas 2023-11-28 14:57:05 +00:00
Łukasz Magiera
3407848e8c fix: miner info: Show correct sector state counts 2023-11-23 21:23:42 +01:00
Łukasz Magiera
16cc24443f Merge remote-tracking branch 'origin/master' into chore/master-into-sturdy 2023-11-22 17:26:37 +01:00
Aarsh Shah
8f39834413 fix typo in change log 2023-11-22 18:52:27 +04:00
Aarsh Shah
829311cd80 update changelog on master 2023-11-22 18:49:37 +04:00
jennijuju
4a165b3551 Merge branch 'release/v1.25.0' into jen/v125cut 2023-11-22 19:09:57 +08:00
Phi-rjan
f8831834d5
Update CHANGELOG.md
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2023-11-22 11:20:32 +01:00
Phi
c61a740398 Update changelog
Update changelog
2023-11-22 11:11:10 +01:00
Jiaying Wang
814c16b60b
Apply suggestions from code review
Co-authored-by: Phi-rjan <orjan.roren@gmail.com>
2023-11-22 17:32:27 +08:00
jennijuju
8517e71ff8 update changelog 2023-11-22 17:01:16 +08:00
jennijuju
a14183e8e0 update changelog 2023-11-22 16:39:55 +08:00
jennijuju
f467be7345 update changelog 2023-11-17 03:47:00 +08:00
jennijuju
80039b1bac update change log 2023-11-17 02:46:31 +08:00
Phi
a71ad24127 chore: release: update changelog and version for v1.25.0
chore: release: update changelog and version for v1.25.0
2023-11-16 12:07:31 +01:00
Phi
ee5cad3796 chore: Update version and changelog
chore: Update version and changelog
2023-11-16 11:36:35 +01:00
Phi
677dfde7de Correct rc-version in changelog
Correct rc-version in changelog
2023-11-08 17:20:48 +01:00
Phi
e5792897bd Update changelog
Update changelog
2023-11-08 17:17:13 +01:00
jennijuju
fbb575975f update comm 2023-11-08 23:39:26 +08:00
jennijuju
dcd59ce587 add recovery instruction 2023-11-08 21:06:02 +08:00
jennijuju
892308020f bump the version 2023-11-02 08:00:15 +08:00
jennijuju
aaf80542fc add a callout for actor cid 2023-11-02 07:42:46 +08:00
Jiaying Wang
b67d1563ed Update CHANGELOG.md 2023-11-02 07:01:52 +08:00
Phi
fb8e89674d Bump version and changelog
Bump version and changelog
2023-10-31 18:41:54 -04:00
Phi
6f9e02fd73 Bump version and changelog
Bump version and changelog
2023-10-31 18:39:26 -04:00
Phi
f7917f6f4d Add backport to the changelog
Add backport to the changelog
2023-10-18 15:16:28 +01:00
Phi
ef0bc1854c build: release: v1.25.0-rc1
Update the changelog for v1.25.0-rc1
2023-10-18 15:16:28 +01:00
Andrew Jackson (Ajax)
6c4af9bdaa changelog 1.25 2023-10-17 14:29:42 -05:00
Andrew Jackson (Ajax)
85fd3f2f99 changelog 2023-10-17 13:59:57 -05:00
Andrew Jackson (Ajax)
2bc4951d79 Merge branch 'release/v1.24.0' into release/v1.25.0 2023-10-17 10:19:51 -05:00