Closed
Description
Build failure: BeginTransaction missing GasMeter argument
Description
After pulling the latest commit from master, when using make install
command, the installation fails during gno
installation due to a type mismatch in the BeginTransaction
function call. The compiler indicates that a required GasMeter
argument is missing in the function call in the linting code.
Your environment
- Go version go1.23.2
- OS and CPU architecture linux/amd64
- Gno commit hash causing the issue d69b552
Steps to reproduce
- Clone the Gno repository
- Checkout commit d69b552
- Run make install from the root directory
- Build fails during the
gno
installation step
Expected behaviour
The make install
command should complete successfully.
Actual behaviour
The build fails.
Logs
go install ./cmd/gnokey
[+] 'gnokey' has been installed. Read more in ./gno.land/
make --no-print-directory -C ./gnovm install
go install -ldflags "-X github.com/gnolang/gno/gnovm/pkg/gnoenv._GNOROOT=/home/stefan/gno_workspace/gno_orig/gno" ./cmd/gno
# github.com/gnolang/gno/gnovm/cmd/gno
cmd/gno/lint.go:147:34: not enough arguments in call to ts.BeginTransaction
have ("github.com/gnolang/gno/tm2/pkg/store/types".Store, "github.com/gnolang/gno/tm2/pkg/store/types".Store)
want ("github.com/gnolang/gno/tm2/pkg/store/types".Store, "github.com/gnolang/gno/tm2/pkg/store/types".Store, "github.com/gnolang/gno/tm2/pkg/store/types".GasMeter)
make[1]: *** [Makefile:43: install] Error 1
make: *** [Makefile:42: install.gno] Error 2```
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done