Igor Żuk
Igor Żuk
I've tried running Slither using branch `dev-fix-usingfor` from PR https://github.com/crytic/slither/pull/1378 and indeed it doesn't throw the `Top level UsingForDirective not supported` anymore. Unfortunately it throws this strange exception: ``` 'forge...
Thank you for looking into this! The codebase is here: https://github.com/radicle-dev/drips-contracts
I've found the root issue. It turns out that Slither has a problem with the Foundry's test utils. Even the exception says that the problem was found in `lib/forge-std/src/Test.sol`. The...
Probably a duplicate of https://github.com/foundry-rs/foundry/issues/2429
I think that `impl Drain for Logger` is a very nice closure of idea of `Drain`s and in some cases it might add crucial elasticity. The depreciation could affect legitimate...
Is it possible to create de-duplicating `Drain` with current API? AFAIK `Drain::log` receives `&OwnedKVList`, which can't do anything with its public API. This leads us back to my proposition 1,...
So if I understand correctly, the idea is to create `Drain` which on every log will create a fake serializer and pass it to `KV`. This serializer will intercept and...
I think that adding possibility to construct `OwnedKV` by hand could solve this issue. This is a simple newtype and a struct, so it would be 2 lines of code...
Why `OwnedKVList` and not `OwnedKV`? The latter is more generic and can generate `OwnedKVList`, but not the other way around.
Hi @ekjotsinghmakhija, sorry, but I can't, I'm not a maintainer :shrug: