mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-15 03:33:07 +00:00
Create a DAL lib with a Database struct that contains all tables and relationships. Referential integrity is guaranteed.
18 lines
319 B
Solidity
18 lines
319 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);
|
|
}
|
|
}
|