From d397e7fbfdc5a635eebc879043463a51698d72ff Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Thu, 17 Jul 2025 22:01:08 +0200 Subject: [PATCH 1/4] Change BN256 to BN254 --- EIPS/eip-7910.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/EIPS/eip-7910.md b/EIPS/eip-7910.md index 83d8bfb99c50b8..a7e061a04f772c 100644 --- a/EIPS/eip-7910.md +++ b/EIPS/eip-7910.md @@ -79,11 +79,11 @@ Activation time is required. If a fork is activated at genesis the value `0` is #### `blobsSchedule` -The blob configuration parameters for the specific fork, as defined in the genesis file. This is a JSON object with three members — `baseFeeUpdateFraction`, `max`, and `target` — all represented as JSON numbers. +The blob configuration parameters for the specific fork, as defined in the genesis file. This is a JSON object with three members — `baseFeeUpdateFraction`, `max`, and `target` — all represented as JSON numbers. #### `chainId` -The chain ID of the current network, presented as a string with an unsigned `0x`-prefixed hexadecimal number, with all leading zeros removed. This specification does not support chains without a chain ID or with a chain ID of zero. +The chain ID of the current network, presented as a string with an unsigned `0x`-prefixed hexadecimal number, with all leading zeros removed. This specification does not support chains without a chain ID or with a chain ID of zero. For purposes of canonicalization this value must always be a string. @@ -93,7 +93,7 @@ A representation of the active precompile contracts for the fork. If a precompil This is a JSON object where the members are the 20-byte `0x`-prefixed hexadecimal addresses of the precompiles (with zeros preserved), and the values are agreed-upon names for each contract, typically specified in the EIP defining that contract. -For Cancun, the contract names are (in order): `ECREC`, `SHA256`, `RIPEMD160`, `ID`, `MODEXP`, `BN256_ADD`, `BN256_MUL`, `BN256_PAIRING`, `BLAKE2F`, `KZG_POINT_EVALUATION`. +For Cancun, the contract names are (in order): `ECREC`, `SHA256`, `RIPEMD160`, `ID`, `MODEXP`, `BN254_ADD`, `BN254_MUL`, `BN254_PAIRING`, `BLAKE2F`, `KZG_POINT_EVALUATION`. For Prague, the added contracts are (in order): `BLS12_G1ADD`, `BLS12_G1MSM`,`BLS12_G2ADD`, `BLS12_G2MSM`, `BLS12_PAIRING_CHECK`, `BLS12_MAP_FP_TO_G1`, `BLS12_MAP_FP2_TO_G2`. @@ -170,9 +170,9 @@ Hoodi Prague Config "0x0000000000000000000000000000000000000003": "RIPEMD160", "0x0000000000000000000000000000000000000004": "ID", "0x0000000000000000000000000000000000000005": "MODEXP", - "0x0000000000000000000000000000000000000006": "BN256_ADD", - "0x0000000000000000000000000000000000000007": "BN256_MUL", - "0x0000000000000000000000000000000000000008": "BN256_PAIRING", + "0x0000000000000000000000000000000000000006": "BN254_ADD", + "0x0000000000000000000000000000000000000007": "BN254_MUL", + "0x0000000000000000000000000000000000000008": "BN254_PAIRING", "0x0000000000000000000000000000000000000009": "BLAKE2F", "0x000000000000000000000000000000000000000a": "KZG_POINT_EVALUATION", "0x000000000000000000000000000000000000000b": "BLS12_G1ADD", @@ -210,9 +210,9 @@ Hoodi Cancun Config "0x0000000000000000000000000000000000000003": "RIPEMD160", "0x0000000000000000000000000000000000000004": "ID", "0x0000000000000000000000000000000000000005": "MODEXP", - "0x0000000000000000000000000000000000000006": "BN256_ADD", - "0x0000000000000000000000000000000000000007": "BN256_MUL", - "0x0000000000000000000000000000000000000008": "BN256_PAIRING", + "0x0000000000000000000000000000000000000006": "BN254_ADD", + "0x0000000000000000000000000000000000000007": "BN254_MUL", + "0x0000000000000000000000000000000000000008": "BN254_PAIRING", "0x0000000000000000000000000000000000000009": "BLAKE2F", "0x000000000000000000000000000000000000000a": "KZG_POINT_EVALUATION" }, @@ -251,9 +251,9 @@ would return (after formatting): "0x0000000000000000000000000000000000000003": "RIPEMD160", "0x0000000000000000000000000000000000000004": "ID", "0x0000000000000000000000000000000000000005": "MODEXP", - "0x0000000000000000000000000000000000000006": "BN256_ADD", - "0x0000000000000000000000000000000000000007": "BN256_MUL", - "0x0000000000000000000000000000000000000008": "BN256_PAIRING", + "0x0000000000000000000000000000000000000006": "BN254_ADD", + "0x0000000000000000000000000000000000000007": "BN254_MUL", + "0x0000000000000000000000000000000000000008": "BN254_PAIRING", "0x0000000000000000000000000000000000000009": "BLAKE2F", "0x000000000000000000000000000000000000000a": "KZG_POINT_EVALUATION" }, @@ -277,9 +277,9 @@ would return (after formatting): "0x0000000000000000000000000000000000000003": "RIPEMD160", "0x0000000000000000000000000000000000000004": "ID", "0x0000000000000000000000000000000000000005": "MODEXP", - "0x0000000000000000000000000000000000000006": "BN256_ADD", - "0x0000000000000000000000000000000000000007": "BN256_MUL", - "0x0000000000000000000000000000000000000008": "BN256_PAIRING", + "0x0000000000000000000000000000000000000006": "BN254_ADD", + "0x0000000000000000000000000000000000000007": "BN254_MUL", + "0x0000000000000000000000000000000000000008": "BN254_PAIRING", "0x0000000000000000000000000000000000000009": "BLAKE2F", "0x000000000000000000000000000000000000000a": "KZG_POINT_EVALUATION", "0x000000000000000000000000000000000000000b": "BLS12_G1ADD", @@ -314,9 +314,9 @@ would return (after formatting): "0x0000000000000000000000000000000000000003": "RIPEMD160", "0x0000000000000000000000000000000000000004": "ID", "0x0000000000000000000000000000000000000005": "MODEXP", - "0x0000000000000000000000000000000000000006": "BN256_ADD", - "0x0000000000000000000000000000000000000007": "BN256_MUL", - "0x0000000000000000000000000000000000000008": "BN256_PAIRING", + "0x0000000000000000000000000000000000000006": "BN254_ADD", + "0x0000000000000000000000000000000000000007": "BN254_MUL", + "0x0000000000000000000000000000000000000008": "BN254_PAIRING", "0x0000000000000000000000000000000000000009": "BLAKE2F", "0x000000000000000000000000000000000000000a": "KZG_POINT_EVALUATION", "0x000000000000000000000000000000000000000b": "BLS12_G1ADD", From c5081f1d6e1ca89813d5b0461779c2d73c32fecf Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Mon, 21 Jul 2025 19:28:04 +0200 Subject: [PATCH 2/4] Update sample hash --- EIPS/eip-7910.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-7910.md b/EIPS/eip-7910.md index a7e061a04f772c..bea7a4793b6909 100644 --- a/EIPS/eip-7910.md +++ b/EIPS/eip-7910.md @@ -261,7 +261,7 @@ would return (after formatting): "BEACON_ROOTS_ADDRESS": "0x000f3df6d732807ef1319fb7b8bb8522d0beac02" } }, - "currentHash": "0x243c27d1", + "currentHash": "0x2eedf329", "currentForkId": "0xbef71d30", "next": { "activationTime": 1742999832, From b41bef3f687f5f9b68175f5442e6989b0f6e453c Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Mon, 21 Jul 2025 19:46:41 +0200 Subject: [PATCH 3/4] Update next and last hashes --- EIPS/eip-7910.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EIPS/eip-7910.md b/EIPS/eip-7910.md index bea7a4793b6909..8c93384a3e4b08 100644 --- a/EIPS/eip-7910.md +++ b/EIPS/eip-7910.md @@ -298,7 +298,7 @@ would return (after formatting): "WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS": "0x00000961ef480eb55e80d19ad83579a64c007002" } }, - "nextHash": "0x10368496", + "nextHash": "0xd82a81f", "nextForkId": "0x0929e24e", "last": { "activationTime": 1742999832, @@ -335,7 +335,7 @@ would return (after formatting): "WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS": "0x00000961ef480eb55e80d19ad83579a64c007002" } }, - "lastHash": "0x10368496", + "lastHash": "0xd82a81f", "lastForkId": "0x0929e24e" } } From 1453c0516de484784302b6c4cd63077a1e941ee5 Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Mon, 21 Jul 2025 20:52:26 +0200 Subject: [PATCH 4/4] Add leading zero Co-authored-by: Danno Ferrin --- EIPS/eip-7910.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-7910.md b/EIPS/eip-7910.md index 8c93384a3e4b08..9375c6b1c8759f 100644 --- a/EIPS/eip-7910.md +++ b/EIPS/eip-7910.md @@ -335,7 +335,7 @@ would return (after formatting): "WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS": "0x00000961ef480eb55e80d19ad83579a64c007002" } }, - "lastHash": "0xd82a81f", + "lastHash": "0x0d82a81f", "lastForkId": "0x0929e24e" } }