Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
revert polynomial change
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed Apr 30, 2024
1 parent 2323998 commit 295401d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbos/programs/data_pricer.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (p *DataPricer) UpdateModel(tempBytes uint32, time uint64) (*big.Int, error
}

exponent := arbmath.OneInBips * arbmath.Bips(demand) / arbmath.Bips(inertia)
multiplier := arbmath.ApproxExpBasisPoints(exponent, 8).Uint64()
multiplier := arbmath.ApproxExpBasisPoints(exponent, 12).Uint64()
costPerByte := arbmath.SaturatingUMul(uint64(minPrice), multiplier) / 10000
costInWei := arbmath.SaturatingUMul(costPerByte, uint64(tempBytes))
return arbmath.UintToBig(costInWei), nil
Expand Down

0 comments on commit 295401d

Please sign in to comment.