We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Other (please provide more details)
I want to be able to easily create selector bytes at compile time using a macro like selector!("getMaker()")
selector!("getMaker()")
pub const GET_MAKER: [u8; 4] = selector!("getMaker()");
I am not sure which component this should/would live in.
The text was updated successfully, but these errors were encountered:
You can already achieve this with the sol! macro:
sol! { function getMaker(); } getMakerCall::SELECTOR;
If you really want just keccak256 at compile time, then use keccak-const.
keccak-const
Sorry, something went wrong.
No branches or pull requests
Component
Other (please provide more details)
Describe the feature you would like
I want to be able to easily create selector bytes at compile time using a macro like
selector!("getMaker()")
Additional context
I am not sure which component this should/would live in.
The text was updated successfully, but these errors were encountered: