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

cache the schema IDs #149

Open
github-actions bot opened this issue Aug 28, 2024 · 0 comments
Open

cache the schema IDs #149

github-actions bot opened this issue Aug 28, 2024 · 0 comments

Comments

@github-actions
Copy link

weird/leaf/ts/index.ts

Lines 323 to 330 in 9b0f564

static schemaId(): Digest {
// TODO: cache the schema IDs
const name = this.componentName();
const specificationId = compute_entity_id(entity_from_components(this.specification()));
const schemaBytes = borshSerialize(
BorshSchema.Struct({
name: BorshSchema.String,


This issue was generated by todo-issue based on a TODO comment in 9b0f564.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants