diff --git a/CHANGELOG.md b/CHANGELOG.md index f77745e7d43..a1007ea0073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Upgrade netty to address CVE-2023-44487, CVE-2023-34462 [#6100](https://github.com/hyperledger/besu/pull/6100) - Upgrade grpc to address CVE-2023-32731, CVE-2023-33953, CVE-2023-44487, CVE-2023-4785 [#6100](https://github.com/hyperledger/besu/pull/6100) +- Fix blob gas calculation in reference tests [#6107](https://github.com/hyperledger/besu/pull/6107) --- diff --git a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestEnv.java b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestEnv.java index 230efc4f92c..ae12be1b50e 100644 --- a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestEnv.java +++ b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestEnv.java @@ -233,7 +233,7 @@ public BlockHeader updateFromParentValues(final ProtocolSpec protocolSpec) { protocolSpec .getGasCalculator() .computeExcessBlobGas( - Long.decode(parentExcessBlobGas), Long.decode(parentGasUsed)))); + Long.decode(parentExcessBlobGas), Long.decode(parentBlobGasUsed)))); } return builder.buildBlockHeader();