Paul Berg

Results 723 comments of Paul Berg

What's your latest advice on how to convert an `address` to `bytes32`? I'm still relying on `abi.encodePacked` since it's clearer than `bytes.concat(bytes20(addr))`.

As discussed in #1961, another workaround for this (if you'd prefer not to use @alexroan's solution) if you're using Codecov to track coverage is to ignore the `test` directory using...

Permalink: https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/e91c3100c29d2913d175df4b3d1790d6a057d36e/solidity/coverage.sh (Links with `main` in them may get outdated)

> everything is visually "flat" .. Therefore I think using some comments to visually separate profiles can make it more readable An alternative is to format the TOML with [Taplo](https://taplo.tamasfe.dev/),...

@mds1 100% in favor of your feature proposal; it would be super useful. Regarding `/// @custom` NatSpec tags (which were added in Solidity v0.8.2) - later down the line, Foundry...

Compared to comments, using modifiers for test granularity has two downsides: 1. Much more difficult to make breaking changes (imagine your code not compiling after `foundryup` because the granularity modifier...

@PatrickAlphaC nice write-up; my take is that the benefits of using comments outweigh the cons. > the compiler will catch it vs you'd test your code incorrectly. Surely Foundry can...

Given that #4744 was merged, should we close this issue?

@yohanelly95 you can use `--match-path unit/**/*.sol`. Related: https://github.com/foundry-rs/foundry/issues/3841