mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-02-12 08:26:46 +00:00
- Marketplace tests for requestsForHost, and additional tests for myRequests and mySlots - Added Utils lib with tests - Added additional Bytes32AddressSetMap.keys expectations
18 lines
320 B
Solidity
18 lines
320 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "./Utils.sol";
|
|
|
|
// exposes public functions for testing
|
|
contract TestUtils {
|
|
|
|
function resize(bytes32[] memory array,
|
|
uint8 newSize)
|
|
public
|
|
pure
|
|
returns (bytes32[] memory)
|
|
{
|
|
return Utils._resize(array, newSize);
|
|
}
|
|
}
|