From 93dd45ba42924ae5475a267f42f68191aaa69d00 Mon Sep 17 00:00:00 2001 From: apoorvsadana Date: Thu, 11 Apr 2024 07:06:05 +0000 Subject: [PATCH] deploy: c7ac4cc332914d6659a99457ceb56e5b2c3304c9 --- implementors/core/convert/trait.From.js | 2 +- implementors/core/convert/trait.TryInto.js | 2 +- implementors/frame_support/traits/misc/trait.IsSubType.js | 2 +- implementors/pallet_starknet/pallet/trait.Config.js | 2 +- madara/rpc/starknet/struct.StarknetDeps.html | 4 ++-- madara_runtime/enum.RuntimeCall.html | 2 +- madara_runtime/enum.RuntimeError.html | 6 +++--- madara_runtime/index.html | 2 +- madara_runtime/opaque/index.html | 2 +- madara_runtime/opaque/trait.BuildStorage.html | 4 ++-- madara_runtime/struct.DefaultChainId.html | 4 ++-- madara_runtime/struct.Runtime.html | 4 ++-- madara_runtime/trait.BuildStorage.html | 4 ++-- madara_runtime/type.Starknet.html | 2 +- madara_runtime/type.StarknetConfig.html | 2 +- mc_l1_messages/worker/fn.run_worker.html | 2 +- 16 files changed, 23 insertions(+), 23 deletions(-) diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index c4d871e724..939ce4dd0d 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,6 +1,6 @@ (function() {var implementors = { "madara":[["impl From<Sealing> for SealingMode"]], -"madara_runtime":[["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event> for RuntimeEvent"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]], +"madara_runtime":[["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event> for RuntimeEvent"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]], "mc_db":[["impl From<Error> for DbError"],["impl From<DatabaseError> for DbError"],["impl From<Error> for DbError"]], "mc_genesis_data_provider":[["impl From<LoadGenesisDataError> for Error"]], "mc_l1_messages":[["impl<PE> From<ParseError> for L1MessagesWorkerError<PE>"],["impl<PE> From<DbError> for L1MessagesWorkerError<PE>"],["impl<PE> From<Error> for L1MessagesWorkerError<PE>"]], diff --git a/implementors/core/convert/trait.TryInto.js b/implementors/core/convert/trait.TryInto.js index 07b8e2bbe8..aa87b97bb7 100644 --- a/implementors/core/convert/trait.TryInto.js +++ b/implementors/core/convert/trait.TryInto.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"madara_runtime":[["impl TryInto<Event> for RuntimeEvent"],["impl TryInto<Event<Runtime>> for RuntimeEvent"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Error<Runtime>> for RuntimeError"]] +"madara_runtime":[["impl TryInto<Event> for RuntimeEvent"],["impl TryInto<Event<Runtime>> for RuntimeEvent"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Error<Runtime>> for RuntimeError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/frame_support/traits/misc/trait.IsSubType.js b/implementors/frame_support/traits/misc/trait.IsSubType.js index 1aeb016f15..5668d77426 100644 --- a/implementors/frame_support/traits/misc/trait.IsSubType.js +++ b/implementors/frame_support/traits/misc/trait.IsSubType.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"madara_runtime":[["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]] +"madara_runtime":[["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/pallet_starknet/pallet/trait.Config.js b/implementors/pallet_starknet/pallet/trait.Config.js index 6201d947de..9a821bdaef 100644 --- a/implementors/pallet_starknet/pallet/trait.Config.js +++ b/implementors/pallet_starknet/pallet/trait.Config.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"madara_runtime":[["impl Config for Runtime"]] +"madara_runtime":[["impl Config for Runtime"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/madara/rpc/starknet/struct.StarknetDeps.html b/madara/rpc/starknet/struct.StarknetDeps.html index 295d903a6c..2885543c58 100644 --- a/madara/rpc/starknet/struct.StarknetDeps.html +++ b/madara/rpc/starknet/struct.StarknetDeps.html @@ -1,14 +1,14 @@ StarknetDeps in madara::rpc::starknet - Rust
pub struct StarknetDeps<C, G: GenesisProvider, B: BlockT> {
     pub client: Arc<C>,
     pub madara_backend: Arc<Backend<B>>,
-    pub overrides: Arc<OverrideHandle<B>>,
+    pub overrides: Arc<OverrideHandle<B>>,
     pub sync_service: Arc<SyncingService<B>>,
     pub starting_block: <B::Header as HeaderT>::Number,
     pub genesis_provider: Arc<G>,
 }
Expand description

Extra dependencies for Starknet compatibility.

Fields§

§client: Arc<C>

The client instance to use.

§madara_backend: Arc<Backend<B>>

Madara Backend.

-
§overrides: Arc<OverrideHandle<B>>

Starknet data access overrides.

+
§overrides: Arc<OverrideHandle<B>>

Starknet data access overrides.

§sync_service: Arc<SyncingService<B>>

The Substrate client sync service.

§starting_block: <B::Header as HeaderT>::Number

The starting block for the syncing.

§genesis_provider: Arc<G>

The genesis state data provider

diff --git a/madara_runtime/enum.RuntimeCall.html b/madara_runtime/enum.RuntimeCall.html index c5b6b35473..9fa1c3e5df 100644 --- a/madara_runtime/enum.RuntimeCall.html +++ b/madara_runtime/enum.RuntimeCall.html @@ -19,7 +19,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8, Global>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<System, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Grandpa, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Timestamp, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Starknet, Runtime>) -> Self

Converts to this type from the input type.
source§

impl GetCallMetadata for RuntimeCall

source§

fn get_call_metadata(&self) -> CallMetadata

Return a [CallMetadata], containing function and pallet name of the Call.
source§

fn get_module_names() -> &'static [&'static str]

Return all module names.
source§

fn get_call_names(module: &str) -> &'static [&'static str]

Return all function names for the given module.
source§

impl GetDispatchInfo for RuntimeCall

source§

fn get_dispatch_info(&self) -> DispatchInfo

Return a DispatchInfo, containing relevant information of this dispatch. Read more
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<System, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Starknet, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Timestamp, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Grandpa, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl PartialEq<RuntimeCall> for RuntimeCall

source§

fn eq(&self, other: &RuntimeCall) -> bool

This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<System, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Grandpa, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Timestamp, Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Starknet, Runtime>) -> Self

Converts to this type from the input type.
source§

impl GetCallMetadata for RuntimeCall

source§

fn get_call_metadata(&self) -> CallMetadata

Return a [CallMetadata], containing function and pallet name of the Call.
source§

fn get_module_names() -> &'static [&'static str]

