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

feat!: Multiple indexes per IndexWrapper #922

Merged
merged 3 commits into from
Jan 2, 2023

Conversation

evan-forbes
Copy link
Member

@evan-forbes evan-forbes commented Dec 23, 2022

Description

in order to have multiple blobs per PFB, we need to have multiple indexes as well. This PR adds those.

part of celestiaorg/celestia-app#890
blocking celestiaorg/celestia-app#1154

@evan-forbes evan-forbes added breaking proto breaking Changes that break protobuf compatability labels Dec 23, 2022
@evan-forbes evan-forbes added this to the Incentivized Testnet milestone Dec 23, 2022
@evan-forbes evan-forbes self-assigned this Dec 23, 2022
Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for isolating this change into a stand-alone easy to review PR!

@evan-forbes evan-forbes merged commit b0a2ff0 into v0.34.x-celestia Jan 2, 2023
@evan-forbes evan-forbes deleted the evan/multiple-indexes-in-wrapper branch January 2, 2023 17:26
evan-forbes added a commit to celestiaorg/celestia-app that referenced this pull request Jan 16, 2023
## Overview

This PR implements the ability to add an arbitrary number of blobs to a
single PFB. Leaving as a draft until we merge the blocking
[PR](celestiaorg/celestia-core#922) in core, and
probably tidy up a bit, rebase, or add a few more unit tests.

In part thanks to us planning ahead earlier this year, there's actually
not that many required changes to get multiple blobs per PFB. Mostly
just adding tests, using a **new mechanism to calculate the share
commitments**, making a few things a slice instead of a single thing,
and minor adjustments to make square estimation/square layout work with
multiple blobs.

closes #388 

## Checklist

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords

Co-authored-by: Rootul P <rootulp@gmail.com>
evan-forbes added a commit that referenced this pull request Jun 9, 2023
* feat! add support for multiple indexes in the index wrapper

* fix: tests
cmwaters pushed a commit to celestiaorg/go-square that referenced this pull request Dec 14, 2023
## Overview

This PR implements the ability to add an arbitrary number of blobs to a
single PFB. Leaving as a draft until we merge the blocking
[PR](celestiaorg/celestia-core#922) in core, and
probably tidy up a bit, rebase, or add a few more unit tests.

In part thanks to us planning ahead earlier this year, there's actually
not that many required changes to get multiple blobs per PFB. Mostly
just adding tests, using a **new mechanism to calculate the share
commitments**, making a few things a slice instead of a single thing,
and minor adjustments to make square estimation/square layout work with
multiple blobs.

closes #388 

## Checklist

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords

Co-authored-by: Rootul P <rootulp@gmail.com>
0xchainlover pushed a commit to celestia-org/celestia-app that referenced this pull request Aug 1, 2024
## Overview

This PR implements the ability to add an arbitrary number of blobs to a
single PFB. Leaving as a draft until we merge the blocking
[PR](celestiaorg/celestia-core#922) in core, and
probably tidy up a bit, rebase, or add a few more unit tests.

In part thanks to us planning ahead earlier this year, there's actually
not that many required changes to get multiple blobs per PFB. Mostly
just adding tests, using a **new mechanism to calculate the share
commitments**, making a few things a slice instead of a single thing,
and minor adjustments to make square estimation/square layout work with
multiple blobs.

closes #388 

## Checklist

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords

Co-authored-by: Rootul P <rootulp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking proto breaking Changes that break protobuf compatability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants