Skip to content

Commit

Permalink
pptr -> pptrOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
d1ll0n committed Feb 19, 2024
1 parent 255bcef commit 6cec649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/foundry/new/helpers/event-utils/ForgeEventsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ library ForgeEventsLib {
uint256 topicsCount = topics.readUint256();
(bytes32 topic0,, bytes32 topic1,, bytes32 topic2,, bytes32 topic3,) =
getTopics(log);
MemoryPointer data = toMemoryPointer(log).pptr(32);
MemoryPointer data = toMemoryPointer(log).pptrOffset(32);
assembly {
switch topicsCount
case 4 { log4(data, mload(data), topic0, topic1, topic2, topic3) }
Expand Down

0 comments on commit 6cec649

Please sign in to comment.