user1005: I've installed cardano-node via nix-build:
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git checkout tags/1.29.0 -b 1_29_0
nix-build -A scripts.mainnet.node -o mainnet-node-local
nix-build -A cardano-cli -o cardano-cli-mainnet

But somehow I end up in the Byron era:
$CARDANO_CLI query tip --mainnet
{
    "epoch": 10,
    "hash": "237925228211660d367c77f6af0b50542ace82985339c55a48fed0ff201a1217",
    "slot": 222403,
    "block": 222371,
    "era": "Byron",
    "syncProgress": "3.55"
}

which script is the correct one for nix-build for alonzo mainnet past HFC event?

user1130: You're doing the right thing.
"syncProgress" refers to the percentage of the chain you've synced. Once you get to around 70% it will say "Shelley" and only the most recent epoch will say "Alonzo". This takes a while, unfortunately.

1005: <p>I've installed cardano-node via nix-build:</p>
<pre><code>git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git checkout tags/1.29.0 -b 1_29_0
nix-build -A scripts.mainnet.node -o mainnet-node-local
nix-build -A cardano-cli -o cardano-cli-mainnet
</code></pre>
<p>But somehow I end up in the Byron era:</p>
<pre><code>$CARDANO_CLI query tip --mainnet
{
    &quot;epoch&quot;: 10,
    &quot;hash&quot;: &quot;237925228211660d367c77f6af0b50542ace82985339c55a48fed0ff201a1217&quot;,
    &quot;slot&quot;: 222403,
    &quot;block&quot;: 222371,
    &quot;era&quot;: &quot;Byron&quot;,
    &quot;syncProgress&quot;: &quot;3.55&quot;
}
</code></pre>
<p>which script is the correct one for nix-build for alonzo mainnet past HFC event?</p>
 1130: <p>You're doing the right thing.</p>
<p><code>&quot;syncProgress&quot;</code> refers to the percentage of the chain you've synced. Once you get to around 70% it will say &quot;Shelley&quot; and only the most recent epoch will say &quot;Alonzo&quot;. This takes a while, unfortunately.</p>
