-
Notifications
You must be signed in to change notification settings - Fork 165
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
Update fip-0077.md specification #963
Conversation
The specification has been updated to address previous feedback. And a formula for calculating the deposit amount has been drafted. In response to concerns about variable deposit amounts, it is proposed that the message for insufficient deposits will now specify the exact amount needed to meet the deposit requirement. |
1 similar comment
The specification has been updated to address previous feedback. And a formula for calculating the deposit amount has been drafted. In response to concerns about variable deposit amounts, it is proposed that the message for insufficient deposits will now specify the exact amount needed to meet the deposit requirement. |
@ipfsforcezuofu could you delete the template text from the description box and include the details of this PR request there instead? I see you wrote it down as a comment but it will be more helpful if it is stated in the description box. Thanks! |
thanks @luckyparadise |
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.
I feel like the mechanisms are a bit underspecified, or at least lacking some rigour, but will let others opine. In the meantime, here are some formatting and clarity improvements.
- 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: |
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.
### Deposit Amount Calculation: | |
### Deposit Amount Calculation |
### Deposit Amount Calculation: | ||
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||
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. | ||
### Vesting Schedule: |
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.
### Vesting Schedule: | |
### Vesting Schedule |
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. | ||
### Vesting Schedule: | ||
Deposited funds will be locked as rewards for 180 days, representing the opportunity cost and ensuring funds are temporarily inaccessible. | ||
### Handling Deposit Discrepancies: |
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.
### Handling Deposit Discrepancies: | |
### Handling Deposit Discrepancies |
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||
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. |
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.
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | |
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. | |
The deposit amount will be based on a waterline storage deposit of 10 TiB, defined in the MINIMUM_CONSENSUS_POWER constant. | |
This base amount will be multiplied by the sealing cost pledge, approximately 5.5 FIL/TiB as of 3/16/2024, as determined by StateMinerInitialPledgeCollateral. This reflects the economic conditions of the network. |
I suppose this is what you meant
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||
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. |
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.
Is the final formula just MINIMUM_CONSENSUS_POWER x StateMinerInitialPledgeCollateral
? If so, that should be clearly written as the text can be interpreted in different ways.
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 comment
The reason will be displayed to describe this comment to others. Learn more.
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | |
The deposit amount will be based on a waterline storage deposit of 10TiB, defined in the MINIMUM_CONSENSUS_POWER constant. |
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. | ||
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. |
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.
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. | |
This base amount will be multiplied by the Initial Pledge, approximately 5.5 FIL/TiB as of 3/16/2024, as determined by StateMinerInitialPledgeCollateral. This reflects the economic conditions of the network. |
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||
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. | ||
### Vesting Schedule: | ||
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Deposited funds will be locked as rewards for 180 days, representing the opportunity cost and ensuring funds are temporarily inaccessible. | |
Deposited funds will be locked 180 days, similar to a portion of block rewards are locked for 180 days before they are released to SP, representing the opportunity cost and ensuring funds are temporarily inaccessible. |
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.
maybe we shouly released to miner
### Vesting Schedule: | ||
Deposited funds will be locked as rewards for 180 days, representing the opportunity cost and ensuring funds are temporarily inaccessible. | ||
### Handling Deposit Discrepancies: | ||
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 comment
The 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 comment
The 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.
Deposited funds will be locked as rewards for 180 days, representing the opportunity cost and ensuring funds are temporarily inaccessible. | ||
### Handling Deposit Discrepancies: | ||
If the deposit is insufficient, the user will be notified of the exact amount required to proceed. | ||
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Surplus deposits will be refunded to the Storage Provider's (SP) balance, ensuring only the necessary funds are locked. | |
Surplus deposits will be added to the Storage Provider's (SP) available balance, ensuring only the necessary funds are locked. |
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.
There's a lot more detail in filecoin-project/builtin-actors#1535. Some of this will need to be translated to the FIP as specification.
The deposit amount will be based on a waterline storage deposit of 10t, defined in the MINIMUM_CONSENSUS_POWER constant. | ||
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. | ||
### Vesting Schedule: | ||
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 comment
The 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.
As suggested by @lucky N. _FF. The PR is closed for now and will be reopened once the implementation details are finalized. |
The specification has been updated to address previous feedback. And a formula for calculating the deposit amount has been drafted. In response to concerns about variable deposit amounts, it is proposed that the message for insufficient deposits will now specify the exact amount needed to meet the deposit requirement.