refactor state utilities into StateManager package, implement proper election proofs

This commit is contained in:
whyrusleeping
2019-09-09 19:14:00 -07:00
parent 6e21372ccb
commit ed45d1c2b4
29 changed files with 796 additions and 483 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ func configureStorageMiner(ctx context.Context, api api.FullNode, addr address.A
}
// This really just needs to be an api call at this point...
recp, err := api.ChainCall(ctx, &types.Message{
recp, err := api.StateCall(ctx, &types.Message{
To: addr,
From: addr,
Method: actors.MAMethods.GetWorkerAddr,