From e33346d944479d5b5596aaee8c43c5090f6d0040 Mon Sep 17 00:00:00 2001 From: bt3gl <1130416+bt3gl@users.noreply.github.com> Date: Fri, 11 Mar 2022 04:29:11 +0000 Subject: [PATCH] Update ethereum.md --- blockchains/ethereum.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/blockchains/ethereum.md b/blockchains/ethereum.md index 523a45d..e670819 100644 --- a/blockchains/ethereum.md +++ b/blockchains/ethereum.md @@ -30,4 +30,12 @@ * a message is like a transaction, except it is produced by a contract and not an external actor. A message is produced when a cotnract currently executing code executes the CALL opcode. -* the code in Ethereum contracts is written in +### Code execution + +* the code in Ethereum contracts is written in a low-level, stack-based bytecode language, referred as the EVM. + +* The operations have access to three types of space in which to store data: + * the stack, a last-in-first-out container to which values can be pushed and popped + * memory, an infinite expandable byte array + * contract's long-term storage, a key/value store (persist long term) +