Skip to content

Commit

Permalink
refactor(rm redundant test): test
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed Nov 3, 2024
1 parent a587ac4 commit 8ba86cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
33 changes: 0 additions & 33 deletions rust/immutable-ledger/src/cddl/block.cddl

This file was deleted.

4 changes: 0 additions & 4 deletions rust/immutable-ledger/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,10 +706,6 @@ mod tests {

let encoded_block = block.to_bytes().unwrap();

const CDDL: &str = include_str!("./cddl/block.cddl");

cddl::validate_cbor_from_slice(CDDL, &encoded_block, None).unwrap();

let (block_header, block_data, sigs) = Block::from_bytes(&encoded_block, &Blake2b).unwrap();

assert_eq!(block_header, block_hdr);
Expand Down

0 comments on commit 8ba86cc

Please sign in to comment.