From bdf1d743044ac3ee1e11ebd0a7ab3d56e2c089d1 Mon Sep 17 00:00:00 2001 From: Andrei Maiboroda Date: Fri, 4 Feb 2022 12:16:45 +0100 Subject: [PATCH] EIP-2681: Fix CREATE/CREATE2 max nonce error reporting rule --- EIPS/eip-2681.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-2681.md b/EIPS/eip-2681.md index 08cd67dbffe00c..e2bd972b9ec959 100644 --- a/EIPS/eip-2681.md +++ b/EIPS/eip-2681.md @@ -26,7 +26,7 @@ Lastly, this facilitates a minor optimisation in clients, because the nonce no l Introduce two new restrictions retroactively from genesis: 1. Consider any transaction invalid, where the nonce exceeds or equals to `2^64-1`. -2. The `CREATE` and `CREATE2` instructions to abort with an exceptional halt, where the account nonce is `2^64-1`. +2. The `CREATE` and `CREATE2` instructions' execution ends with the result `0` pushed on stack, where the account nonce is `2^64-1`. Gas for initcode execution is not deducted in this case. ## Rationale