user5602: I'm a but confused with the magic number in the testnet:

when we execute a transaction with the cli cardano-cli run transaction , we run it in the alonzo-era. when we check for the
magic number, we have to check the networkMagic field in
testnet-shelly-geneisis.json

There doesn't seem to be a networkMagic in testnet-alonzo-genesis.json, although there is in both the shelly and byron config files, and it's the same networkMagic in these two configs.
Can someone explain how this works with the magic number and the era's?
(As a small side question, why is it actually called the Alonzo era, while we're in the Cardano Goguen era? For the first two, they use the same era names, for the one we're in now, it's another name. It's a bit confusing.)

user382: The network magic is not supposed to be mutable. The only reason it's in the Shelley Genesis is because the Shelley Genesis simplified the Byron genesis file format significantly and allows the code to "ignore" the mess of the Byron genesis file as soon as it reaches the Shelley era. Newer era Genesis files are additive to the Shelley era rather than a replacement like we had from Byron to Shelley transition.

5602: <p>I'm a but confused with the magic number in the testnet:</p>
<ul>
<li>when we execute a transaction with the cli <code>cardano-cli run transaction</code> , we run it in the alonzo-era. when we check for the
magic number, we have to check the networkMagic field in
<code>testnet-shelly-geneisis.json</code></li>
</ul>
<p>There doesn't seem to be a networkMagic in <code>testnet-alonzo-genesis.json</code>, although there is in both the shelly and byron config files, and it's the same networkMagic in these two configs.</p>
<p>Can someone explain how this works with the magic number and the era's?</p>
<p>(As a small side question, why is it actually called the Alonzo era, while we're in the Cardano Goguen era? For the first two, they use the same era names, for the one we're in now, it's another name. It's a bit confusing.)</p>
 382: <p>The network magic is not supposed to be mutable. The only reason it's in the Shelley Genesis is because the Shelley Genesis simplified the Byron genesis file format significantly and allows the code to &quot;ignore&quot; the mess of the Byron genesis file as soon as it reaches the Shelley era. Newer era Genesis files are additive to the Shelley era rather than a replacement like we had from Byron to Shelley transition.</p>
