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

chore!: rename TxSharePosition to TxShareRange #1357

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Feb 8, 2023

Closes #1241

The new name TxShareRange is consistent with

func BlobShareRange(tx types.Tx) (beginShare uint64, endShare uint64, err error) {

Technically API breaking because this is an exported function but I doubt there are external users of this function.

@rootulp rootulp added the warn:api breaking item will be break an API and require a major bump label Feb 8, 2023
@rootulp rootulp self-assigned this Feb 8, 2023
@rootulp rootulp marked this pull request as ready for review February 8, 2023 16:39
@rootulp rootulp enabled auto-merge (squash) February 8, 2023 16:39
Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

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

LGTM 👍 👍

Yes, probably nobody is using this for now, so we can update no issue. Evan can correct me if I'm wrong.

@rootulp rootulp merged commit 150e65d into celestiaorg:main Feb 8, 2023
@rootulp rootulp deleted the rp/tx-share-range branch February 8, 2023 16:53
evan-forbes pushed a commit that referenced this pull request Feb 27, 2023
Closes #1241

The new name `TxShareRange` is consistent with
https://github.com/celestiaorg/celestia-app/blob/fd6382278f6fff4ab3d272e5f3034203c9378126/pkg/proof/proof.go#L66

Technically API breaking because this is an exported function but I
doubt there are external users of this function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warn:api breaking item will be break an API and require a major bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename TxSharePosition to TxShareRange
2 participants