File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/evolution/src/core Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const MetadataLabel = Numeric.Uint8Schema.annotations({
3232 * @since 2.0.0
3333 * @category schemas
3434 */
35- export const Metadata = Schema . MapFromSelf ( {
35+ export const Metadata = Schema . Map ( {
3636 key : MetadataLabel ,
3737 value : TransactionMetadatum . TransactionMetadatumVariants
3838} ) . annotations ( {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class TransactionMetadatumError extends Data.TaggedError("TransactionMeta
2323export type TransactionMetadatumVariantsEncoded =
2424 | { readonly _tag : "TextMetadatum" ; readonly value : string }
2525 | { readonly _tag : "IntMetadatum" ; readonly value : string }
26- | { readonly _tag : "BytesMetadatum" ; readonly value : Uint8Array }
26+ | { readonly _tag : "BytesMetadatum" ; readonly value : string }
2727 | {
2828 readonly _tag : "MetadatumMap"
2929 readonly value : ReadonlyArray < readonly [ TransactionMetadatumVariantsEncoded , TransactionMetadatumVariantsEncoded ] >
@@ -66,7 +66,7 @@ export class IntMetadatum extends Schema.TaggedClass<IntMetadatum>("IntMetadatum
6666 * @category schemas
6767 */
6868export class BytesMetadatum extends Schema . TaggedClass < BytesMetadatum > ( "BytesMetadatum" ) ( "BytesMetadatum" , {
69- value : Schema . Uint8ArrayFromSelf
69+ value : Schema . Uint8ArrayFromHex
7070} ) { }
7171
7272/**
You can’t perform that action at this time.
0 commit comments