Skip to content
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

chore: tidy misc/loop mod #3065

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mod-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion contribs/gnomigrate/go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions gno.land/pkg/gnoland/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context on this -- the default scanner limit is ~65k chars, which proved to be too little for even our portal loop transactions, so I bumped the value to ~1M chars


for scanner.Scan() {
select {
case <-ctx.Done():
Expand Down
2 changes: 0 additions & 2 deletions misc/loop/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading