Or cleaned up, "Invalid Transaction: Custom error: 101". The blobs pallet defines a couple of custom errors and this particular one corresponds to
InvalidNamespaceId = 101,
This is a mess of a developer experience. The custom errors should be printed properly. We should probably prevalidate the namespace ID client side before submitting (OTOH, it would prevent from using older versions of the shim to submit the blobs when we lift the restriction).
Ok, so to be clear: we would have the shim pre-validate that the namespace is conformant with version 1 and return a human-friendly error message if so.
Submitting a blob via shim with the invalid namespace ID leads to an error that just goes:
Internal Error: failed to submit blob
If you print the underlying error, it would say
failed to submit extrinsic
. Only if you debug print the error you will getOr cleaned up, "Invalid Transaction: Custom error: 101". The blobs pallet defines a couple of custom errors and this particular one corresponds to
This is a mess of a developer experience. The custom errors should be printed properly. We should probably prevalidate the namespace ID client side before submitting (OTOH, it would prevent from using older versions of the shim to submit the blobs when we lift the restriction).