-
Notifications
You must be signed in to change notification settings - Fork 170
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
Update fip-0077.md specification #963
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -45,11 +45,15 @@ Furthermore, allowing network participants to cheaply and easily create numerous | |||||||||||||
|
||||||||||||||
## Specification | ||||||||||||||
|
||||||||||||||
In creating a new Miner actor, | ||||||||||||||
|
||||||||||||||
- Currently: there is no cost associated with creating new miner actors other than the gas cost for the CreateMiner message, so users spam many new miner actors without limit | ||||||||||||||
- Proposed: | ||||||||||||||
Require transfer a certain amount of money to the miner's account as locked reward, and the amount of this money depends on the pledge required to reach the network's block production threshold. | ||||||||||||||
To combat spamming, a deposit reflecting the opportunity cost is proposed for each new miner creation, detailed as follows: | ||||||||||||||
### Deposit Amount Calculation: | ||||||||||||||
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
This base amount will be multiplied by the sealing cost pledge, approximately 5.5 FIL/t as of 3/16/2024, as determined by StateMinerInitialPledgeCollateral. This reflects the economic conditions of the network. | ||||||||||||||
Comment on lines
+50
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I suppose this is what you meant
Comment on lines
+50
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the final formula just There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
### Vesting Schedule: | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
Deposited funds will be locked as rewards for 180 days, representing the opportunity cost and ensuring funds are temporarily inaccessible. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe we shouly released to miner There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Exactly 180 days as a cliff, or a ramped release? Is the proposal to use the existing vesting table data structure for this? That would be fine, but needs to be stated. |
||||||||||||||
### Handling Deposit Discrepancies: | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
If the deposit is insufficient, the user will be notified of the exact amount required to proceed. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems like a client implementation detail. For this spec, maybe consider to rephrase this as "Miner actor creation will fail if user fail to provide sufficient deposit." There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jennijuju thank you for your suggestion. I will modify the statement to reflect that miner actor creation will fail due to insufficient deposit, and I will also include details about the exact deposit amount required. This adjustment aims to address concerns regarding variable deposit amounts. |
||||||||||||||
Surplus deposits will be refunded to the Storage Provider's (SP) balance, ensuring only the necessary funds are locked. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
||||||||||||||
## Design Rationale | ||||||||||||||
|
||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.