-
Notifications
You must be signed in to change notification settings - Fork 206
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
Fragmented bundle to chain transport #5096
Comments
cc @warner |
Some of our modules are of the form
See also: short-term version of this feature in #5002 |
@dckc That sounds like a An alternative design that would support |
I'm working on sending those stringified bundles separately, so that may help mitigate the problem. |
I don't see how the format makes any difference, but the bundles in question bear export default {"moduleFormat":"endoZipBase64","endoZipBase64":"UEsDBAoAAAAAAAAAAADoIW
|
What is the Problem Being Solved?
The chain has a maximum transaction size and a maximum message size (within a transaction). Some bundles are larger than either of these sizes. We do not want to set an arbitrary limit on bundle sizes, and would rather incentivize code sharing and smaller bundles economically.
Description of the Design
With #4396, we will have support for a new chain transaction for sending bundles. We will modify or supplement this path to support submission of partial bundles or “bundle fragments”. The protocol for submitting a bundle to the chain will become:
An open consideration is whether the final install message is redundant with the original “bill of materials” message. Also, the bill of materials could conceivably be the
compartment-map.json
without alteration.Security Considerations
Test Plan
The text was updated successfully, but these errors were encountered: