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

FIP-0073: Remove the beneficiary from the self_destruct syscall #815

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

Stebalien
Copy link
Member

Currently, actors can delete themselves and send away their funds (to another actor) in a single operation. Unfortunately, this doesn't behave exactly like a normal transfer of funds and introduces some complexity. We propose to simplify this "self destruct" mechanism by requiring users to send away any remaining funds first through a normal send, if desired.

(this is a tiny FIP)

FIPS/fip-XXX.md Outdated Show resolved Hide resolved
FIPS/fip-XXX.md Outdated Show resolved Hide resolved
FIPS/fip-XXX.md Outdated Show resolved Hide resolved
FIPS/fip-XXX.md Outdated
@@ -0,0 +1,104 @@
---
fip: <to be assigned>
Copy link
Member

Choose a reason for hiding this comment

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

FIP-0073

Copy link
Member

Choose a reason for hiding this comment

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

dont forget to add to the readme too

@jennijuju jennijuju changed the title Remove the beneficiary from the self_destruct syscall FIP-0073: Remove the beneficiary from the self_destruct syscall Sep 1, 2023
Currently, actors can delete themselves and send away their funds (to
another actor) in a single operation. Unfortunately, this doesn't behave
exactly like a _normal_ transfer of funds and introduces some
complexity. We propose to simplify this "self destruct" mechanism by
requiring users to send away any remaining funds first through a normal
send, if desired.
@Stebalien Stebalien merged commit f0f9b38 into filecoin-project:master Sep 1, 2023
1 check passed
@Stebalien Stebalien deleted the steb/self-destruct branch September 1, 2023 19:04
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.

4 participants