lotus/chain/store
Masih H. Derkani f907354300 Refactor LookupID* APIs in StateManager and StateTree
The naming of `LookupID` can cause confusion when resolving actor IDs vs
 ID addresses. To avoid this:

* Refactor `StateTree` `LookupID` to `LookupIDAddress`, because it
returns ID address.
* Refactor `StateManager` `LookupID` to
`LookupIDAddress` because it also returns ID address via a chain call to
`StateTree`.
* Introduce a new API `StateManager` dedicated to resolving address to
actor ID, called `LookupID` which returns `abi.ActorID`.

For context, see:
 * https://github.com/filecoin-project/lotus/pull/11723#discussion_r1534728607
2024-04-24 15:25:48 +01:00
..
basefee_test.go feat: support typed errors over RPC 2022-09-27 15:34:01 +00:00
basefee.go chore: fix imports 2022-06-14 17:00:51 +02:00
checkpoint_test.go fix: sync: atomically switch chains when checkpointing (#11595) 2024-01-26 08:50:32 -08:00
coalescer_test.go fix make gen 2022-08-29 16:25:30 +02:00
coalescer.go fix make gen 2022-08-29 16:25:30 +02:00
fts.go chore: fix imports 2022-06-14 17:00:51 +02:00
index_test.go feat: chain import: don't walk to genesis - 2-3x faster snapshot import (#11446) 2023-11-25 13:29:57 -08:00
index.go Appease the linter 2023-05-19 20:02:47 +02:00
messages.go Refactor LookupID* APIs in StateManager and StateTree 2024-04-24 15:25:48 +01:00
snapshot.go feat: chain import: don't walk to genesis - 2-3x faster snapshot import (#11446) 2023-11-25 13:29:57 -08:00
store_test.go feat: chain import: don't walk to genesis - 2-3x faster snapshot import (#11446) 2023-11-25 13:29:57 -08:00
store.go fix: sync: atomically switch chains when checkpointing (#11595) 2024-01-26 08:50:32 -08:00