Skip to content

Commit

Permalink
refactor: rename to oneHourBeforeTGE
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Nov 10, 2023
1 parent c908979 commit ada41c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions internal/circulating_supply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestCirculatingSupply(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, 141_043_527_750_000},
{oneYearAfterTGE, 399_419_057_601_768},
{twoYearsAfterTGE, 839_606_500_049_419},
Expand All @@ -34,7 +34,7 @@ func Test_publicAllocationCirculating(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, publicAllocationGenesis},
{oneYearAfterTGE, publicAllocationGenesis},
}
Expand All @@ -52,7 +52,7 @@ func Test_investorsCirculating(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, 0},
{oneDayAfterTGE, 0},
{oneYearAfterTGE, 119_212_799_030_136},
Expand All @@ -74,7 +74,7 @@ func Test_coreContributorsCirculating(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, 0},
{oneDayAfterTGE, 0},
{oneYearAfterTGE, 58_949_689_726_027},
Expand All @@ -96,7 +96,7 @@ func Test_ecosystemCirculating(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, .25 * ecosystem},
{oneDayAfterTGE, .25 * ecosystem},
{oneYearAfterTGE, .25 * ecosystem},
Expand Down
2 changes: 1 addition & 1 deletion internal/dates.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package internal
import "time"

var (
beforeTGE = time.Date(2023, time.October, 31, 13, 0, 0, 0, time.UTC)
oneHourBeforeTGE = time.Date(2023, time.October, 31, 13, 0, 0, 0, time.UTC)
TGE = time.Date(2023, time.October, 31, 14, 0, 0, 0, time.UTC)
oneDayAfterTGE = TGE.AddDate(0, 0, 1)
oneYearAfterTGE = TGE.AddDate(1, 0, 0)
Expand Down
2 changes: 1 addition & 1 deletion internal/total_supply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestTotalSupply(t *testing.T) {
want int64
}
testCases := []testCase{
{beforeTGE, 0},
{oneHourBeforeTGE, 0},
{TGE, initialTotalSupplyInUtia},
{oneDayAfterTGE, 1000219178082191},
{oneYearAfterTGE, 1080213041095605},
Expand Down

0 comments on commit ada41c8

Please sign in to comment.