From 95df7b0c42414f987e8e5bb2696c7443ae7666d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20=C5=BDivkovi=C4=87?= Date: Tue, 5 Nov 2024 07:19:03 +0100 Subject: [PATCH] chore: tidy `misc/loop` mod (#3065) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This PR tidies the `misc/loop` `go.mod`. I'm not sure how the CI didn't catch this, or why it's green 🤷‍♂️
Contributors' checklist... - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests
--- .github/workflows/mod-tidy.yml | 2 +- contribs/gnomigrate/go.mod | 2 +- gno.land/pkg/gnoland/types.go | 2 ++ misc/loop/go.sum | 2 -- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mod-tidy.yml b/.github/workflows/mod-tidy.yml index 118761bddf9..24eab553d19 100644 --- a/.github/workflows/mod-tidy.yml +++ b/.github/workflows/mod-tidy.yml @@ -23,4 +23,4 @@ jobs: - name: Check go.mod files are up to date working-directory: ${{ inputs.modulepath }} run: | - make tidy VERIFY_GO_SUMS=true + make tidy VERIFY_MOD_SUMS=true diff --git a/contribs/gnomigrate/go.mod b/contribs/gnomigrate/go.mod index 0499853969f..c492ae7c818 100644 --- a/contribs/gnomigrate/go.mod +++ b/contribs/gnomigrate/go.mod @@ -1,6 +1,6 @@ module github.com/gnolang/gnomigrate -go 1.23 +go 1.22 require ( github.com/gnolang/gno v0.0.0-00010101000000-000000000000 diff --git a/gno.land/pkg/gnoland/types.go b/gno.land/pkg/gnoland/types.go index b1bedb541aa..6bc4417d8e0 100644 --- a/gno.land/pkg/gnoland/types.go +++ b/gno.land/pkg/gnoland/types.go @@ -53,6 +53,8 @@ func ReadGenesisTxs(ctx context.Context, path string) ([]TxWithMetadata, error) scanner = bufio.NewScanner(file) ) + scanner.Buffer(make([]byte, 1_000_000), 2_000_000) + for scanner.Scan() { select { case <-ctx.Done(): diff --git a/misc/loop/go.sum b/misc/loop/go.sum index f6a75e3740a..27ed94fecae 100644 --- a/misc/loop/go.sum +++ b/misc/loop/go.sum @@ -70,8 +70,6 @@ github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gnolang/overflow v0.0.0-20170615021017-4d914c927216 h1:GKvsK3oLWG9B1GL7WP/VqwM6C92j5tIvB844oggL9Lk= github.com/gnolang/overflow v0.0.0-20170615021017-4d914c927216/go.mod h1:xJhtEL7ahjM1WJipt89gel8tHzfIl/LyMY+lCYh38d8= -github.com/gnolang/tx-archive v0.3.0 h1:5Fr39yAT7nnAPKvcmKmBT+oPiBhMhA0aUAIEeXrYG4I= -github.com/gnolang/tx-archive v0.3.0/go.mod h1:WDgxSZibE7LkGdiVjkU/lhA35xyXjrSkZp6kwuTvSSw= github.com/gnolang/tx-archive v0.4.0 h1:+1Rgo0U0HjLQLq/xqeGdJwtAzo9xWj09t1oZLvrL3bU= github.com/gnolang/tx-archive v0.4.0/go.mod h1:seKHGnvxUnDgH/mSsCEdwG0dHY/FrpbUm6Hd0+KMd9w= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=