From a73b9b0380fecabe731e3490ef7102212717e09f Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:57:23 +0300 Subject: [PATCH 1/2] docs: typo fix Update local_state.md --- cairo/kakarot-ssj/docs/general/local_state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cairo/kakarot-ssj/docs/general/local_state.md b/cairo/kakarot-ssj/docs/general/local_state.md index 038ca8cfb..c10e9dadd 100644 --- a/cairo/kakarot-ssj/docs/general/local_state.md +++ b/cairo/kakarot-ssj/docs/general/local_state.md @@ -19,7 +19,7 @@ from using dicts in self-referring data structures, instead of having one state per execution context that we could merge into the parent state if the context exits successfully or discard if the context reverts, we have one global `State` structs that achieves the same behavior by tracking transactional changes, which -refers to the changes made inside the current transaction as a whole, and a +refers to the changes made inside the current transaction as a whole, and contextual changes, which refers to changes made inside the current execution context. From 28d4c81a051480f3947fb0e31157b81f5487ecb8 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:57:49 +0300 Subject: [PATCH 2/2] docs: typo fix Update machine.md --- cairo/kakarot-ssj/docs/general/machine.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cairo/kakarot-ssj/docs/general/machine.md b/cairo/kakarot-ssj/docs/general/machine.md index efc8f6d07..1c31a8c1c 100644 --- a/cairo/kakarot-ssj/docs/general/machine.md +++ b/cairo/kakarot-ssj/docs/general/machine.md @@ -4,7 +4,7 @@ The EVM is a stack-based computer responsible for the execution of EVM bytecode. It has two context-bound data structures: the stack and the memory. The stack is a 256bit-words based data structure used to store and retrieve intermediate values during the execution of opcodes. The memory is a byte-addressable data -structure organized into 32-byte words used a volatile space to store data +structure organized into 32-byte words used volatile space to store data during execution. Both the stack and the memory are initialized empty at the start of a call context, and destroyed when a call context ends.