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

Keccak256 event names in code generation, not Elm #13

Open
cmditch opened this issue Feb 22, 2019 · 0 comments
Open

Keccak256 event names in code generation, not Elm #13

cmditch opened this issue Feb 22, 2019 · 0 comments

Comments

@cmditch
Copy link
Owner

cmditch commented Feb 22, 2019

widgetCreatedEvent : Address -> LogFilter
widgetCreatedEvent contractAddress =
    { fromBlock = LatestBlock
    , toBlock = LatestBlock
    , address = contractAddress
    , topics = [ Just <| U.keccak256 "WidgetCreated(uint256,uint256,uint256,address)" ]
    }

should be

widgetCreatedEvent : Address -> LogFilter
widgetCreatedEvent contractAddress =
    { fromBlock = LatestBlock
    , toBlock = LatestBlock
    , address = contractAddress
    , topics = [ Just (Hex "3ea36afa2b30c3b1cd32fe6dd18527f491051b87e1e4f45169c8ba494e5f68e6") ]
    }
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