From b8a16b39c7f84491dfae9b9dc3b7ded98bb2839b Mon Sep 17 00:00:00 2001 From: Thabokani <149070269+Thabokani@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:53:06 +0800 Subject: [PATCH] Fix typos (#1479) --- evm/spec/mpts.tex | 2 +- plonky2/src/gates/gate.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/spec/mpts.tex b/evm/spec/mpts.tex index 91da59ce5c..3f6733a535 100644 --- a/evm/spec/mpts.tex +++ b/evm/spec/mpts.tex @@ -59,7 +59,7 @@ \subsection{Prover input format} \item A digest node is encoded as $(\texttt{MPT\_NODE\_HASH}, d)$, where $d$ is a Keccak256 digest. \end{enumerate} Nodes are thus given in depth-first order, enabling natural recursive methods for encoding and decoding this format. -The payload of state and receipt tries is given in the natural sequential way. The transaction an receipt payloads contain variable size data, thus the input is slightly different. The prover input for for the transactions is the transaction RLP encoding preceeded by its length. For the receipts is in the natural sequential way, except that topics and data are preceeded by their lengths, respectively. +The payload of state and receipt tries is given in the natural sequential way. The transaction an receipt payloads contain variable size data, thus the input is slightly different. The prover input for for the transactions is the transaction RLP encoding preceded by its length. For the receipts is in the natural sequential way, except that topics and data are preceded by their lengths, respectively. \subsection{Encoding and Hashing} diff --git a/plonky2/src/gates/gate.rs b/plonky2/src/gates/gate.rs index 6dbed3fb02..cc8f7513c4 100644 --- a/plonky2/src/gates/gate.rs +++ b/plonky2/src/gates/gate.rs @@ -219,7 +219,7 @@ pub trait Gate, const D: usize>: 'static + Send + S /// The number of wires used by this gate. /// /// While vanilla Plonk can only evaluate one addition/multiplication at a time, a wider - /// configuration may be able to accomodate several identical gates at once. This is + /// configuration may be able to accommodate several identical gates at once. This is /// particularly helpful for tiny custom gates that are being used extensively in circuits. /// /// For instance, the [crate::gates::multiplication_extension::MulExtensionGate] takes `3*D`