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

test(explorer): set a max_batch_size to the explorer #1202

Closed
wants to merge 38 commits into from

Conversation

avilagaston9
Copy link
Collaborator

@avilagaston9 avilagaston9 commented Oct 8, 2024

Motivation

This PR is solely to test #1198

Description

How to Test

  1. Start anvil:
make anvil_start_with_block_time
  1. Start the explorer
make explorer_build_db
make explorer_create_env
make run_explorer
  1. Start the test:
cd operator/pkg
go test -run TestGetBatchExplorerOOM -v -timeout 0

In the explorer, you should be able to see the following output:

[error] Error calculating proof hashes: {:http, :body_too_large}

Base automatically changed from 1016-fixexplorer-fetch_batch_data_pointer-in-explorer-reads-the-entire-response-body-without-any-limitation to staging October 14, 2024 20:33
@entropidelic
Copy link
Contributor

closing this one now that #1198 has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants