create newtype for ValidationCodeHash (#3212)

* create newtype for ValidationCodeHash

* pvf: fix tests compilation

* primitives: fix test compilation
This commit is contained in:
André Silva authored and GitHub committed 2021-06-12 16:44:07 +00:00
1 parent 693302bee0
commit 097cadca19
15 files changed
+102 -58

No files matched your search

@@ -9,5 +9,5 @@ fn validation_code(at: Block, ParaId, OccupiedCoreAssumption) -> Option<Validati
Fetch the validation code (past, present or future) by its hash.
```rust
fn validation_code_by_hash(at: Block, Hash) -> Option<ValidationCode>;
fn validation_code_by_hash(at: Block, ValidationCodeHash) -> Option<ValidationCode>;
```