Skip to content

Conversation

@msooseth
Copy link
Collaborator

@msooseth msooseth commented Oct 27, 2025

Description

We should warn on precompile addresses? I am not sure whether we should just return 0 without warning, though. Something for Lexi or someone with deep knowledge could perhaps help with.

The tests are also better, it compiles the code rather than giving raw assembly. So it should be easier to follow what's going on.

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

@msooseth msooseth marked this pull request as ready for review October 28, 2025 11:53
@msooseth msooseth requested a review from blishko October 28, 2025 11:53
@msooseth msooseth force-pushed the Warn-on-precompiled-addresses branch from c284510 to 526460a Compare October 28, 2025 14:36
@msooseth msooseth changed the title Also warn on precompile address fetch Also warn on precompile address fetch + better tests Oct 28, 2025
Copy link
Collaborator

@blishko blishko left a comment

Choose a reason for hiding this comment

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

The changes in the tests are unrelated to the changes in the code, no?

Wouldn't it be better to do this in two separate PRs? Or at least in two separate commits.

@msooseth msooseth force-pushed the Warn-on-precompiled-addresses branch from 526460a to 4f178e6 Compare October 28, 2025 14:53
@msooseth msooseth changed the title Also warn on precompile address fetch + better tests Also warn on precompile address fetch Oct 28, 2025
@msooseth
Copy link
Collaborator Author

Fair enough, let me fix!

@msooseth
Copy link
Collaborator Author

Fixed now, sorry. New PR opened for the updated tests.

Copy link
Collaborator

@blishko blishko left a comment

Choose a reason for hiding this comment

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

LGMT!

@msooseth msooseth merged commit 710ba6b into main Oct 28, 2025
5 of 7 checks passed
@msooseth msooseth deleted the Warn-on-precompiled-addresses branch October 28, 2025 15:50
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