Skip to content

all: update constructor codes for geas v0.3.0#42

Merged
lightclient merged 2 commits into
ethereum:mainfrom
fjl:geas-0.3
Oct 27, 2025
Merged

all: update constructor codes for geas v0.3.0#42
lightclient merged 2 commits into
ethereum:mainfrom
fjl:geas-0.3

Conversation

@fjl

@fjl fjl commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator

This fixes warnings issued by geas v0.3.0 and also improves the constructor code a bit by adding stack comments. I have manually verified the bytecode is identical with this update. At some point we should probably hard-code the hashes somewhere to lock in the code as deployed on-chain.

This fixes warnings issued by geas v0.3.0 and also improves the
constructor code a bit by adding stack comments.

@lightclient lightclient left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

SGTM

@fjl

fjl commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator Author

I added another change. LMK if you hate it.

@lightclient lightclient left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The change seems nice.

@fjl

fjl commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator Author

Mostly did this so I can put a stack comment on the correct column even on the first line. Also might be marginally better since there is no need to question the number of fs with this. Not sure if it is more readable though. I always struggle interpreting these 1<<X expressions in my head. Anyways, it's good to merge now if you want.

@lightclient lightclient merged commit 620ca01 into ethereum:main Oct 27, 2025
2 checks 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.

2 participants