mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 23:18:01 +00:00
Add SetCodeWithoutChecksCall (#166)
This commit is contained in:
@@ -156,6 +156,15 @@ pub struct SetCodeCall<'a, T: System> {
|
||||
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.
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Decode)]
|
||||
pub enum Phase {
|
||||
|
||||
Reference in New Issue
Block a user