From a9e15b2161b7d385834f0b377dd5b7b2251f2674 Mon Sep 17 00:00:00 2001 From: Hai | RISE <150876604+hai-rise@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:45:20 +0700 Subject: [PATCH] doc(memory): remove dead link (#1857) --- documentation/src/crates/interpreter/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/src/crates/interpreter/memory.md b/documentation/src/crates/interpreter/memory.md index 22fbb97c8d..6aab06876f 100644 --- a/documentation/src/crates/interpreter/memory.md +++ b/documentation/src/crates/interpreter/memory.md @@ -2,7 +2,7 @@ Is a memory localized to the current Interpreter context. Interpreter context is a call or create frame. It is used by opcodes to store or format data that are more than 32 bytes long, for example calls to format input, return output or for logs data. Revm has a shared memory between all the Interpreters but Interpreter loop only see the part it is allocated to it. -Extending memory is paid by the gas. It consumes 3 gas per word plus square of the number of words added divided by `512` (`3*N+ N^2/512`). There is no limit on the size of the memory, but it is limited by logarithmic growth of the gas cost. For 30M there is a calculated max memory of 32MB (Blog post by ramco: [Upper bound for transaction memory](https://xn--2-umb.com/22/eth-max-mem/)). +Extending memory is paid by the gas. It consumes 3 gas per word plus square of the number of words added divided by `512` (`3*N+ N^2/512`). There is no limit on the size of the memory, but it is limited by logarithmic growth of the gas cost. For 30M there is a calculated max memory of 32MB (by [Remco](https://xn--2-umb.com/) in 2022). ## Opcodes