mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 07:31:08 +00:00
Add SetCodeWithoutChecksCall (#166)
This commit is contained in:
@@ -156,6 +156,15 @@ pub struct SetCodeCall<'a, T: System> {
|
|||||||
pub code: &'a [u8],
|
pub code: &'a [u8],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Arguments for updating the runtime code without checks
|
||||||
|
#[derive(Clone, Debug, Eq, PartialEq, Call, Encode)]
|
||||||
|
pub struct SetCodeWithoutChecksCall<'a, T: System> {
|
||||||
|
/// Runtime marker.
|
||||||
|
pub _runtime: PhantomData<T>,
|
||||||
|
/// Runtime wasm blob.
|
||||||
|
pub code: &'a [u8],
|
||||||
|
}
|
||||||
|
|
||||||
/// A phase of a block's execution.
|
/// A phase of a block's execution.
|
||||||
#[derive(Clone, Debug, Eq, PartialEq, Decode)]
|
#[derive(Clone, Debug, Eq, PartialEq, Decode)]
|
||||||
pub enum Phase {
|
pub enum Phase {
|
||||||
|
|||||||
Reference in New Issue
Block a user