You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for deploy time linking to compile this code correctly:
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
library Assert {
function equal(uint256 a, uint256 b) public pure returns (bool result) {
result = (a == b);
}
}
contract TestAssert {
function checkEquality(uint256 a, uint256 b) public pure returns (string memory) {
Assert.equal(a, b);
return "Values are equal";
}
}
The text was updated successfully, but these errors were encountered:
Add support for deploy time linking to compile this code correctly:
The text was updated successfully, but these errors were encountered: