Skip to content

Mitigate RPC size limit for publishing bundles #11634

@kriskowal

Description

@kriskowal

What is the Problem Being Solved?

Currently, bundles cannot be published to Agoric chains if the resulting RPC exceeds a certain limit. We can overcome these limits with chain software upgrades, but for core eval upgrades, we need to be able to submit larger bundles via CLI and cosgov.

Description of the Design

We’ll add RPC handlers to the chain for accepting bundles in chunks, collecting them across a number of transaction within a window of blocks. The chain will forget chunks if they are not fully assembled within their deadline.

We will adapt the web (cosgov) and CLI (agd, via agoric CLI shelling out to agd) to submit a bundle over multiple signed transactions.

Security and Scaling

We must take care to forget chunks after their assembly deadline to avoid indefinite retention or denial of service.

Testing

TBD

Upgrade

This will require a chain software upgrade to deploy. There are no considerations for compatibility.

Priortization

To be included in the next chain software release proposal, u22.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions