-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure when using make install
#3368
Comments
The problem is that this PR was merged without being based on latest master The root problem is that we don't enforce that branches are up to date before merge. The full way to fix that is:
I must warn that the merge queue has tradeoffs and requires to modify workflows files to also target the merge-queue as well as properly marking required jobs in the repo config |
#3369) Addresses #3368 …all in lint.io lint.go: add missing 'gasMeter' param to 'BeginTransaction' call Impact: caused 'make install' to fail on branch 'master' with the following error: 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]: *** [install] Error 1 Testing: This fix resolves test failure commanded by `make test`: FAIL github.com/gnolang/gno/gnovm/cmd/gno [build failed]
Moving discussion to #3395, and closing this because the issue is fixed. |
Build failure: BeginTransaction missing GasMeter argument
Description
After pulling the latest commit from master, when using
make install
command, the installation fails duringgno
installation due to a type mismatch in theBeginTransaction
function call. The compiler indicates that a requiredGasMeter
argument is missing in the function call in the linting code.Your environment
Steps to reproduce
gno
installation stepExpected behaviour
The
make install
command should complete successfully.Actual behaviour
The build fails.
Logs
The text was updated successfully, but these errors were encountered: