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

WIP: script to run multiple blocks #353

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

odesenfans
Copy link
Collaborator

Issue Number: N/A

Type

  • feature
  • bugfix
  • dev (no functional changes, no API changes)
  • fmt (formatting, renaming)
  • build
  • docs
  • testing

Description

Breaking changes?

  • yes
  • no

FAILURES=0

# Create a directory to store output files
OUTPUT_DIR="output_files"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could be more descriptive

# Create a directory to store output files
OUTPUT_DIR="output_files"
mkdir -p "$OUTPUT_DIR"
export RPC_ENDPOINT_TESTNET="http://localhost:9545"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be configurable (I don't use localhost)

@notlesh
Copy link
Collaborator

notlesh commented Sep 6, 2024

#357 could be useful here, for example you could grep "inner_exc error" when $? -ne 0.

@odesenfans odesenfans force-pushed the od/script-to-run-multiple-blocks branch from b4b679a to b8b9a3c Compare September 10, 2024 16:05
@notlesh
Copy link
Collaborator

notlesh commented Sep 10, 2024

Another useful thing to print here would be the number of transactions (or something correlated to the time it takes to execute the block / reproduce the failure).

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.

2 participants