tmpolaczyk
tmpolaczyk
Currently it is impossible to store anything more than a single enum: ```rust #[test] fn option_option() { let a = Some(Some(1u8)); let msp = rmp_serde::to_vec(&a).unwrap(); assert_eq!(rmp_serde::from_slice::(&msp).unwrap(), a); } ```
We should also clean the transactions from that block. But be careful, if the same transaction hash is also included in a later block, we must not delete it. In...
Alternatively, we could design a simple web-based interface to see the rough status of the bridge node: list of data requests and the state of each of them, as that...
I don't remember, but I believe there was a small issue with that pull request, related to the node expecting iterators to implement `DoubleEndedIterator` (and being able to call `.rev()`...
PR #2240 implements a few CLI commands to improve the user experience, such as "encodeScript" and "decodeScript".
Sure, I have this example but it is outdated as some commands do not exist anymore, I will try to adapt it to the latest changes later: Show outdated commands...
Updated commands to create a 2-of-3 multisig: ``` RUST_BACKTRACE=full RUST_LOG=witnet=debug cargo run -- -c witnet_01.toml node createMultiSigAddress --m-sig 2 --n-sig 3 --pkhs twit1vuv64djke9e74qdap06k8uvcx66lhww8rtepjl twit1j7x20sj33fwqh575zezapxdejrs5ets99p2kx0 twit1zutan0dwtfmfcnv34epvjyhwamny20vkx09zjc twit19zkjef6v4l52hy00yn3qtdr9xqs895j4wnjgar RUST_BACKTRACE=full RUST_LOG=witnet=debug cargo run...
This error can still be seen in some cases, for example if the node panics right after starting (for example when it's missing a genesis_block.json file or if the port...
This error still happens as of commit 18246db9f737e377b58b34746e288600d2454457, a simple way to reproduce it is to start a node and quickly press ctrl-c to stop it.
We can use this test to reproduce the error: ```rust // node/src/actors/chain_manager/handlers.rs #[test] fn test_split_blocks_batch_stuck() { use BlockBatches::*; let sync_target = SyncTarget { block: CheckpointBeacon { checkpoint: 30933, hash_prev_block: "e19ad79b53ccb1f6676989e57e12187266dedabc42ad3b29baa78f1361335be8".parse().unwrap(),...