You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems abis generated by export-abi command can have pure or view state mutability for functions emitting a log (which would be state changing, payable or nonpayable, in Solidity).
I have created a minimal example here. Copy pasting the relevant parts below as well.
The text was updated successfully, but these errors were encountered:
afosan
changed the title
export-abi differs from Solidity in terms of state mutability of functions emitting logexport-abi differs from Solidity in terms of state mutability of functions emitting log
Jan 27, 2024
It seems abis generated by export-abi command can have
pure
orview
state mutability for functions emitting a log (which would be state changing,payable
ornonpayable
, in Solidity).I have created a minimal example here. Copy pasting the relevant parts below as well.
Contract functions.
Output of
cargo stylus export-abi
.The text was updated successfully, but these errors were encountered: