From 08a07121ea722aec289b9379a32bab7309c9eb7d Mon Sep 17 00:00:00 2001 From: daixihegu Date: Thu, 25 Jun 2026 00:20:37 +0800 Subject: [PATCH] fix: clarify precompile address allocation Signed-off-by: daixihegu --- pages/precompiled.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/precompiled.tsx b/pages/precompiled.tsx index 50a56bf1..21dd2820 100644 --- a/pages/precompiled.tsx +++ b/pages/precompiled.tsx @@ -64,15 +64,15 @@ const PrecompiledPage = ({ On top of having a set of opcodes to choose from, the EVM also offers a set of more advanced functionalities through precompiled contracts. These are a special kind of contracts that are bundled with the EVM at - fixed addresses, and can be called with a determined gas cost. The - addresses start from 1, and increment for each contract. New hardforks - may introduce new precompiled contracts. They are called from the - opcodes like regular contracts, with instructions like{' '} - . The gas cost mentioned here is purely - the cost of the contract, and does not consider the cost of the call - itself nor the instructions to put the parameters in memory. The - precompiled contracts are also available in the{' '} - . + fixed addresses, and can be called with a determined gas cost. Early + precompiled contracts use sequential addresses starting from 1, while + new hardforks may introduce precompiled contracts at non-contiguous + addresses. They are called from the opcodes like regular contracts, + with instructions like . The gas cost + mentioned here is purely the cost of the contract, and does not + consider the cost of the call itself nor the instructions to put the + parameters in memory. The precompiled contracts are also available in + the .

For all precompiled contracts, if the input is shorter than expected,