Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Dec 17, 2024
1 parent c937338 commit c01db5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion contracts/test/Bitfield.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ contract BitfieldTest is Test {

string memory json = vm.readFile(string.concat(vm.projectRoot(), "/test/data/beefy-validator-set.json"));
uint32 setSize = uint32(json.readUint(".validatorSetSize"));
bytes32 root = json.readBytes32(".validatorRoot");
uint256[] memory bitSetArray = json.readUintArray(".participants");

uint256[] memory initialBitField = bw.createBitfield(bitSetArray, setSize);
Expand Down
1 change: 1 addition & 0 deletions contracts/test/mocks/BitfieldWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ contract BitfieldWrapper {

function subsample(uint256 seed, uint256[] memory prior, uint256 n, uint256 length)
public
pure
returns (uint256[] memory bitfield)
{
return Bitfield.subsample(seed, prior, n, length);
Expand Down

0 comments on commit c01db5c

Please sign in to comment.