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: guard against self beneficiary when deleting actor #3478

Closed
wants to merge 2 commits into from

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Sep 2, 2020

This adds a check to ensure the calling actor cannot specify themselves as the beneficiary - they're about to be deleted so this stops us from losing their funds.

More context and test vector for this edge case here: filecoin-project/test-vectors#92 (comment)

@raulk
Copy link
Member

raulk commented Sep 2, 2020

@alanshaw mind rebasing on master now that #3449 is merged? That would get rid of the CI failure.

@alanshaw alanshaw force-pushed the fix/guard-against-self-beneficiary branch from 9b745c5 to a182457 Compare September 2, 2020 16:48
@alanshaw alanshaw mentioned this pull request Sep 16, 2020
21 tasks
@alanshaw alanshaw force-pushed the fix/guard-against-self-beneficiary branch from a182457 to dba166a Compare September 16, 2020 16:11
@arajasek
Copy link
Contributor

Superseded by #4783

@arajasek arajasek closed this Nov 10, 2020
@Kubuxu Kubuxu deleted the fix/guard-against-self-beneficiary branch November 25, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/consensus Impact: Consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants