Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: msapprovals missing pending transaction #395

Merged
merged 11 commits into from
Feb 19, 2021
Merged

fix: msapprovals missing pending transaction #395

merged 11 commits into from
Feb 19, 2021

Conversation

iand
Copy link
Contributor

@iand iand commented Feb 19, 2021

Fixes #394

@iand iand requested a review from hsanjuan February 19, 2021 12:02
act, err := p.node.StateGetActor(ctx, msg.To, pts.Key())
// pts is the tipset containing the messages, so we need the state as seen at the start of message processing
// for that tipset
act, err := p.node.StateGetActor(ctx, msg.To, pts.Parents())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did some underlying behaviour change that now we need to use the parents?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but pts is the tipset containing the message, so we need to look at the actor state before the message was applied

@iand iand merged commit ed757da into master Feb 19, 2021
@iand iand deleted the fix/issue-394 branch February 19, 2021 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

msapprovals task cannot find pending transaction
2 participants