Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzogentile404 committed Feb 12, 2025
1 parent bf228ae commit 4c50763
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,20 @@ void lowGasStipendPrecompileCallTest(
argsSize = 96 + bbs + ebs + mbs;
program
.push(Bytes32.leftPad(Bytes.of(bbs)))
.push(0)
.push(0) // offset
.op(OpCode.MSTORE)
.push(Bytes32.leftPad(Bytes.of(ebs)))
.push(32)
.push(32) // offset
.op(OpCode.MSTORE)
.push(Bytes32.leftPad(Bytes.of(mbs)))
.push(64)
.push(64) // offset
.op(OpCode.MSTORE)
.push(Bytes32.rightPad(Bytes.fromHexString("0xba7e" + "000ec7" + "0000080d")))
.push(96)
.push(96) // offset
.op(OpCode.MSTORE);
} else {
// Default case
argsSize = argumentCase.isZeroCase() ? 0 : 1;
argsSize = argumentCase.isZeroCase() ? 0 : 1; // TODO: is this meaningful / useful?
}

// Compute the return size
Expand Down

0 comments on commit 4c50763

Please sign in to comment.