Return all module names.
source§

fn get_call_names(module: &str) -> &'static [&'static str]

Return all function names for the given module.
source§

impl GetDispatchInfo for RuntimeCall

source§

fn get_dispatch_info(&self) -> DispatchInfo

Return a DispatchInfo, containing relevant information of this dispatch. Read more
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<System, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Starknet, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Timestamp, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<Grandpa, Runtime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl PartialEq<RuntimeCall> for RuntimeCall

source§

fn eq(&self, other: &RuntimeCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for RuntimeCall

§

type Identity = RuntimeCall

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl UnfilteredDispatchable for RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

The origin type of the runtime, (i.e. frame_system::Config::RuntimeOrigin).
source§

fn dispatch_bypass_filter( self, diff --git a/madara_runtime/enum.RuntimeError.html b/madara_runtime/enum.RuntimeError.html index 5992d02468..7a82b07f1a 100644 --- a/madara_runtime/enum.RuntimeError.html +++ b/madara_runtime/enum.RuntimeError.html @@ -1,8 +1,8 @@ RuntimeError in madara_runtime - Rust
pub enum RuntimeError {
     System(Error<Runtime>),
     Grandpa(Error<Runtime>),
-    Starknet(Error<Runtime>),
-}

Variants§

§

System(Error<Runtime>)

§

Grandpa(Error<Runtime>)

§

Starknet(Error<Runtime>)

Implementations§

source§

impl RuntimeError

source

pub fn from_dispatch_error(err: DispatchError) -> Option<Self>

Optionally convert the DispatchError into the RuntimeError.

+ Starknet(Error<Runtime>), +}

Variants§

§

System(Error<Runtime>)

§

Grandpa(Error<Runtime>)

§

Starknet(Error<Runtime>)

Implementations§

source§

impl RuntimeError

source

pub fn from_dispatch_error(err: DispatchError) -> Option<Self>

Optionally convert the DispatchError into the RuntimeError.

Returns Some if the error matches the DispatchError::Module variant, otherwise None.

Trait Implementations§

source§

impl Debug for RuntimeError

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeError

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -15,7 +15,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8, Global>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TypeInfo for RuntimeError

§

type Identity = RuntimeError

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl EncodeLike<RuntimeError> for RuntimeError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl From<Error<Runtime>> for RuntimeError

source§

fn from(x: Error<Runtime>) -> Self

Converts to this type from the input type.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Error<Runtime>> for RuntimeError

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Error<Runtime>, Self::Error>

Performs the conversion.
source§

impl TypeInfo for RuntimeError

§

type Identity = RuntimeError

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl EncodeLike<RuntimeError> for RuntimeError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where diff --git a/madara_runtime/index.html b/madara_runtime/index.html index 99e669fb04..215fd821c4 100644 --- a/madara_runtime/index.html +++ b/madara_runtime/index.html @@ -2,7 +2,7 @@ public Starknet L2. For now this is the same because we don’t support yet validity proofs and state updates to another layer.

-

Re-exports

Modules

Macros

Structs

Re-exports

  • pub use pallet_starknet;

Modules

Macros

Structs

Required Methods§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.

Provided Methods§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.

Implementations on Foreign Types§

§

impl BuildStorage for ()

§

fn assimilate_storage(&self, _: &mut Storage) -> Result<(), String>

§

impl BuildStorage for Storage

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where - T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

source§

impl<T> BuildStorage for GenesisConfig<T>where - T: Config,

source§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where + T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where + T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Implementors§

\ No newline at end of file diff --git a/madara_runtime/struct.DefaultChainId.html b/madara_runtime/struct.DefaultChainId.html index c4c721e2eb..0845b87d46 100644 --- a/madara_runtime/struct.DefaultChainId.html +++ b/madara_runtime/struct.DefaultChainId.html @@ -1,5 +1,5 @@ -DefaultChainId in madara_runtime - Rust
pub struct DefaultChainId {}
Expand description

Default ChainId MADARA

-

Trait Implementations§

source§

impl Get<Felt252Wrapper> for DefaultChainId

source§

fn get() -> Felt252Wrapper

Return the current value.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +DefaultChainId in madara_runtime - Rust
pub struct DefaultChainId {}
Expand description

Default ChainId MADARA

+

Trait Implementations§

§

impl Get<Felt252Wrapper> for DefaultChainId

§

fn get() -> Felt252Wrapper

Return the current value.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where diff --git a/madara_runtime/struct.Runtime.html b/madara_runtime/struct.Runtime.html index 1b16ecce69..8f2c84efae 100644 --- a/madara_runtime/struct.Runtime.html +++ b/madara_runtime/struct.Runtime.html @@ -15,8 +15,8 @@

Timestamp manipulation. For instance, we need it to set the timestamp of the Starknet block.

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

-
§

type OnTimestampSet = ConsensusOnTimestampSet<Runtime>

Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
§

type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>

The minimum period between blocks. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

Configure the Starknet pallet in pallets/starknet.

-
§

type SystemHash = PedersenHasher

The hashing function to use.
§

type TimestampProvider = Pallet<Runtime>

The block time
§

type UnsignedPriority = UnsignedPriority

A configuration for base priority of unsigned transactions. Read more
§

type TransactionLongevity = TransactionLongevity

A configuration for longevity of transactions. Read more
§

type DisableTransactionFee = ConstBool<false>

A bool to disable transaction fees and make all transactions free
§

type DisableNonceValidation = ConstBool<false>

A bool to disable Nonce validation
§

type InvokeTxMaxNSteps = InvokeTxMaxNSteps

§

type ValidateMaxNSteps = ValidateMaxNSteps

§

type ProtocolVersion = ProtocolVersion

§

type MaxRecursionDepth = MaxRecursionDepth

§

type ProgramHash = ProgramHash

§

type L1GasPrice = L1GasPrice

The gas price
source§

impl Config for Runtime


+
§

type OnTimestampSet = ConsensusOnTimestampSet<Runtime>

Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
§

type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>

The minimum period between blocks. Read more
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.

source§

impl Config for Runtime

Configure the Starknet pallet in pallets/starknet.

+
§

type SystemHash = PedersenHasher

The hashing function to use.
§

type TimestampProvider = Pallet<Runtime>

The block time
§

type UnsignedPriority = UnsignedPriority

A configuration for base priority of unsigned transactions. Read more
§

type TransactionLongevity = TransactionLongevity

A configuration for longevity of transactions. Read more
§

type DisableTransactionFee = ConstBool<false>

A bool to disable transaction fees and make all transactions free
§

type DisableNonceValidation = ConstBool<false>

A bool to disable Nonce validation
§

type InvokeTxMaxNSteps = InvokeTxMaxNSteps

§

type ValidateMaxNSteps = ValidateMaxNSteps

§

type ProtocolVersion = ProtocolVersion

§

type MaxRecursionDepth = MaxRecursionDepth

§

type ProgramHash = ProgramHash

§

type L1GasPrice = L1GasPrice

The gas price
source§

impl Config for Runtime


FRAME SYSTEM PALLET

Configuration of frame_system pallet.

§

type BaseCallFilter = Everything

The basic call filter to use in dispatchable.

diff --git a/madara_runtime/trait.BuildStorage.html b/madara_runtime/trait.BuildStorage.html index ed0bcb6ed0..9de83b1fc4 100644 --- a/madara_runtime/trait.BuildStorage.html +++ b/madara_runtime/trait.BuildStorage.html @@ -8,8 +8,8 @@

Required Methods§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.

Provided Methods§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.

Implementations on Foreign Types§

§

impl BuildStorage for ()

§

fn assimilate_storage(&self, _: &mut Storage) -> Result<(), String>

§

impl BuildStorage for Storage

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where - T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

source§

impl<T> BuildStorage for GenesisConfig<T>where - T: Config,

source§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where + T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where + T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

§

impl<T> BuildStorage for GenesisConfig<T>where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Implementors§

\ No newline at end of file diff --git a/madara_runtime/type.Starknet.html b/madara_runtime/type.Starknet.html index c7be087e65..ecf0477c6b 100644 --- a/madara_runtime/type.Starknet.html +++ b/madara_runtime/type.Starknet.html @@ -1 +1 @@ -Starknet in madara_runtime - Rust

Type Definition madara_runtime::Starknet

source ·
pub type Starknet = Pallet<Runtime>;
\ No newline at end of file +Starknet in madara_runtime - Rust

Type Definition madara_runtime::Starknet

source ·
pub type Starknet = Pallet<Runtime>;
\ No newline at end of file diff --git a/madara_runtime/type.StarknetConfig.html b/madara_runtime/type.StarknetConfig.html index a0f7a29ef0..84119eef0d 100644 --- a/madara_runtime/type.StarknetConfig.html +++ b/madara_runtime/type.StarknetConfig.html @@ -1 +1 @@ -StarknetConfig in madara_runtime - Rust

Type Definition madara_runtime::StarknetConfig

source ·
pub type StarknetConfig = GenesisConfig<Runtime>;
\ No newline at end of file +StarknetConfig in madara_runtime - Rust

Type Definition madara_runtime::StarknetConfig

source ·
pub type StarknetConfig = GenesisConfig<Runtime>;
\ No newline at end of file diff --git a/mc_l1_messages/worker/fn.run_worker.html b/mc_l1_messages/worker/fn.run_worker.html index acf7977276..dbb16e2f2b 100644 --- a/mc_l1_messages/worker/fn.run_worker.html +++ b/mc_l1_messages/worker/fn.run_worker.html @@ -6,5 +6,5 @@ )where B: BlockT, C: ProvideRuntimeApi<B> + HeaderBackend<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, \ No newline at end of file