Dmitry Murzin
Dmitry Murzin
For example when crate has dependencies on both winapi 0.2 and winapi 0.3, you may want to determine why you have winapi 0.2
Currently `Secret ` wrapper requires `T` to implement `Zeroize`. Would be nice to support `ZeroizeOnDrop`, that is `T` need to implement either `Zeroize` or `ZeroizeOnDrop`. Consider the example which currently...
## Description Added ISI for custom instructions, and two tests demonstrating possible use: * Test with one custom instruction `MintAssetForAllAccounts` * Test with simple expression system ### Linked issue Closes...
## Description * Added `genesis.hash` config parameter and removed `genesis.public_key` * Added command `kagami genesis hash` which calculates hash of genesis block * `kagami genesis sign` still needs genesis key...
### OS and Environment Linux ### GIT commit hash 4779723cddfe64eccaec375f0cb60b9a6277e994 ### Minimum working example / Steps to reproduce ```sh docker compose -f configs/swarm/docker-compose.single.yml up ``` Update: also can be reproduced...
> I mean, we did not need any instructions for the genesis domain and account registered, which means we already have an assumption on the initial state across peers. Also,...
Would be nice to leverage `zeroize` crate (already in dependencies) to zeroizing secret keys on drop. E.g. similar to [`ed25519-dalek`](https://github.com/dalek-cryptography/curve25519-dalek/blob/1efe6a93b176c4389b78e81e52b2cf85d728aac6/ed25519-dalek/src/signing.rs#L651-L659): ```rust impl Drop for SecretKeyVT { fn drop(&mut self) {...
## Context Fixes #4813 ### Solution Changes format of `genesis.json` from: ```json5 { ... "parameters": [ { "Sumeragi": { "BlockTimeMs": 2000 } }, { "Sumeragi": { "CommitTimeMs": 4000 } },...
## Context Fixes #4729 ### Solution Use `std::time::SystemTime` for time stamps instead of `std::time::Duration`. * Note that `SystemTime` requires `std`, so it will not be available inside WASM. * Alternatively...
Consider simple Rust program calculating fibonacci number: ```rust fn main() { println!("{}", fibonacci(42)); } fn fibonacci(n: u32) -> u32 { match n { 0 => 0, 1 => 1, _...