Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Feb 27, 2024
1 parent 2156609 commit d778788
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gno.land/pkg/sdk/vm/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"regexp"
"strings"

"github.com/gnolang/gno/gnovm/pkg/gnolang"
gno "github.com/gnolang/gno/gnovm/pkg/gnolang"
"github.com/gnolang/gno/gnovm/stdlibs"
"github.com/gnolang/gno/tm2/pkg/errors"
Expand Down Expand Up @@ -162,7 +161,7 @@ func (vm *VMKeeper) AddPackage(ctx sdk.Context, msg MsgAddPackage) error {
}

// Validate Gno syntax and type check.
if err := gnolang.TypeCheckMemPackage(memPkg, store); err != nil {
if err := gno.TypeCheckMemPackage(memPkg, store); err != nil {
return err
}

Expand Down Expand Up @@ -324,7 +323,7 @@ func (vm *VMKeeper) Run(ctx sdk.Context, msg MsgRun) (res string, err error) {
}

// Validate Gno syntax and type check.
if err = gnolang.TypeCheckMemPackage(memPkg, store); err != nil {
if err = gno.TypeCheckMemPackage(memPkg, store); err != nil {
return "", err
}

Expand Down

0 comments on commit d778788

Please sign in to comment.