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

Const ClassHash and ContractAddress #7055

Open
ArielElp opened this issue Jan 12, 2025 · 0 comments
Open

Const ClassHash and ContractAddress #7055

ArielElp opened this issue Jan 12, 2025 · 0 comments
Labels
roadmap a feature included in the public roadmap

Comments

@ArielElp
Copy link
Collaborator

ArielElp commented Jan 12, 2025

Add support for:

const CLASS_HASH: ClassHash = 0x123.try_into().unwrap();
const ADDRESS: ContractAdress = 0x123.try_into().unwrap();

Depends on support for const functions (in this context, we need to be able to run try_into and unwrap).

WIP in #6961

@ArielElp ArielElp converted this from a draft issue Jan 12, 2025
@ArielElp ArielElp added the roadmap a feature included in the public roadmap label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap a feature included in the public roadmap
Projects
Status: Upcomimg
Development

No branches or pull requests

1 participant