Skip to content

Commit

Permalink
Alter the metadata label
Browse files Browse the repository at this point in the history
It seems label 55555 is causing invalid aux hashes on blockfrost side.
  • Loading branch information
v0d1ch authored and ch1bo committed May 15, 2024
1 parent 05413ef commit 58b6f68
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions hydra-node/src/Hydra/Chain/Direct/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,9 @@ instance Arbitrary ClosedThreadOutput where
hydraHeadV1AssetName :: AssetName
hydraHeadV1AssetName = AssetName (fromBuiltin hydraHeadV1)

-- | The metadata label used for identifying Hydra protocol transactions. As
-- suggested by a friendly large language model: The number most commonly
-- associated with "Hydra" is 5, as in the mythological creature Hydra, which
-- had multiple heads, and the number 5 often symbolizes multiplicity or
-- diversity. However, there is no specific numerical association for Hydra
-- smaller than 10000 beyond this mythological reference.
-- | The metadata label used for identifying Hydra protocol transactions.
hydraMetadataLabel :: Word64
hydraMetadataLabel = 55555
hydraMetadataLabel = 5

-- | Create a transaction metadata entry to identify Hydra transactions (for
-- informational purposes).
Expand Down

0 comments on commit 58b6f68

Please sign in to comment.