From 3b3236d56ad07a6284b153df38c8c20759906374 Mon Sep 17 00:00:00 2001 From: darian-ae <100232770+darian-ae@users.noreply.github.com> Date: Thu, 22 Sep 2022 16:46:02 -0700 Subject: [PATCH] added apostrophe to relayer's --- docs/ethereum-roadmap/layer-2-scaling/zk-rollups.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ethereum-roadmap/layer-2-scaling/zk-rollups.md b/docs/ethereum-roadmap/layer-2-scaling/zk-rollups.md index 970cf89c7..af580257b 100644 --- a/docs/ethereum-roadmap/layer-2-scaling/zk-rollups.md +++ b/docs/ethereum-roadmap/layer-2-scaling/zk-rollups.md @@ -20,7 +20,7 @@ A "zero knowledge proof" approach is used to present and publicly record the val The ZK-Rollup scheme consists of two types of users: transactors and relayers. Transactors create their transfer and broadcast the transfer to the network. The transfer data consists of an indexed "to" and "from" address, a value to transact, the network fee, and nonce. A shortened 3 byte indexed version of the addresses reduces processing resource needs. The value of the transaction being greater than or less than zero creates a deposit or withdrawal respectively. The smart contract records the data in two Merkle Trees; addresses in one Merkle Tree and transfer amounts in another. -Relayers collect a large amount of transfers to create a rollup. It is the relayers job to generate the SNARK proof. The SNARK proof is a hash that represents the delta of the blockchain state. State refers to "state of being." SNARK proof compares a snapshot of the blockchain before the transfers to a snapshot of the blockchain after the transfers (i.e. wallet values) and reports only the changes in a verifiable hash to the mainnet. +Relayers collect a large amount of transfers to create a rollup. It is the relayer's job to generate the SNARK proof. The SNARK proof is a hash that represents the delta of the blockchain state. State refers to "state of being." SNARK proof compares a snapshot of the blockchain before the transfers to a snapshot of the blockchain after the transfers (i.e. wallet values) and reports only the changes in a verifiable hash to the mainnet. It is worth noting that anyone can become a relayer so long as they have staked the required bond in the smart contract. This incentivises the relayer not to tamper with or withhold a rollup.