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 regression of stateMutability not being included in ABI #722

Merged
merged 1 commit into from
May 26, 2022

Conversation

cburgdorf
Copy link
Collaborator

What was wrong?

The new ABI crate that landed with #676 did not have the stateMutability field included. It should default to payable for now.

How was it fixed?

This is what #705 did but for the new ABI crate

@cburgdorf cburgdorf force-pushed the christoph/fix/state_mutability branch from 3bc6634 to cf96a88 Compare May 26, 2022 13:08
@cburgdorf cburgdorf requested review from Y-Nak and g-r-a-n-t May 26, 2022 13:08
@cburgdorf cburgdorf force-pushed the christoph/fix/state_mutability branch from cf96a88 to 3bdd9cd Compare May 26, 2022 13:09
@codecov-commenter
Copy link

Codecov Report

Merging #722 (3bc6634) into master (4d290ae) will decrease coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 3bc6634 differs from pull request most recent head 3bdd9cd. Consider uploading reports for the commit 3bdd9cd to get more accurate results

@@            Coverage Diff             @@
##           master     #722      +/-   ##
==========================================
- Coverage   81.67%   81.66%   -0.01%     
==========================================
  Files         105      105              
  Lines       11827    11827              
==========================================
- Hits         9660     9659       -1     
- Misses       2167     2168       +1     
Impacted Files Coverage Δ
crates/abi/src/function.rs 95.00% <ø> (ø)
crates/analyzer/src/context.rs 60.83% <0.00%> (-0.84%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d290ae...3bdd9cd. Read the comment docs.

Copy link
Member

@Y-Nak Y-Nak left a comment

Choose a reason for hiding this comment

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

I'm sorry that I forgot to reflect the change. Thanks!

@cburgdorf cburgdorf merged commit f810961 into ethereum:master May 26, 2022
@cburgdorf
Copy link
Collaborator Author

I'm sorry that I forgot to reflect the change. Thanks!

No worries!

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