Skip to content

feat: add additive blob bucket support [6/n]#3213

Open
sadhansood wants to merge 2 commits intosadhan/05-sui-client-ptb-domain-splitfrom
sadhan/06-sui-blob-bucket-additive-support
Open

feat: add additive blob bucket support [6/n]#3213
sadhansood wants to merge 2 commits intosadhan/05-sui-client-ptb-domain-splitfrom
sadhan/06-sui-blob-bucket-additive-support

Conversation

@sadhansood
Copy link
Copy Markdown
Contributor

Description

This adds additive blob bucket support to walrus-sui without widening the existing owned blob APIs.

It introduces bucket-specific Move bindings and Rust types for BlobBucket, BlobBucketCap, and PooledBlob, plus new PTB and client methods for:

  • creating a blob bucket
  • registering pooled blobs
  • certifying pooled blobs
  • deleting pooled blobs
  • extending the backing storage pool
  • increasing backing storage pool capacity

The client resolves the blob bucket package from the bucket object itself, so bucket package/version handling stays local to the new bucket APIs instead of being pushed into the global contract config.

This PR also updates the local test publishing path to publish the blob_bucket package, threads that package ID through SystemContext, and adds an end-to-end bucket lifecycle test covering create, register, certify, extend, increase-capacity, and delete.

Test plan

  • rustup run 1.86 cargo fmt -- --config group_imports=StdExternalCrate,imports_granularity=Crate,imports_layout=HorizontalVertical
  • cargo clippy --workspace --all-features --tests --no-deps -- -D warnings
  • cargo check -p walrus-sui --tests --all-features
  • cargo test -p walrus-sui --all-features test_blob_bucket_lifecycle -- --ignored

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that
a user might notice and any actions they must take to implement updates. (Add release notes after the colon for each item)

  • Storage node:
  • Aggregator:
  • Publisher:
  • CLI:

@sadhansood sadhansood changed the title feat: add additive blob bucket support [7/n] feat: add additive blob bucket support [6/n] Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant