crytic/slither

Inheritance printer adds unnecessary carriage return

Open

#1,835 opened on 2023年4月12日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Python (886 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (4,769 stars)
PR merge metrics
 (平均マージ 54d 9h) (30d で 2 merged PRs)

説明

% cat test.sol

pragma solidity >= 0.8.19;

interface IFoo{}

contract Foo is IFoo {}

abstract contract Bar is Foo {}

interface IBaz{}

contract Baz is Bar, IBaz{}

% slither test.sol --print inheritance

+ Baz
 -> Bar, IBaz
, [Foo, IFoo]

It looks like we added unnecessary carriage return to the output at some point

コントリビューターガイド