Open stevenvaleri opened 9 months ago
IMO this would be more readable:
HashPairTest
It should never revert.
When first arg is smaller than second arg
It should match the result of `keccak256(abi.encodePacked(a,b))`.
When first arg is bigger than second arg
It should match the result of `keccak256(abi.encodePacked(b,a))`.
than that:
HashPairTest
# It should never revert.
# When first arg is smaller than second arg
## It should match the result of `keccak256(abi.encodePacked(a,b))`.
# When first arg is bigger than second arg
## It should match the result of `keccak256(abi.encodePacked(b,a))`.
Essentially if we could have bulloak tree
working like thisEseconFargA43match%20the%20resulBof%20%60-.A4WheEfirsBarg%20is%200keccak256%7Babi.encodePacked%7B34IBshoulF4%20%207!false8er%209%7D%7D%60A%5CnBt%20Csource!En%20Fd%20G8tha%01GFECBA987430-), all pain points related to the tree formatting would be gone :sparkles:
Automatically convert from
VS Code has a nice tree generator: Ascii Tree Generator plug in, but even using that can be a bit tedious converting to and from tree syntax. Bulloak doing this conversion for you would be quite nice.
The plugin allows you to use hashtags for tree structures and automatically converts it into the nice tree.