Skip to content

Commit

Permalink
fixed TheCompactMock
Browse files Browse the repository at this point in the history
  • Loading branch information
vimageDE committed Dec 16, 2024
1 parent 50ab84c commit bcb19c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/TheCompactMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.27;

import { IAllocator } from "src/interfaces/IAllocator.sol";
import { ERC6909 } from "solady/tokens/ERC6909.sol";
import { ERC6909 } from "lib/solady/src/tokens/ERC6909.sol";
import { ERC20 } from "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol";
import { IdLib } from "src/lib/IdLib.sol";

Expand All @@ -13,8 +13,10 @@ contract TheCompactMock is ERC6909 {
using IdLib for address;

mapping(uint256 nonce => bool consumed) public consumedNonces;
mapping(address allocator => bool registered) public registeredAllocators;

function __registerAllocator(address allocator, bytes calldata proof) external returns (uint96) {
function __registerAllocator(address allocator, bytes calldata) external returns (uint96) {
registeredAllocators[allocator] = true;
return 0;
}

Expand Down

0 comments on commit bcb19c9

Please sign in to comment.