From 295401df371b868d4d9511f6d5e8a48d57e812d9 Mon Sep 17 00:00:00 2001 From: Rachel Bousfield Date: Tue, 30 Apr 2024 00:32:57 -0600 Subject: [PATCH] revert polynomial change --- arbos/programs/data_pricer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbos/programs/data_pricer.go b/arbos/programs/data_pricer.go index a024ac925..b0184d7dc 100644 --- a/arbos/programs/data_pricer.go +++ b/arbos/programs/data_pricer.go @@ -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