diff --git a/flake.lock b/flake.lock index 6a37d4e7e..b61656e3f 100644 --- a/flake.lock +++ b/flake.lock @@ -109,11 +109,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1698924604, - "narHash": "sha256-GCFbkl2tj8fEZBZCw3Tc0AkGo0v+YrQlohhEGJ/X4s0=", + "lastModified": 1699099776, + "narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "fa804edfb7869c9fb230e174182a8a1a7e512c40", + "rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb", "type": "github" }, "original": { @@ -166,11 +166,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1698852633, - "narHash": "sha256-Hsc/cCHud8ZXLvmm8pxrXpuaPEeNaaUttaCvtdX/Wug=", + "lastModified": 1699271226, + "narHash": "sha256-8Jt1KW3xTjolD6c6OjJm9USx/jmL+VVmbooADCkdDfU=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "dec10399e5b56aa95fcd530e0338be72ad6462a0", + "rev": "ea758da1a6dcde6dc36db348ed690d09b9864128", "type": "github" }, "original": { @@ -194,11 +194,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1698977568, - "narHash": "sha256-bnbCqPDFdOUcSANJv9Br3q/b1LyK9vyB1I7os5T4jXI=", + "lastModified": 1699582387, + "narHash": "sha256-sPmUXPDl+cEi+zFtM5lnAs7dWOdRn0ptZ4a/qHwvNDk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "321affd863e3e4e669990a1db5fdabef98387b95", + "rev": "41f7b0618052430d3a050e8f937030d00a2fcced", "type": "github" }, "original": { diff --git a/primitives/src/vid/advz.rs b/primitives/src/vid/advz.rs index 97b4f336c..390cad267 100644 --- a/primitives/src/vid/advz.rs +++ b/primitives/src/vid/advz.rs @@ -144,6 +144,7 @@ where /// The [`VidScheme::Share`] type for [`Advz`]. #[derive(Derivative, Deserialize, Serialize)] +#[serde(bound = "Output: Serialize + for<'a> Deserialize<'a>")] #[derivative( Clone(bound = ""), Debug(bound = ""), @@ -638,7 +639,8 @@ mod tests { }; use sha2::Sha256; - #[test] + // #[test] + #[allow(dead_code)] fn disperse_timer() { // run with 'print-trace' feature to see timer output let (payload_chunk_size, num_storage_nodes) = (256, 512); @@ -651,7 +653,8 @@ mod tests { let _ = advz.disperse(&payload_random); } - #[test] + // #[test] + #[allow(dead_code)] fn commit_only_timer() { // run with 'print-trace' feature to see timer output let (payload_chunk_size, num_storage_nodes) = (256, 512);