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

For contract events with 0 arguments, no type alias or Decoder is generated, but the module attempts to expose them anyway. #11

Closed
coinop-logan opened this issue Jan 9, 2019 · 1 comment

Comments

@coinop-logan
Copy link

coinop-logan commented Jan 9, 2019

For example, my contract has an event with no arguments, simply event burned().

This results in:

module Contracts.ToastytradeSell
    exposing
        ( ...
        , Burned
        , burnedEvent
        , burnedDecoder
        , ...
        )

but later, while the burnedEvent function is defined, there is no Burned type alias or burnedDecoder function.

@coinop-logan coinop-logan changed the title No "[event]Decoder" is generated for events with 0 arguments, but the code attempts to expose them anyway. For contract events with 0 arguments, no type alias or Decoder is generated, but the module attempts to expose them anyway. Jan 9, 2019
@coinop-logan
Copy link
Author

Closing as a duplicate of #9

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