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

feat(gstd): add actor_id! macro #3916

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

StackOverflowExcept1on
Copy link
Member

@StackOverflowExcept1on StackOverflowExcept1on commented Apr 23, 2024

Resolves #3912

This macro can be useful for interacting with known programs/built-in actors using gstd.

- ActorId::from_bs58(address)
+ actor_id!(address)

@StackOverflowExcept1on StackOverflowExcept1on added A0-pleasereview PR is ready to be reviewed by the team D3-gstd Gear Standard Library labels Apr 23, 2024
gstd/codegen/src/lib.rs Show resolved Hide resolved
@StackOverflowExcept1on StackOverflowExcept1on merged commit 291dfee into master Apr 25, 2024
10 checks passed
@StackOverflowExcept1on StackOverflowExcept1on deleted the av/gstd-actor-id-macro branch April 25, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team D3-gstd Gear Standard Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding some crate for compile-time calculations of BS58 and SS58 addresses
3 participants