Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Porep Gas charge reduced 4x past v7 #1301

Merged
merged 2 commits into from
Nov 12, 2020
Merged

Conversation

ZenGround0
Copy link
Contributor

Gas rebalancing here puts PoRep gas charges 4x lower to account for speedup in default proofs implementation. @Kubuxu has requested we include this in actors v2.3.x. Iit is high impact and a simple change hence this PR.

Copy link
Contributor

@acruikshank acruikshank left a comment

Choose a reason for hiding this comment

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

Looks good.

@@ -259,10 +260,15 @@ func (a Actor) UpdatePledgeTotal(rt Runtime, pledgeDelta *abi.TokenAmount) *abi.
// This number is empirically determined
const GasOnSubmitVerifySeal = 34721049
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a big deal, but you may want to make this point to the constant in the V0 repo the way we do parameter types.

@ZenGround0 ZenGround0 merged commit d84628a into master Nov 12, 2020
Kubuxu pushed a commit that referenced this pull request Nov 14, 2020
This reverts commit d84628a.

Signed-off-by: Jakub Sztandera <[email protected]>
ZenGround0 pushed a commit that referenced this pull request Nov 14, 2020
This reverts commit d84628a.

Signed-off-by: Jakub Sztandera <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants