Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// TestConfigAdditionalAccountsSliceSynced ensures than if any new accounts are added the
// AccountsSlice() function is updated
func TestConfigAdditionalAccountsSliceSynced(t *testing.T) {
additionalAccountsType := reflect.TypeOf(AdditionalAccounts{})
additionalAccountsType := reflect.TypeFor[AdditionalAccounts]()
numberOfAdditionalAccounts := additionalAccountsType.NumField()

require.Greater(t, numberOfAdditionalAccounts, 0)
Expand Down
6 changes: 3 additions & 3 deletions testutil/nullify/nullify.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
)

var (
coinType = reflect.TypeOf(sdk.Coin{})
coinsType = reflect.TypeOf(sdk.Coins{})
uintType = reflect.TypeOf(math.Uint{})
coinType = reflect.TypeFor[sdk.Coin]()
coinsType = reflect.TypeFor[sdk.Coins]()
uintType = reflect.TypeFor[math.Uint]()
)

// Fill analyze all struct fields and slices with
Expand Down
Loading