rollmint icon indicating copy to clipboard operation
rollmint copied to clipboard

Change Namespace id to 10 bytes

Open nashqueue opened this issue 1 year ago • 0 comments

29 = NamespaceSize = NamespaceVersionSize + NamespaceIDSize - NamespaceVersionZeroPrefixSize = 10 NamespaceVersionSize = 1 NamespaceIDSize = 28 NamespaceVersionZeroPrefixSize = 18 We left pad the namespace with 0s (in celestia-openrpc) so that's why even though Rollkit has 8 it still works.

https://github.com/rollkit/rollkit/blob/main/types/block.go#L16 https://github.com/rollkit/rollkit/blob/main/config/config.go#L96

  • [ ] Docs update to use 10 as the namespace id
  • [ ] Announce it to all relevant parties as it is a breaking change

nashqueue avatar Jul 10 '23 20:07 nashqueue