We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01d8ac commit 5d7333fCopy full SHA for 5d7333f
arithmetization/src/main/java/net/consensys/linea/zktracer/module/hub/section/skip/TxSkipSection.java
@@ -126,7 +126,8 @@ public void resolveAtEndTransaction(
126
final Wei value = (Wei) txMetadata.getBesuTransaction().getValue();
127
128
if (txMetadata.senderAddressCollision()) {
129
- final BigInteger gasUsed = BigInteger.valueOf(txMetadata.getGasUsed());
+ final BigInteger gasUsed =
130
+ BigInteger.valueOf(txMetadata.getGasLimit() - txMetadata.getGasRefunded());
131
final BigInteger gasPrice = BigInteger.valueOf(txMetadata.getEffectiveGasPrice());
132
final BigInteger gasCost = gasUsed.multiply(gasPrice);
133
senderNew =
0 commit comments