# Conflicting Metadata Hash when minting with \`--alonzo-era\` flag

**URL:** <https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784>\
**Category:** Native Tokens\
**Tags:** mary, alonzo\
**Created:** [5 February 2022 11:09 UTC](https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784 "2022-02-05T11:09:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomyfalgui](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tomyfalgui/32/50605_2.png) [@tomyfalgui](https://forum.cardano.org/u/tomyfalgui)\
**Post date:** [5 February 2022 11:09 UTC](https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784/1 "2022-02-05T11:09:40Z")

</div>

Hi! I’ve been building a multi-signature application. I would sign the transaction with a dummy key and send it over to the client where `cardano-serialization-lib` [would change and remove the signed key with the signature of a dapp-compatible wallet](https://srdjanstankovic.com/2021/12/24/how-to-sign-and-submit-cardano-cli-transaction-using-nami-wallet.html).

Everything would go well until I would submit the transaction onto the blockchain. I would get a `ConflictingMetadataHash` error whenever I would resubmit. I tried to hardcode the hash to make it uniform throughout the client and the backend, but I would still run into the error.

But my tx would submit when I changed the `--alonzo-era` flag to the `--mary-era` flag. Why is this?

 ![conflictingmetadatahash](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/c/6/c66d334c30d96c8d16dfd5b29f9e87159d29c9ac.png)

---

<div class="post-metadata">

**Author:** ![brand5](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/brand5/32/50239_2.png) [@brand5](https://forum.cardano.org/u/brand5)\
**Post date:** [22 February 2022 10:42 UTC](https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784/2 "2022-02-22T10:42:49Z")

</div>

It seems I have the same problem, any solution?

---

<div class="post-metadata">

**Author:** ![tomyfalgui](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tomyfalgui/32/50605_2.png) [@tomyfalgui](https://forum.cardano.org/u/tomyfalgui)\
**Post date:** [23 February 2022 08:16 UTC](https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784/3 "2022-02-23T08:16:36Z")

</div>

i worked it out by specifying `--mary-era`

---

<div class="post-metadata">

**Author:** ![zarej](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/zarej/32/51947_2.png) [@zarej](https://forum.cardano.org/u/zarej)\
**Post date:** [6 March 2022 08:08 UTC](https://forum.cardano.org/t/conflicting-metadata-hash-when-minting-with-alonzo-era-flag/94784/4 "2022-03-06T08:08:12Z")

</div>

I have the same problem and I narrow it down to auxiliary data. I created an issue to cardano-serialization-lib [Get auxilary\_data from old tx and set it to new one via the constructor Transaction.new results wrong auxilary\_data · Issue #396 · Emurgo/cardano-serialization-lib · GitHub](https://github.com/Emurgo/cardano-serialization-lib/issues/396)
