{
  "id": "2022/1487",
  "url": "https://opencryptology.org/2022/1487",
  "original_url": "https://eprint.iacr.org/2022/1487",
  "title": "An efficient verifiable state for zk-EVM and beyond from the Anemoi hash function",
  "authors": [
    "Jianwei Liu",
    "Harshad Patil",
    "Akhil Sai Peddireddy",
    "Kevin Singh",
    "Haifeng Sun",
    "Huachuang Sun",
    "Weikeng Chen"
  ],
  "affiliations": null,
  "abstract": "In our survey of the various zk-EVM constructions, it becomes apparent that verifiable storage of the EVM state starts to be one of the dominating costs. This is not surprising because a big differentiator of EVM from UTXO is exactly the ability to carry states and, most importantly, their transitions; i.e., EVM is a **state** machine.\n    \nIn other words, to build an efficient zk-EVM, one must first build an efficient verifiable state. The common approach, which has been used in production, is a Merkle forest to authenticate the memory that would be randomly accessed within zk-SNARK, and optimize the verification of such memory accesses.\n\nIn this note, we describe a way to instantiate a Merkle tree with very few gates in TurboPlonk. We use customized gates in TurboPlonk to implement a SNARK-friendly hash function called Anemoi and its Jive mode of operation, by Clémence Bouvier, Pierre Briaud, Pyrros Chaidos, Léo Perrin, Robin Salen, Vesselin Velichkov, and Danny Willems.\n    \nWe demonstrate that with $16$ gates ($\\approx1$ gate per round in a 14-round Amenoi hash), one can verify a 3-to-1 compression in a 3-ary Merkle tree. Before this, prior implementations would often require hundreds of gates. We anticipate this technique to benefit a large number of applications built off zk-SNARK. \n  \nOur code can be found in $\\mathtt{noah}$:  https://github.com/FindoraNetwork/noah",
  "category": "Applications",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“An efficient verifiable state for zk-EVM and beyond from the Anemoi hash function” by Jianwei Liu, Harshad Patil, Akhil Sai Peddireddy, Kevin Singh, Haifeng Sun, Huachuang Sun, Weikeng Chen, Cryptology ePrint Archive, Paper 2022/1487, https://eprint.iacr.org/2022/1487. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-10-29T09:05:56Z",
    "updated": "2023-10-07T13:48:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1487.pdf",
    "sha256": "11e333abd0c3da74cbb64e2ecf9f483fd3e7240aff1d4f3e4b8820dd3fad69b7",
    "size": 805894,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1487/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1487.pdf",
      "size": 805894,
      "sha256": "11e333abd0c3da74cbb64e2ecf9f483fd3e7240aff1d4f3e4b8820dd3fad69b7",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1487/versions/20230127T233523Z.pdf",
      "captured_at": "2023-01-27T23:35:23Z",
      "label": "copy captured 2023-01-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230127233523id_/https://eprint.iacr.org/2022/1487.pdf",
      "size": 699214,
      "sha256": "9cfc95296558352877ce22a36ba81287d9f00f486c94efe856ad11900b19b484",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1487/versions/20221030T224547Z.pdf",
      "captured_at": "2022-10-30T22:45:47Z",
      "label": "copy captured 2022-10-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221030224547id_/https://eprint.iacr.org/2022/1487.pdf",
      "size": 670830,
      "sha256": "9fecf42efbb9b9a39f4ea66c120823c676078d49ff5dfe97214e8aabd7565f50",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260228135946id_/https://eprint.iacr.org/2022/1487.pdf",
      "captured_at": "2026-02-28T13:59:46Z",
      "size": 801554
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1487.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 805894
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1487,\n      author = {Jianwei Liu and Harshad Patil and Akhil Sai Peddireddy and Kevin Singh and Haifeng Sun and Huachuang Sun and Weikeng Chen},\n      title = {An efficient verifiable state for zk-EVM and beyond from the Anemoi hash function},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1487},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1487}\n}"
}
