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

Operation not listed when no outputs and ABI is missing "constant" key #6

Open
TuxPaper opened this issue Sep 19, 2021 · 0 comments
Open

Comments

@TuxPaper
Copy link

ABIs with "Operation" functions that have no output ("outputs": []) do not show up in Operations tab. Possibly bug applies to only "nonpayable" stateMutability, but might include other states ("view" state shows the function, haven't checked others)

Workaround: Add "constant" : false to the ABI's functions that do not show up in "Operations" tab. JustSmartContracts will now show the operation in the Operations tab

The "constant" key in the ABI spec is now deprecated and removed since Solidity v0.6. See https://docs.soliditylang.org/en/v0.5.14/abi-spec.html under "Warning" section.

fffy2366 added a commit to hifreelight/justsmartcontracts that referenced this issue Mar 4, 2022
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

No branches or pull requests

1 participant