Skip to content

Support deploy time linking #91

Open
@smiasojed

Description

@smiasojed

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";
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions