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

Add EOF Errors to evmone configuration #225

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

hugo-dc
Copy link
Member

@hugo-dc hugo-dc commented Mar 2, 2024

No description provided.

Comment on lines 332 to 341
echo $result | grep "OK" > /dev/null
if [ $? -eq 0 ]; then
echo "ok."
else
echo "$result"
fi
Copy link
Member

Choose a reason for hiding this comment

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

Note @winsvega : this hack is a workaround for this issue #223

Copy link
Member

Choose a reason for hiding this comment

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

But we'd be fine with merging it with this workaround for now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The response can verify in eof validation code yes

Copy link
Member

@gumb0 gumb0 left a comment

Choose a reason for hiding this comment

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

Error messages and start script look fine to me.

if [ $1 = "eof" ] || [ $1 = "t8n" ] || [ $1 = "b11r" ]; then
evmone $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26
if [ $1 = "t8n" ] || [ $1 = "b11r" ]; then
evmone-t8n $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to check if it still works with .py tests.

evmone -v
evmone-t8n -v
elif [ $1 = "eof" ]; then
result=$(echo $5 | evmone-eofparse)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Passing number 5 here is bot reliable. Its position might change. What are the 2, 3, 4 that ignored?

@winsvega winsvega merged commit 47151cc into ethereum:develop Mar 27, 2024
1 check passed
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