Announcing Etherlink 8.0 (Horus): a new Etherlink kernel upgrade proposal

This is a joint post from Nomadic Labs, TriliTech, and Functori.

A new Etherlink kernel upgrade proposal, Etherlink 8.0 (Horus), has just been submitted to Etherlink’s Slow governance mechanism.

Where Etherlink 7.0 (Ganesha) opened Etherlink to a second interface, Etherlink 8.0 focuses on making the two-interface chain safer and more predictable for the people already using it:

  • Recoverable EVM aliases: the EVM alias of every tz1, tz2 and tz3 account is now derived as the CREATE2 address of a smart-account contract deployed through the Safe singleton factory (0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7). The alias is therefore the same on every EVM chain supported by Safe, and can be computed from the Tezos address alone. Funds sent to it on the wrong network by mistake can be recovered by the account owner, by signing a human-readable message with their Tezos key (Ledger included). On Etherlink itself, only the address value changes: NAC calls behave exactly as before.
    PLEASE NOTE: This is a breaking change for users, as they will no longer have access to their old aliases. There are currently no significant funds associated with any of these aliases.

  • On-demand alias materialization: users and dApps can materialize aliases on both interfaces without first making a cross-interface call: through the RuntimeGateway precompile at 0xff00000000000000000000000000000000000007 on the EVM interface, and through the %materialize_alias entrypoint of the enshrined gateway contract KT18oDJJKXMKhfE1bSuAPGp92pYcwVDiqsPw on the Michelson interface.

  • Michelson gas refunds: unused gas provided in a Michelson operation is now reimbursed to the sender, as it already is on the EVM interface.

  • Tezos L1-compatible errors: error reporting on the Michelson interface now follows the formats used on Tezos L1, so indexers, wallets and SDKs that already parse L1 errors through the octez-node compatible RPCs can display Etherlink failures without special handling.

  • REVM upgrade: the EVM interface moves to the latest version of REVM, the Rust EVM implementation at the heart of Etherlink’s execution, paving the way for compatibility with the upcoming Glamsterdam upgrade.

Please see the full announcement for further details: https://medium.com/@etherlink/announcing-horus-an-8th-upgrade-proposal-for-etherlink-mainnet-4f36da2c479f

:warning: Builders: the new alias derivation is a breaking change for dApps and wallets that store, display or compute EVM aliases of Tezos accounts. Existing aliases are not migrated: aliases derived with the old formula keep forwarding tez to their Tezos account, but they are no longer that account’s alias. Please recompute aliases with the new formula, for instance using the latest release of octez.js, and test your integration on the Tezos X Previewnet, which already runs a release candidate of Etherlink 8.0. See the Etherlink 8.0 preview for details, and reach out in this thread if you need help adapting your integration.

:warning: Node operators: Etherlink 8.0 requires Octez EVM node version 0.69 (or higher), which will be released shortly. Please upgrade your infrastructure before activation to avoid regressions and feature breakage.If the governance vote is successful, the upgrade will be triggered to activate Etherlink 8.0 on 30 November.

:folded_hands: Thank you for your continued support for Etherlink.

:date: CTA: Please upvote Etherlink 8.0

The kernel upgrade proposal (0x0098890c787a228c5c170059915e99af5d991e9d37505148f3ddf1e66186ec84eb) has already been injected in the current proposal period.

  • Proposal period vote: slow governance period 63, spanning between L1 levels #15,873,889 (November 18 21:49 UTC) and #15,941,088 (November 23 13:49 UTC).

  • Promotion period vote: slow governance period 64, spanning between L1 levels #15,941,089 (November 23 13:49 UTC) and #16,008,288 (November 28 05:49 UTC).

For the proposal to move to the Promotion period, it must gather support from at least 1% of the total voting power. The Promotion period then requires a 5% quorum and a 75% “yea” supermajority.

How to vote

Bakers can cast their votes in a few clicks with Etherlink’s governance explorer UI, or using TezGov. We provide further voting instructions to vote with Octez CLI below.

Don’t hesitate to reach out if you need our help to make sure you can cast your votes in time.

Proposal Period (slow governance period 63)

You can upvote the Etherlink 8.0 kernel upgrade proposal using the following Octez CLI command:

octez-client call KT1AXRU3wLc87WNhLhVGrgqDGubLACUMUgPb from <baking_key or voting_key> \
  --entrypoint "upvote_proposal" \
  --arg "0x0098890c787a228c5c170059915e99af5d991e9d37505148f3ddf1e66186ec84eb" \
  --burn-cap 0.11

Promotion Period (slow governance period 64)

If the Proposal period is successful, you can vote for the Etherlink 8.0 kernel upgrade proposal using the following Octez CLI command:

octez-client call KT1AXRU3wLc87WNhLhVGrgqDGubLACUMUgPb from <baking_key or voting_key> \
  --entrypoint "vote" --arg '"yea"' \
  --burn-cap 0.11

See this documentation entry for further instructions on how to participate in Etherlink’s governance, and don’t hesitate to reach out if you need our assistance to cast your votes.

Reproducing the kernel root hash

Etherlink upgrades are identified by the root hash of the binary resulting from the compilation of the Etherlink kernel crate to WASM. The Etherlink 8.0 kernel root hash is 0x0098890c787a228c5c170059915e99af5d991e9d37505148f3ddf1e66186ec84eb, built from commit 30d6f6e14ebb5d4ce8ca0fa8089775dcba3a87c2 of the Octez repository.

This hash is fully reproducible: rather than trusting the proposers, anyone can rebuild the kernel from source and check that they obtain the same root hash as the one submitted on-chain. The build runs inside a Docker container to make it reproducible, so Docker is the only prerequisite.

git clone https://gitlab.com/tezos/tezos
cd tezos
git checkout 30d6f6e14ebb5d4ce8ca0fa8089775dcba3a87c2 
./etherlink/scripts/build-wasm.sh
cat etherlink/kernels-0098890c787a228c5c170059915e99af5d991e9d37505148f3ddf1e66186ec84eb/root_hash

The output should match the root hash of the proposal:

ROOT_HASH: 0098890c787a228c5c170059915e99af5d991e9d37505148f3ddf1e66186ec84eb

Once you have checked the hash, you can safely ignore and delete the contents of the _evm_installer_preimages/ directory.

For a comprehensive list of changes compared to the kernel currently deployed on mainnet, and links to the code changes, refer to the kernel’s changelog: etherlink/CHANGES_KERNEL.md · master · Tezos / tezos · GitLab

2 Likes