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
Friðrik Ásmundsson
36913db0cd
Merge pull request #10587 from filecoin-project/10583-enable-index-for-statewaitformessage
...
feat: Use MessageIndex in WaitForMessage
2023-03-29 18:38:39 +02:00
Fridrik Asmundsson
f44fa5d96f
Use MessageIndex in WaitForMessage
2023-03-29 13:35:27 +02:00
Fridrik Asmundsson
8aa4917741
Fix bug in searchForIndexedMsg which always returns an error
2023-03-29 13:18:26 +02:00
vyzo
883bbf8701
add sanity check in SearchForIndexedMsg call site
...
Check that receipt is non nil, and the message was indeed found.
2023-03-16 17:51:28 +02:00
vyzo
3710768910
add TODO for WaitForMessage to use the index
2023-03-16 17:45:16 +02:00
vyzo
ef2f2b0f89
reword funny comment
2023-03-16 17:43:56 +02:00
vyzo
8bceaadda8
chain errors in searchForIndexedMsg
2023-03-16 17:32:06 +02:00
vyzo
47646cbd69
add optimization TODO comment
2023-03-13 15:19:07 +02:00
vyzo
1970792445
fix bug in searchForIndexedMsg
...
Need to use and return the execution tipset
2023-03-13 14:56:00 +02:00
vyzo
05cb2428c1
add confidence check for indexed message epoch
2023-03-13 12:33:19 +02:00
vyzo
171734ea31
hook the index into the rest of lotus
2023-03-12 15:25:07 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
vyzo
dd327f0b22
plumb more contexts
2021-12-17 11:42:09 +02:00
Aayush Rajasekaran
dfb65ed89f
Plumb contexts through
2021-12-11 17:04:00 -05:00
Aayush Rajasekaran
441bcdc4af
StateSearchMsg: Correct usage of the allowReplaced flag
2021-10-05 23:58:16 -04:00
Łukasz Magiera
ca1cd741c3
stmgr: Split stmgr.go into smaller subfiles
2021-07-27 15:15:50 +02:00