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

Dedup wasm blobs #5185

Open
s8sato opened this issue Oct 23, 2024 · 0 comments
Open

Dedup wasm blobs #5185

s8sato opened this issue Oct 23, 2024 · 0 comments
Labels
Optimization Something isn't working as well as it should

Comments

@s8sato
Copy link
Contributor

s8sato commented Oct 23, 2024

As is evident in the case of multisig, triggers for different authorities can have the same logic, and currently they each hold a full blob, which would be a waste of space.

Possible solutions I think of:

  1. Let by-call triggers inherit the caller authority
  2. Have a dedicated instruction to register to hash-to-blob map and let other instructions and transactions hold ExecutableRef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization Something isn't working as well as it should
Projects
None yet
Development

No branches or pull requests

1 participant