Skip to content

Commit

Permalink
fix: build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyhyde committed Jan 24, 2025
1 parent 2d903bf commit f80c252
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 28 deletions.
3 changes: 1 addition & 2 deletions contract/r/gnoswap/gns/tests/halving_year_mint_test.gnoA
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import (
"testing"

"gno.land/p/demo/uassert"

"gno.land/r/gnoswap/v1/consts"
"gno.land/p/gnoswap/consts"
)

var (
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func testInit() {
std.TestSetOrigSend(nil, nil)

// set unstaking fee to 0
sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func testInit() {
std.TestSetOrigSend(nil, nil)

// set unstaking fee to 0
sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func testInit() {
std.TestSetOrigSend(nil, nil)

// set unstaking fee to 0
sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func main() {

func testInit() {
std.TestSetRealm(adminRealm)
sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func main() {
func testInit() {
std.TestSetRealm(adminRealm)

sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func testInit() {
wugnot.Deposit()
std.TestSetOrigSend(nil, nil)

sr.SetUnstakingFeeByAdmin(0)
sr.SetUnStakingFeeByAdmin(0)
}

func testCreatePool() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func testInit(t *testing.T) {
println("[", std.GetHeight(), "] [testInit]")
std.TestSetRealm(adminRealm)

SetUnstakingFeeByAdmin(0)
println("[", std.GetHeight(), "] [testInit] SetUnstakingFeeByAdmin(0)")
SetUnStakingFeeByAdmin(0)
println("[", std.GetHeight(), "] [testInit] SetUnStakingFeeByAdmin(0)")

en.ChangeDistributionPctByAdmin(
1, 7500, // staker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func testInit(t *testing.T) {
deletePoolTier(t, MUST_EXISTS_IN_TIER_1)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set community pool distribution to 0% (give it to devOps)
en.ChangeDistributionPctByAdmin(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func testInit(t *testing.T) {
std.TestSetRealm(adminRealm)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func testInit(t *testing.T) {
)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

std.TestSkipHeights(1)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func testInit_NativeCreateCollectUnstake(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func testInit(t *testing.T) {
pl.SetPoolCreationFeeByAdmin(0)

// no unstaking fee
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

std.TestSkipHeights(1)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

// set pool creation fee to 0
pl.SetPoolCreationFeeByAdmin(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func testInit(t *testing.T) {
changeWarmup(t, 3, math.MaxInt64)

// set unstaking fee to 0
SetUnstakingFeeByAdmin(0)
SetUnStakingFeeByAdmin(0)

changeWarmup(t, 0, 150)
changeWarmup(t, 1, 300)
Expand Down

0 comments on commit f80c252

Please sign in to comment.