Skip to content

Commit 6033e83

Browse files
committed
Update TestEstimates_CsvTable output
1 parent 99c2779 commit 6033e83

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pkg/solana/currencycreator/estimate_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestEstimates_CsvTable(t *testing.T) {
6262
startValue := uint64(10000) // $0.01
6363
endValue := uint64(1000000000000000) // $1T
6464

65-
fmt.Println("value locked,total circulating supply,new circulating supply,payment value,payment quarks,sell value")
65+
fmt.Println("value locked,total circulating supply,payment value,payment quarks,sell value,new circulating supply")
6666
for valueLocked := startValue; valueLocked <= endValue; valueLocked *= 10 {
6767
totalCirculatingSupply, _ := EstimateBuy(&EstimateBuyArgs{
6868
BuyAmountInQuarks: valueLocked,
@@ -91,10 +91,11 @@ func TestEstimates_CsvTable(t *testing.T) {
9191
CurrentSupplyInQuarks: 0,
9292
ValueMintDecimals: 6,
9393
})
94+
9495
diff = int64(totalCirculatingSupply) - int64(newCirculatingSupply) - int64(paymenQuarks)
9596
require.True(t, diff >= -1 && diff <= 1)
9697

97-
fmt.Printf("%d,%d,%d,%d,%d,%d\n", valueLocked, totalCirculatingSupply, newCirculatingSupply, paymentValue, paymenQuarks, sellValue)
98+
fmt.Printf("%d,%d,%d,%d,%d,%d\n", valueLocked, totalCirculatingSupply, paymentValue, paymenQuarks, sellValue, newCirculatingSupply)
9899
}
99100
}
100101
}

pkg/solana/currencycreator/exponential_curve.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import (
55
"math/big"
66
)
77

8-
// Note: Generated with Grok 4 based on curve.rs, and not 100% accurate with on-chain program
9-
108
const (
119
DefaultCurveDecimals = 18
1210

0 commit comments

Comments
 (0)