celestia-core icon indicating copy to clipboard operation
celestia-core copied to clipboard

chore!: make the row proof range end exclusive

Open rach-id opened this issue 1 year ago • 7 comments

Description

Closes https://github.com/celestiaorg/celestia-core/issues/1375

It would be nice if we could cram this change also in v2. If not, then once this change makes it to a release, we need to remember to update the app implementation and any downstream repo to use end exclusive ranges for row proofs. Would creating an issue work?


PR checklist

  • [x] Tests written/updated
  • [ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
  • [ ] Updated relevant documentation (docs/ or spec/) and code comments

rach-id avatar Jun 05 '24 08:06 rach-id

This is a breaking change right? I'm not sure if we've agreed on branch management / releases for celestia-core yet

cmwaters avatar Jun 05 '24 09:06 cmwaters

yes, it's a breaking change

rach-id avatar Jun 05 '24 10:06 rach-id

[thinking out loud] Why not have a v0.34.x-v2 branch that contains the breaking changes. This branch should only contain the changes that are on main and we want to include in v2. The existing branch v0.34.x could be renamed to v0.34.x-v1 to reflect that this is the verison used for V1.

rach-id avatar Jun 05 '24 15:06 rach-id

[thinking out loud] Why not have a v0.34.x-v2 branch that contains the breaking changes. This branch should only contain the changes that are on main and we want to include in v2. The existing branch v0.34.x could be renamed to v0.34.x-v1 to reflect that this is the verison used for V1.

The problem is a little more complex then that given our current upgrading strategy. We could be running v2 binary on a v1 network, thus celestia-core also needs to be wary of the app version

cmwaters avatar Jun 06 '24 08:06 cmwaters

Why not have a v0.34.x-v2 branch that contains the breaking changes.

celestia-app v2 won't use any celestia-core breaking changes that aren't present in celestia-core v1.36.1-tm-v0.34.29 because celestia-app v2.0.0-rc1 is being audited and it depends on v1.36.1-tm-v0.34.29.

rootulp avatar Jun 06 '24 13:06 rootulp

are these proofs moved elsewhere for node @rach-id ? if so, can we close this and remove them here?

evan-forbes avatar Jul 29 '24 10:07 evan-forbes

Once we release the proofs in node. I will start deprecating the endpoints. But for the proofs implementation, it will remain in core because it's used in tx proof. So we still need this PR to be part of v3 if possible.

rach-id avatar Jul 29 '24 10:07 rach-id

defer to you @rach-id if you still want to include this change in v4 or v5 etc

evan-forbes avatar May 07 '25 19:05 evan-forbes

this was supposed to go out when the solutions team were working on this. But I guess now if we make this change, we might need to update also downstream repos that use this, not just celestia-app. So I guess we can leave it the way it is unless some pressing need comes up.

rach-id avatar May 08 '25 07:05 rach-id