diff --git a/packages/evm/src/params.ts b/packages/evm/src/params.ts index 397e746e20..318fe76de9 100644 --- a/packages/evm/src/params.ts +++ b/packages/evm/src/params.ts @@ -339,7 +339,7 @@ export const paramsEVM: ParamsDict = { kzgPointEvaluationPrecompileGas: 50000, // The fee associated with the point evaluation precompile blobhashGas: 3, // Base fee of the BLOBHASH opcode // sharding - blobCommitmentVersionKzg: 1, // The number indicated a versioned hash is a KZG commitment + blobCommitmentVersionKZG: 1, // The number indicated a versioned hash is a KZG commitment fieldElementsPerBlob: 4096, // The number of field elements allowed per blob }, /** diff --git a/packages/evm/src/precompiles/0a-kzg-point-evaluation.ts b/packages/evm/src/precompiles/0a-kzg-point-evaluation.ts index 990fe37b2e..18f6fecf57 100644 --- a/packages/evm/src/precompiles/0a-kzg-point-evaluation.ts +++ b/packages/evm/src/precompiles/0a-kzg-point-evaluation.ts @@ -36,7 +36,7 @@ export async function precompile0a(opts: PrecompileInput): Promise { return EvmErrorResult(new EvmError(ERROR.INVALID_INPUT_LENGTH), opts.gasLimit) } - const version = Number(opts.common.param('blobCommitmentVersionKzg')) + const version = Number(opts.common.param('blobCommitmentVersionKZG')) const fieldElementsPerBlob = opts.common.param('fieldElementsPerBlob') const versionedHash = bytesToHex(opts.data.subarray(0, 32)) const z = bytesToHex(opts.data.subarray(32, 64)) diff --git a/packages/tx/src/params.ts b/packages/tx/src/params.ts index 8eac4ae249..b5f1ac88fc 100644 --- a/packages/tx/src/params.ts +++ b/packages/tx/src/params.ts @@ -41,7 +41,7 @@ export const paramsTx: ParamsDict = { . * Shard Blob Transactions . */ 4844: { - blobCommitmentVersionKzg: 1, // The number indicated a versioned hash is a KZG commitment + blobCommitmentVersionKZG: 1, // The number indicated a versioned hash is a KZG commitment }, /** . * Set EOA account code for one transaction