chore: use sdkmath in misc packages (#14606)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com> Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
co-authored by
atheeshp
Marko
parent
ae1c29b8f8
commit
f2b6013cee
@@ -6,12 +6,12 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdkmath "cosmossdk.io/math"
|
||||
)
|
||||
|
||||
func FuzzTypesDecSetString(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, b []byte) {
|
||||
dec, err := sdk.NewDecFromStr(string(b))
|
||||
dec, err := sdkmath.LegacyNewDecFromStr(string(b))
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user