test: wip, improve fuzzing #38
Annotations
10 errors and 11 warnings
Run yarn lint:check:
src/contracts/BFactory.sol#L21
event name must be in CapWords
|
Run yarn lint:check:
src/contracts/BFactory.sol#L23
event name must be in CapWords
|
Run yarn lint:check:
src/contracts/BFactory.sol#L50
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BFactory.sol#L56
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BFactory.sol#L59
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BNum.sol#L29
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BNum.sol#L35
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BNum.sol#L49
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BNum.sol#L51
Use Custom Errors instead of require statements
|
Run yarn lint:check:
src/contracts/BNum.sol#L57
Use Custom Errors instead of require statements
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run yarn lint:check:
test/unit/BPool.t.sol#L7
Variable "console" is unused
|
Run yarn lint:check:
test/unit/BPool.t.sol#L315
prefer use of explicit type uint256 over uint
|
Run yarn lint:check:
test/unit/BPool.t.sol#L320
prefer use of explicit type uint256 over uint
|
Run yarn lint:check:
test/unit/BPool.t.sol#L323
prefer use of explicit type uint256 over uint
|
Run yarn lint:check:
test/unit/BPool.t.sol#L323
Variable "_tokenAmountIn" is unused
|
Run yarn lint:check:
test/unit/BPool.t.sol#L329
Function order is incorrect, modifier definition can not go after internal view function (line 311)
|
Run yarn lint:check:
src/contracts/BColor.sol#L14
Found more than one contract per file. 2 contracts found!
|
Run yarn lint:check:
src/contracts/BConst.sol#L16
global import of path ./BColor.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run yarn lint:check:
src/contracts/BFactory.sol#L18
global import of path ./BPool.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run yarn lint:check:
src/contracts/BFactory.sol#L25
Function order is incorrect, state variable declaration can not go after event definition (line 23)
|
Loading