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

fix: deserialize missing state mutability as non payable #488

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Jan 20, 2024

Closes #485

state mutability field was only added in 0.4.16: https://github.com/ethereum/solidity/releases/tag/v0.4.16

use default(NonPayable) if missing

I think technically this should be an option but this only affects contracts older than 7 years

@mattsse mattsse force-pushed the matt/fix-use-state-mutability-default branch from a5d68dd to 15427ab Compare January 20, 2024 07:24
@DaniPopes DaniPopes merged commit 317951e into main Jan 20, 2024
21 checks passed
@DaniPopes DaniPopes deleted the matt/fix-use-state-mutability-default branch January 20, 2024 08:18
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.

[Bug] sol! JSON file
2 participants