You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Overview
Introduce --namespace-version CLI flag
- Closes#1528
I have introduced namespace flag. Currently this supports namespace
version zero only.
I think data structure for storing namespace versions can be updated.
Maybe a map with version details.
For example:
```
Key: Version[0], Value: { NamespaceVersionPrefixSize: ... , NamespaceVersionIDSize: ... }
Key: Version[1], Value: { NamespaceVersionPrefixSize: ... , NamespaceVersionIDSize: ... }
```
instead of constants
```
NamespaceVersionZero = uint8(0)
NamespaceVersionZeroPrefixSize = 22
NamespaceVersionZeroIDSize = NamespaceIDSize - NamespaceVersionZeroPrefixSize
```
Then it would be possible to switch versions easily from cli. same for
share version.
Please let me know if this makes sense or am I missing something.
---------
Co-authored-by: Rootul P <rootulp@gmail.com>
Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
Co-authored-by: evan-forbes <evan.samuel.forbes@gmail.com>
Similar to #1041 but for the namespace version introduced as part of #1434
The text was updated successfully, but these errors were encountered: