Igor Żuk
Igor Żuk
# Context As a user I have a `Logger` and I want to create a new `Logger`, which is the same as the old one, but has additional key-value. #...
I have a smart contract which uses EIP-712 signatures in its API, which I want to test. The regular testing routine is to have a smart contract as a user,...
When scanning QR codes with payment URLs, the app doesn't follow ERC-681 in some details: - [ ] `ETH` unit is not supported, e.g. `value=1+ETH` - [ ] custom units...
Solidity allows double or single quotes in string literals. It's useful in cases where the string itself contains quotes, it removes the need for escaping them. Banning one flavor upfront...
Yul doesn't have `while` loops, only `for`, which to emulate `while` needs to contain empty blocks: ```solidity assembly { for {} /*while_condition*/ {} { ... } } ``` These empty...
Add feature of injecting all modules in a crate with a single line of code in root module: ```#![inject_mocks]``` Blocked: https://github.com/rust-lang/rust/issues/41430
``` #[mockable] mod module; ``` Doesn't make content of `module` mockable since rustc 1.30.0-nightly (63d51e89a 2018-09-28). The necessary functionality was removed from rustc, it may or may not be restored:...
This code compiles causing conversion of `&str` to `&'static str`: ```rust #[mockable] fn terrible(_: &str) -> &'static str { "a" } #[test] fn terrible_test() { // This closure has type...
Mocks taking effect in every thread during test runtime. Probably should block other test runs, preferably only multithreaded