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

Error early if apply test vectors returns INVALID payload #20

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

debjit-bw
Copy link
Member

No description provided.

@debjit-bw debjit-bw marked this pull request as ready for review October 15, 2024 10:41
@debjit-bw debjit-bw mentioned this pull request Oct 15, 2024
10 tasks
@@ -24,14 +24,28 @@ until curl -X POST -H "Content-Type: application/json" \
sleep 2
done

BLOCK_COUNTER=0
echo "Nethermind is available"
Copy link
Member

Choose a reason for hiding this comment

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

This script maybe called for various clients, it's not nethermind only. You can say "EL is available"

Copy link
Member Author

Choose a reason for hiding this comment

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

done

# increment block counter
BLOCK_COUNTER=$((BLOCK_COUNTER + 1))

echo "Making block $BLOCK_COUNTER"
Copy link
Member

Choose a reason for hiding this comment

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

This appears to be a double log between this line and 163

Copy link
Member Author

Choose a reason for hiding this comment

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

removed from line 163


function make_block() {
((BLOCK_COUNTER++))
# increment block counter
BLOCK_COUNTER=$((BLOCK_COUNTER + 1))
Copy link
Member

Choose a reason for hiding this comment

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

What's the motivation to change this syntax?

Copy link
Member Author

Choose a reason for hiding this comment

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

difference in how this syntax is handled between sh and bash. earlier was getting an error where docker image was exiting as soon as the make_block function got called, this commit fixed it

just verified it again with everything same, just the syntax reverted (https://github.com/debjit-bw/reth_gnosis/actions/runs/11368078320/job/31622284450)

@dapplion dapplion changed the title ci fixes Error early if apply test vectors returns INVALID payload Oct 16, 2024
@dapplion dapplion merged commit dbea759 into master Oct 16, 2024
5 of 6 checks passed
@dapplion dapplion deleted the ci-fix branch October 16, 2024 17:00
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