Skip to content

Commit 1fff15a

Browse files
committed
chore: forge fmt
1 parent 6b79fbc commit 1fff15a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/StdCheats.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,8 @@ abstract contract StdCheats is StdCheatsSafe {
885885
uint256 toPrevBal = abi.decode(toBalData, (uint256));
886886

887887
// update balances (packed-aware)
888-
_stdstore.enable_packed_slots().target(token).sig(0x70a08231).with_key(abi.decode(ownerData, (address))).checked_write(--fromPrevBal);
888+
_stdstore.enable_packed_slots().target(token).sig(0x70a08231).with_key(abi.decode(ownerData, (address)))
889+
.checked_write(--fromPrevBal);
889890
_stdstore.enable_packed_slots().target(token).sig(0x70a08231).with_key(to).checked_write(++toPrevBal);
890891

891892
// update owner

test/StdCheats.t.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,6 @@ contract BarERC721 {
687687
mapping(address => uint256) private _balances;
688688
}
689689

690-
691690
/// ERC20-like balance packed with adjacent metadata in the same slot (low 128 = balance).
692691
contract PackedBalanceToken {
693692
// layout per address: [other:128][balance:128]

0 commit comments

Comments
 (0)