mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-28 14:39:53 +00:00
feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
commit
e4778b4576
6838 files changed
+1847450
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Validation Code
|
||||
|
||||
Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
||||
|
||||
```rust
|
||||
fn validation_code(at: Block, ParaId, OccupiedCoreAssumption) -> Option<ValidationCode>;
|
||||
```
|
||||
|
||||
Fetch the validation code (past, present or future) by its hash.
|
||||
|
||||
```rust
|
||||
fn validation_code_by_hash(at: Block, ValidationCodeHash) -> Option<ValidationCode>;
|
||||
```
|
||||
|
||||
Fetch the validation code hash used by a para, making the given `OccupiedCoreAssumption`.
|
||||
|
||||
> ⚠️ This API was introduced in `TeyrchainHost` v2.
|
||||
|
||||
```rust
|
||||
fn validation_code_hash(at: Block, ParaId, OccupiedCoreAssumption) -> Option<ValidationCodeHash>;
|
||||
```
|
||||
Reference in new issue
Block a user