Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Add support for selector #832

Open
piwonskp opened this issue Jan 15, 2023 · 1 comment
Open

Add support for selector #832

piwonskp opened this issue Jan 15, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@piwonskp
Copy link
Contributor

In solidity you can get the function selector by

this.funcName.selector

Currently when we transpile that expression we get invalid cairo code. We should either support it, or throw a dedicated exception

@piwonskp piwonskp added the good first issue Good for newcomers label Jan 15, 2023
@JorikSchellekens
Copy link
Contributor

I would love to see this supported over throwing an exception. If you handle this by throwing exceptions please create a new issue to handle it correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

2 participants