Questions tagged [dapptools]
2 questions
1
vote
1 answer
How to test a single function in dapptools?
I have a list of functions I'm trying to test with dapptools, but I only want to test one. How do I accomplish this?
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "../DappLottery.sol";
import "ds-test/test.sol";
contract…

Patrick Collins
- 5,621
- 3
- 26
- 64
0
votes
1 answer
`dapp-build: building with linked libraries` | why do I get this?
I have a dapptools project, and when I run dapp test I get the following before my tests happen:
dapp-build: building with linked libraries
dapp: Predeploying test library lib/openzeppelin-contracts/contracts/utils/Address.sol:Address at…

Patrick Collins
- 5,621
- 3
- 26
- 64