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

Types not always enforced on events #1529

Closed
haydenadams opened this issue Jul 17, 2019 · 1 comment · Fixed by #1537
Labels
bug

Comments

@haydenadams
Copy link

@haydenadams haydenadams commented Jul 17, 2019

Haven't dug deeply on this one but something equivalent to this is compiling for me:

Sale: event({eth_sold: indexed(uint256(wei))})

@public
def logSale(amount: uint256):
   log.Sale(amount)
@jacqueswww

This comment has been minimized.

Copy link
Collaborator

@jacqueswww jacqueswww commented Jul 18, 2019

So unit check is missing, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.