From 222e26867ffcb30daffe570eb5fa19e178c84211 Mon Sep 17 00:00:00 2001 From: tdelabro Date: Mon, 6 May 2024 05:55:48 +0000 Subject: [PATCH] deploy: 79e7f433153ec9e22023476f38e16ea518e4a3d0 --- implementors/core/convert/trait.From.js | 4 +- implementors/core/convert/trait.TryInto.js | 2 +- .../traits/misc/trait.IsSubType.js | 2 +- .../futures_core/stream/trait.Stream.js | 4 +- .../mc_rpc_core/trait.MadaraRpcApiServer.js | 2 +- .../trait.StarknetReadRpcApiServer.js | 2 +- .../trait.StarknetTraceRpcApiServer.js | 2 +- .../trait.StarknetWriteRpcApiServer.js | 2 +- .../execution/trait.SetArbitraryNonce.js | 2 +- .../pallet_starknet/pallet/trait.Config.js | 2 +- .../trait.ConvertTransactionRuntimeApi.js | 2 +- .../trait.StarknetRuntimeApi.js | 2 +- .../block_import/trait.BlockImport.js | 2 +- 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 | 6 +- madara_runtime/struct.RuntimeApiImpl.html | 58 +++++++++---------- madara_runtime/trait.BuildStorage.html | 4 +- madara_runtime/type.Starknet.html | 2 +- madara_runtime/type.StarknetConfig.html | 2 +- .../struct.CommitmentStateDiffWorker.html | 4 +- .../struct.OnDiskGenesisConfig.html | 2 +- .../trait.GenesisProvider.html | 4 +- .../error/enum.L1MessagesWorkerError.html | 6 +- mc_l1_messages/worker/fn.run_worker.html | 4 +- mc_mapping_sync/struct.MappingSyncWorker.html | 4 +- mc_rpc/fn.get_block_by_block_hash.html | 2 +- .../struct.StarknetRpcWrapper.html | 18 +++--- .../trait.MadaraRpcApiServer.html | 8 +-- .../trait.StarknetReadRpcApiServer.html | 12 ++-- .../trait.StarknetTraceRpcApiServer.html | 8 +-- .../trait.StarknetWriteRpcApiServer.html | 8 +-- mc_rpc/struct.Starknet.html | 32 +++++----- mc_rpc/trait.MadaraRpcApiServer.html | 8 +-- mc_rpc/trait.StarknetReadRpcApiServer.html | 12 ++-- mc_rpc/trait.StarknetTraceRpcApiServer.html | 8 +-- mc_rpc/trait.StarknetWriteRpcApiServer.html | 8 +-- .../trait.StarknetReadRpcApiServer.html | 4 +- .../utils/fn.get_block_by_block_hash.html | 2 +- .../struct.StarknetBlockImport.html | 2 +- mc_storage/fn.overrides_handle.html | 2 +- .../struct.RuntimeApiStorageOverride.html | 2 +- mc_storage/trait.StorageOverride.html | 2 +- mp_block/enum.BlockId.html | 4 +- mp_block/struct.Header.html | 2 +- mp_digest_log/enum.Log.html | 4 +- mp_digest_log/fn.find_starknet_block.html | 2 +- mp_digest_log/index.html | 2 +- mp_snos_output/trait.SnosCodec.html | 2 +- .../trait.ComputeTransactionHash.html | 26 ++++----- ...fn.try_account_tx_from_broadcasted_tx.html | 2 +- ...eclare_tx_from_broadcasted_declare_tx.html | 2 +- ..._deploy_tx_from_broadcasted_deploy_tx.html | 2 +- ..._invoke_tx_from_broadcasted_invoke_tx.html | 2 +- .../struct.BlockifierStateAdapter.html | 2 +- src/mp_snos_output/codec.rs.html | 2 +- 60 files changed, 169 insertions(+), 169 deletions(-) diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 35abb44ae..2eb0c2817 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,9 +1,9 @@ (function() {var implementors = { "madara":[["impl From<Sealing> for SealingMode"]], -"madara_runtime":[["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["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> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"]], +"madara_runtime":[["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["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> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"]], "mc_db":[["impl From<DatabaseError> for DbError"],["impl From<Error> for DbError"],["impl From<Error> for DbError"]], "mc_genesis_data_provider":[["impl From<LoadGenesisDataError> for Error"]], -"mc_l1_messages":[["impl<PE> From<Error> for L1MessagesWorkerError<PE>"],["impl<PE> From<ParseError> for L1MessagesWorkerError<PE>"],["impl<PE> From<DbError> for L1MessagesWorkerError<PE>"]], +"mc_l1_messages":[["impl<PE> From<Error> for L1MessagesWorkerError<PE>"],["impl<PE> From<ParseError> for L1MessagesWorkerError<PE>"],["impl<PE> From<DbError> for L1MessagesWorkerError<PE>"]], "mp_felt":[["impl From<Felt252Wrapper> for TransactionHash"],["impl From<BlockHash> for Felt252Wrapper"],["impl From<EthAddress> for Felt252Wrapper"],["impl From<StarkFelt> for Felt252Wrapper"],["impl From<Felt252Wrapper> for PatriciaKey"],["impl From<Felt252WrapperError> for Cow<'static, str>"],["impl From<ClassHash> for Felt252Wrapper"],["impl From<Felt252Wrapper> for ContractAddressSalt"],["impl From<FromStrError> for Felt252WrapperError"],["impl From<Felt252Wrapper> for EventKey"],["impl From<Felt252Wrapper> for CompiledClassHash"],["impl From<EventKey> for Felt252Wrapper"],["impl From<u64> for Felt252Wrapper"],["impl From<Felt252Wrapper> for Felt252"],["impl From<TransactionVersion> for Felt252Wrapper"],["impl From<Felt252> for Felt252Wrapper"],["impl From<u32> for Felt252Wrapper"],["impl From<Felt252Wrapper> for [u8; 32]"],["impl From<CompiledClassHash> for Felt252Wrapper"],["impl From<u128> for Felt252Wrapper"],["impl From<Felt252Wrapper> for BlockHash"],["impl From<Felt252Wrapper> for StarkFelt"],["impl From<Felt252Wrapper> for U256"],["impl From<Felt252Wrapper> for Nonce"],["impl From<PatriciaKey> for Felt252Wrapper"],["impl From<Felt252Wrapper> for ClassHash"],["impl From<Nonce> for Felt252Wrapper"],["impl From<EntryPointSelector> for Felt252Wrapper"],["impl From<FieldElement> for Felt252Wrapper"],["impl From<ContractAddress> for Felt252Wrapper"],["impl From<Felt252Wrapper> for ContractAddress"],["impl From<Felt252Wrapper> for FieldElement"],["impl From<StorageKey> for Felt252Wrapper"],["impl From<Felt252Wrapper> for H256"],["impl From<Felt252Wrapper> for StorageKey"],["impl From<Felt252WrapperError> for String"],["impl From<ContractAddressSalt> for Felt252Wrapper"],["impl From<Felt252Wrapper> for TransactionVersion"],["impl From<TransactionHash> for Felt252Wrapper"],["impl From<Felt252Wrapper> for EntryPointSelector"],["impl From<u8> for Felt252Wrapper"]], "mp_genesis_config":[["impl From<Felt252Wrapper> for HexFelt"],["impl From<FieldElement> for HexFelt"],["impl From<HexFelt> for FieldElement"]], "mp_messages":[["impl From<L1HandlerTransaction> for MessageL1ToL2"],["impl From<MessageToL1> for MessageL2ToL1"]], diff --git a/implementors/core/convert/trait.TryInto.js b/implementors/core/convert/trait.TryInto.js index 0509cd55b..4b6ba9156 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<Error<Runtime>> for RuntimeError"],["impl TryInto<Event> for RuntimeEvent"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Event<Runtime>> for RuntimeEvent"],["impl TryInto<Error<Runtime>> for RuntimeError"]] +"madara_runtime":[["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Event> for RuntimeEvent"],["impl TryInto<Error<Runtime>> for RuntimeError"],["impl TryInto<Event<Runtime>> for RuntimeEvent"],["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 5668d7742..32f6dbf44 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/futures_core/stream/trait.Stream.js b/implementors/futures_core/stream/trait.Stream.js index f9fcff15e..45ff9470c 100644 --- a/implementors/futures_core/stream/trait.Stream.js +++ b/implementors/futures_core/stream/trait.Stream.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"mc_commitment_state_diff":[["impl<B: BlockT, C, H> Stream for CommitmentStateDiffWorker<B, C, H>where\n C: ProvideRuntimeApi<B> + HeaderBackend<B>,\n C::Api: StarknetRuntimeApi<B>,\n H: HasherT + Unpin,"]], -"mc_mapping_sync":[["impl<B: BlockT, C, BE, H> Stream for MappingSyncWorker<B, C, BE, H>where\n C: ProvideRuntimeApi<B> + HeaderBackend<B> + StorageProvider<B, BE>,\n C::Api: StarknetRuntimeApi<B>,\n BE: Backend<B>,\n H: HasherT,"]] +"mc_commitment_state_diff":[["impl<B: BlockT, C, H> Stream for CommitmentStateDiffWorker<B, C, H>where\n C: ProvideRuntimeApi<B> + HeaderBackend<B>,\n C::Api: StarknetRuntimeApi<B>,\n H: HasherT + Unpin,"]], +"mc_mapping_sync":[["impl<B: BlockT, C, BE, H> Stream for MappingSyncWorker<B, C, BE, H>where\n C: ProvideRuntimeApi<B> + HeaderBackend<B> + StorageProvider<B, BE>,\n C::Api: StarknetRuntimeApi<B>,\n BE: Backend<B>,\n H: HasherT,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/mc_rpc_core/trait.MadaraRpcApiServer.js b/implementors/mc_rpc_core/trait.MadaraRpcApiServer.js index e6e87a28a..b68e915a7 100644 --- a/implementors/mc_rpc_core/trait.MadaraRpcApiServer.js +++ b/implementors/mc_rpc_core/trait.MadaraRpcApiServer.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mc_rpc":[["impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"]] +"mc_rpc":[["impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/mc_rpc_core/trait.StarknetReadRpcApiServer.js b/implementors/mc_rpc_core/trait.StarknetReadRpcApiServer.js index 5aadaae40..778a2681d 100644 --- a/implementors/mc_rpc_core/trait.StarknetReadRpcApiServer.js +++ b/implementors/mc_rpc_core/trait.StarknetReadRpcApiServer.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] +"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/mc_rpc_core/trait.StarknetTraceRpcApiServer.js b/implementors/mc_rpc_core/trait.StarknetTraceRpcApiServer.js index a80a08674..4639dc63f 100644 --- a/implementors/mc_rpc_core/trait.StarknetTraceRpcApiServer.js +++ b/implementors/mc_rpc_core/trait.StarknetTraceRpcApiServer.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n G: GenesisProvider + Send + Sync + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] +"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n BE: Backend<B> + 'static,\n G: GenesisProvider + Send + Sync + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n P: TransactionPool<Block = B> + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/mc_rpc_core/trait.StarknetWriteRpcApiServer.js b/implementors/mc_rpc_core/trait.StarknetWriteRpcApiServer.js index b34134a8d..a8376f9fe 100644 --- a/implementors/mc_rpc_core/trait.StarknetWriteRpcApiServer.js +++ b/implementors/mc_rpc_core/trait.StarknetWriteRpcApiServer.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] +"mc_rpc":[["impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"],["impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for Starknet<A, B, BE, G, C, P, H>where\n A: ChainApi<Block = B> + 'static,\n B: BlockT,\n P: TransactionPool<Block = B> + 'static,\n BE: Backend<B> + 'static,\n C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>,\n C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>,\n G: GenesisProvider + Send + Sync + 'static,\n H: HasherT + Send + Sync + 'static,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/mp_transactions/execution/trait.SetArbitraryNonce.js b/implementors/mp_transactions/execution/trait.SetArbitraryNonce.js index a20aba9a1..8110156fa 100644 --- a/implementors/mp_transactions/execution/trait.SetArbitraryNonce.js +++ b/implementors/mp_transactions/execution/trait.SetArbitraryNonce.js @@ -1,4 +1,4 @@ (function() {var implementors = { "mp_transactions":[], -"pallet_starknet":[["impl<T: Config> SetArbitraryNonce for BlockifierStateAdapter<T>"]] +"pallet_starknet":[["impl<T: Config> SetArbitraryNonce for BlockifierStateAdapter<T>"]] };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 9a821bdae..6201d947d 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/implementors/pallet_starknet_runtime_api/trait.ConvertTransactionRuntimeApi.js b/implementors/pallet_starknet_runtime_api/trait.ConvertTransactionRuntimeApi.js index b2995a1ab..a8ccbf952 100644 --- a/implementors/pallet_starknet_runtime_api/trait.ConvertTransactionRuntimeApi.js +++ b/implementors/pallet_starknet_runtime_api/trait.ConvertTransactionRuntimeApi.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"madara_runtime":[["impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ConvertTransactionRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where\n RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,\n &'static RuntimeApiImplCall: Send,\n AccountTransaction: UnwindSafe + RefUnwindSafe,\n UncheckedExtrinsic: UnwindSafe + RefUnwindSafe,\n L1HandlerTransaction: UnwindSafe + RefUnwindSafe,\n DispatchError: UnwindSafe + RefUnwindSafe,\n StarknetTransactionExecutionError: UnwindSafe + RefUnwindSafe,\n __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,"]] +"madara_runtime":[["impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ConvertTransactionRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where\n RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,\n &'static RuntimeApiImplCall: Send,\n AccountTransaction: UnwindSafe + RefUnwindSafe,\n UncheckedExtrinsic: UnwindSafe + RefUnwindSafe,\n L1HandlerTransaction: UnwindSafe + RefUnwindSafe,\n DispatchError: UnwindSafe + RefUnwindSafe,\n StarknetTransactionExecutionError: UnwindSafe + RefUnwindSafe,\n __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,"]] };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_runtime_api/trait.StarknetRuntimeApi.js b/implementors/pallet_starknet_runtime_api/trait.StarknetRuntimeApi.js index 62c54487f..6409db018 100644 --- a/implementors/pallet_starknet_runtime_api/trait.StarknetRuntimeApi.js +++ b/implementors/pallet_starknet_runtime_api/trait.StarknetRuntimeApi.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"madara_runtime":[["impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> StarknetRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where\n RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,\n &'static RuntimeApiImplCall: Send,\n ContractAddress: UnwindSafe + RefUnwindSafe,\n StorageKey: UnwindSafe + RefUnwindSafe,\n Result<StarkFelt, DispatchError>: UnwindSafe + RefUnwindSafe,\n EntryPointSelector: UnwindSafe + RefUnwindSafe,\n Calldata: UnwindSafe + RefUnwindSafe,\n Result<Vec<Felt252Wrapper>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Nonce: UnwindSafe + RefUnwindSafe,\n ClassHash: UnwindSafe + RefUnwindSafe,\n Option<ContractClass>: UnwindSafe + RefUnwindSafe,\n Felt252Wrapper: UnwindSafe + RefUnwindSafe,\n StarkHash: UnwindSafe + RefUnwindSafe,\n FeeTokenAddresses: UnwindSafe + RefUnwindSafe,\n bool: UnwindSafe + RefUnwindSafe,\n Vec<AccountTransaction>: UnwindSafe + RefUnwindSafe,\n SimulationFlags: UnwindSafe + RefUnwindSafe,\n Result<Vec<(u128, u128)>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Vec<Transaction>: UnwindSafe + RefUnwindSafe,\n Result<Result<Vec<(TransactionExecutionInfo, Option<CommitmentStateDiff>)>, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>: UnwindSafe + RefUnwindSafe,\n L1HandlerTransaction: UnwindSafe + RefUnwindSafe,\n Result<(u128, u128, u128), DispatchError>: UnwindSafe + RefUnwindSafe,\n Result<Vec<(CommitmentStateDiff, TransactionSimulationResult)>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Result<Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Vec<<__SrApiBlock__ as BlockT>::Extrinsic>: UnwindSafe + RefUnwindSafe,\n TransactionHash: UnwindSafe + RefUnwindSafe,\n Option<(u32, Transaction)>: UnwindSafe + RefUnwindSafe,\n Vec<MessageToL1>: UnwindSafe + RefUnwindSafe,\n Vec<Event>: UnwindSafe + RefUnwindSafe,\n Option<Vec<u8>>: UnwindSafe + RefUnwindSafe,\n BlockContext: UnwindSafe + RefUnwindSafe,\n __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,"]] +"madara_runtime":[["impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> StarknetRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where\n RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,\n &'static RuntimeApiImplCall: Send,\n ContractAddress: UnwindSafe + RefUnwindSafe,\n StorageKey: UnwindSafe + RefUnwindSafe,\n Result<StarkFelt, DispatchError>: UnwindSafe + RefUnwindSafe,\n EntryPointSelector: UnwindSafe + RefUnwindSafe,\n Calldata: UnwindSafe + RefUnwindSafe,\n Result<Vec<Felt252Wrapper>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Nonce: UnwindSafe + RefUnwindSafe,\n ClassHash: UnwindSafe + RefUnwindSafe,\n Option<ContractClass>: UnwindSafe + RefUnwindSafe,\n Felt252Wrapper: UnwindSafe + RefUnwindSafe,\n StarkHash: UnwindSafe + RefUnwindSafe,\n FeeTokenAddresses: UnwindSafe + RefUnwindSafe,\n bool: UnwindSafe + RefUnwindSafe,\n Vec<AccountTransaction>: UnwindSafe + RefUnwindSafe,\n SimulationFlags: UnwindSafe + RefUnwindSafe,\n Result<Vec<(u128, u128)>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Vec<Transaction>: UnwindSafe + RefUnwindSafe,\n Result<Result<Vec<(TransactionExecutionInfo, Option<CommitmentStateDiff>)>, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>: UnwindSafe + RefUnwindSafe,\n L1HandlerTransaction: UnwindSafe + RefUnwindSafe,\n Result<(u128, u128, u128), DispatchError>: UnwindSafe + RefUnwindSafe,\n Result<Vec<(CommitmentStateDiff, TransactionSimulationResult)>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Result<Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>: UnwindSafe + RefUnwindSafe,\n Vec<<__SrApiBlock__ as BlockT>::Extrinsic>: UnwindSafe + RefUnwindSafe,\n TransactionHash: UnwindSafe + RefUnwindSafe,\n Option<(u32, Transaction)>: UnwindSafe + RefUnwindSafe,\n Vec<MessageToL1>: UnwindSafe + RefUnwindSafe,\n Vec<Event>: UnwindSafe + RefUnwindSafe,\n Option<Vec<u8>>: UnwindSafe + RefUnwindSafe,\n BlockContext: UnwindSafe + RefUnwindSafe,\n __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/sc_consensus/block_import/trait.BlockImport.js b/implementors/sc_consensus/block_import/trait.BlockImport.js index 17200c3d1..b28081320 100644 --- a/implementors/sc_consensus/block_import/trait.BlockImport.js +++ b/implementors/sc_consensus/block_import/trait.BlockImport.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mc_starknet_block_import":[["impl<I, C> BlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>> for StarknetBlockImport<I, C>where\n I: BlockImport<Block, Error = Error> + Send + Clone,\n C: ProvideRuntimeApi<Block> + Send + Sync,\n C::Api: StarknetRuntimeApi<Block>,"]] +"mc_starknet_block_import":[["impl<I, C> BlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>> for StarknetBlockImport<I, C>where\n I: BlockImport<Block, Error = Error> + Send + Clone,\n C: ProvideRuntimeApi<Block> + Send + Sync,\n C::Api: StarknetRuntimeApi<Block>,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/madara_runtime/enum.RuntimeCall.html b/madara_runtime/enum.RuntimeCall.html index d773d85af..df6ed3296 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<Starknet, 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<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<Timestamp, 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<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 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<System, 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<Starknet, 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<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<Timestamp, 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<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 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<System, 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 594b423b1..e0e3f6418 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 f2867b5fa..e54c8f4f5 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

  • pub use pallet_starknet;

Modules

Macros

Structs

Re-exports

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 Storage

§

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

§

impl BuildStorage for ()

§

fn assimilate_storage(&self, _: &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>

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>

Implementors§

\ No newline at end of file diff --git a/madara_runtime/struct.DefaultChainId.html b/madara_runtime/struct.DefaultChainId.html index 4639dfbab..aa9c2fb00 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§

§

impl Get<Felt252Wrapper> for DefaultChainId

§

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§

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 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 ae0623eb1..f3c70a309 100644 --- a/madara_runtime/struct.Runtime.html +++ b/madara_runtime/struct.Runtime.html @@ -31,8 +31,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 ProtocolVersion = ProtocolVersion

§

type ProgramHash = ProgramHash

§

type L1GasPrices = L1GasPrices

The gas price
source§

impl Config for Runtime

Deterministic finality mechanism used for block finalization. +

§

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 ProtocolVersion = ProtocolVersion

§

type ProgramHash = ProgramHash

§

type L1GasPrices = L1GasPrices

The gas price
source§

impl Config for Runtime

Deterministic finality mechanism used for block finalization. TODO: Comment and explain the rationale behind the configuration items.

§

type RuntimeEvent = RuntimeEvent

The event type of this module.
§

type WeightInfo = ()

Weights for this pallet.
§

type MaxAuthorities = ConstU32<32>

Max Authorities in use
§

type MaxSetIdSessionEntries = ConstU64<0>

The maximum number of entries to keep in the set id to session index mapping. Read more
§

type MaxNominators = ConstU32<1000>

The maximum number of nominators for each validator.
§

type KeyOwnerProof = Void

The proof of key ownership, used for validating equivocation reports The proof include the session index and validator count of the @@ -46,7 +46,7 @@
transaction: AccountTransaction ) -> UncheckedExtrinsic
Converts the transaction to an UncheckedExtrinsic for submission to the pool.
source§

fn convert_l1_transaction( transaction: L1HandlerTransaction -) -> UncheckedExtrinsic

Converts the L1 Message transaction to an UncheckedExtrinsic for submission to the pool.
source§

fn convert_error(error: DispatchError) -> StarknetTransactionExecutionError

Converts the DispatchError to an understandable error for the client
source§

impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>)>>> for Runtime

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block(header: &<Block as BlockT>::Header)

Initialize a block with the given header.
source§

impl Debug for Runtime

source§

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

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

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( +) -> UncheckedExtrinsic

Converts the L1 Message transaction to an UncheckedExtrinsic for submission to the pool.
source§

fn convert_error(error: DispatchError) -> StarknetTransactionExecutionError

Converts the DispatchError to an understandable error for the client
source§

impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>)>>> for Runtime

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block(header: &<Block as BlockT>::Header)

Initialize a block with the given header.
source§

impl Debug for Runtime

source§

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

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

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<(), u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
source§

impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>)>>> for Runtime

source§

fn grandpa_authorities() -> GrandpaAuthorityList

Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
source§

fn current_set_id() -> SetId

Get current GRANDPA authority set id.
source§

fn submit_report_equivocation_unsigned_extrinsic( diff --git a/madara_runtime/struct.RuntimeApiImpl.html b/madara_runtime/struct.RuntimeApiImpl.html index 22a8db64a..4fc911cc1 100644 --- a/madara_runtime/struct.RuntimeApiImpl.html +++ b/madara_runtime/struct.RuntimeApiImpl.html @@ -72,27 +72,27 @@ __runtime_api_at_param__: <Block as Block>::Hash, block: Block, data: InherentData -) -> Result<CheckInherentsResult, ApiError>

Check that the inherents are valid. The inherent data will vary from chain to chain.
source§

impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ConvertTransactionRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where +) -> Result<CheckInherentsResult, ApiError>

Check that the inherents are valid. The inherent data will vary from chain to chain.
source§

impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> ConvertTransactionRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send, AccountTransaction: UnwindSafe + RefUnwindSafe, UncheckedExtrinsic: UnwindSafe + RefUnwindSafe, L1HandlerTransaction: UnwindSafe + RefUnwindSafe, DispatchError: UnwindSafe + RefUnwindSafe, - StarknetTransactionExecutionError: UnwindSafe + RefUnwindSafe, - __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,

§

fn convert_account_transaction( + StarknetTransactionExecutionError: UnwindSafe + RefUnwindSafe, + __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,

source§

fn convert_account_transaction( &self, __runtime_api_at_param__: <Block as Block>::Hash, transaction: AccountTransaction -) -> Result<<Block as Block>::Extrinsic, ApiError>

Converts the transaction to an UncheckedExtrinsic for submission to the pool.
§

fn convert_l1_transaction( +) -> Result<<Block as Block>::Extrinsic, ApiError>

Converts the transaction to an UncheckedExtrinsic for submission to the pool.
source§

fn convert_l1_transaction( &self, __runtime_api_at_param__: <Block as Block>::Hash, transaction: L1HandlerTransaction -) -> Result<<Block as Block>::Extrinsic, ApiError>

Converts the L1 Message transaction to an UncheckedExtrinsic for submission to the pool.
§

fn convert_error( +) -> Result<<Block as Block>::Extrinsic, ApiError>

Converts the L1 Message transaction to an UncheckedExtrinsic for submission to the pool.
source§

fn convert_error( &self, __runtime_api_at_param__: <Block as Block>::Hash, error: DispatchError -) -> Result<StarknetTransactionExecutionError, ApiError>

Converts the DispatchError to an understandable error for the client
source§

impl<__SrApiBlock__, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> Core<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where +) -> Result<StarknetTransactionExecutionError, ApiError>

Converts the DispatchError to an understandable error for the client
source§

impl<__SrApiBlock__, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> Core<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send, RuntimeVersion: UnwindSafe + RefUnwindSafe, @@ -198,7 +198,7 @@ &self, __runtime_api_at_param__: <Block as Block>::Hash, encoded: Vec<u8, Global> -) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, ApiError>

Decode the given public session keys. Read more
source§

impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> StarknetRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where +) -> Result<Option<Vec<(Vec<u8, Global>, KeyTypeId), Global>>, ApiError>

Decode the given public session keys. Read more
source§

impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> StarknetRuntimeApi<__SrApiBlock__> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send, ContractAddress: UnwindSafe + RefUnwindSafe, @@ -230,94 +230,94 @@ Vec<Event>: UnwindSafe + RefUnwindSafe, Option<Vec<u8>>: UnwindSafe + RefUnwindSafe, BlockContext: UnwindSafe + RefUnwindSafe, - __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,

§

fn nonce( + __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,

source§

fn nonce( &self, __runtime_api_at_param__: <Block as Block>::Hash, contract_address: ContractAddress -) -> Result<Nonce, ApiError>

Returns the nonce associated with the given address in the given block
§

fn get_storage_at( +) -> Result<Nonce, ApiError>

Returns the nonce associated with the given address in the given block
source§

fn get_storage_at( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: ContractAddress, key: StorageKey -) -> Result<Result<StarkFelt, DispatchError>, ApiError>

Returns a storage slot value
§

fn call( +) -> Result<Result<StarkFelt, DispatchError>, ApiError>

Returns a storage slot value
source§

fn call( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: ContractAddress, function_selector: EntryPointSelector, calldata: Calldata -) -> Result<Result<Vec<Felt252Wrapper, Global>, DispatchError>, ApiError>

Returns a Call response.
§

fn contract_class_hash_by_address( +) -> Result<Result<Vec<Felt252Wrapper, Global>, DispatchError>, ApiError>

Returns a Call response.
source§

fn contract_class_hash_by_address( &self, __runtime_api_at_param__: <Block as Block>::Hash, address: ContractAddress -) -> Result<ClassHash, ApiError>

Returns the contract class hash at the given address.
§

fn contract_class_by_class_hash( +) -> Result<ClassHash, ApiError>

Returns the contract class hash at the given address.
source§

fn contract_class_by_class_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash, class_hash: ClassHash -) -> Result<Option<ContractClass>, ApiError>

Returns the contract class for the given class hash.
§

fn chain_id( +) -> Result<Option<ContractClass>, ApiError>

Returns the contract class for the given class hash.
source§

fn chain_id( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<Felt252Wrapper, ApiError>

Returns the chain id.
§

fn program_hash( +) -> Result<Felt252Wrapper, ApiError>

Returns the chain id.
source§

fn program_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<Felt252Wrapper, ApiError>

Returns the Starknet OS Cairo program hash.
§

fn config_hash( +) -> Result<Felt252Wrapper, ApiError>

Returns the Starknet OS Cairo program hash.
source§

fn config_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<StarkFelt, ApiError>

Returns the Starknet config hash.
§

fn fee_token_addresses( +) -> Result<StarkFelt, ApiError>

Returns the Starknet config hash.
source§

fn fee_token_addresses( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<FeeTokenAddresses, ApiError>

Returns the fee token address.
§

fn estimate_fee( +) -> Result<FeeTokenAddresses, ApiError>

Returns the fee token address.
source§

fn estimate_fee( &self, __runtime_api_at_param__: <Block as Block>::Hash, transactions: Vec<AccountTransaction, Global>, simulation_flags: SimulationFlags -) -> Result<Result<Vec<(u128, u128), Global>, DispatchError>, ApiError>

Returns fee estimate
§

fn estimate_message_fee( +) -> Result<Result<Vec<(u128, u128), Global>, DispatchError>, ApiError>

Returns fee estimate
source§

fn estimate_message_fee( &self, __runtime_api_at_param__: <Block as Block>::Hash, message: L1HandlerTransaction -) -> Result<Result<(u128, u128, u128), DispatchError>, ApiError>

Returns message fee estimate
§

fn simulate_message( +) -> Result<Result<(u128, u128, u128), DispatchError>, ApiError>

Returns message fee estimate
source§

fn simulate_message( &self, __runtime_api_at_param__: <Block as Block>::Hash, message: L1HandlerTransaction, simulation_flags: SimulationFlags -) -> Result<Result<Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>, ApiError>

Simulates single L1 Message and returns its trace
§

fn simulate_transactions( +) -> Result<Result<Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>, ApiError>

Simulates single L1 Message and returns its trace
source§

fn simulate_transactions( &self, __runtime_api_at_param__: <Block as Block>::Hash, transactions: Vec<AccountTransaction, Global>, simulation_flags: SimulationFlags -) -> Result<Result<Vec<(CommitmentStateDiff, Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>), Global>, DispatchError>, ApiError>

Simulates transactions and returns their trace
§

fn extrinsic_filter( +) -> Result<Result<Vec<(CommitmentStateDiff, Result<TransactionExecutionInfo, PlaceHolderErrorTypeForFailedStarknetExecution>), Global>, DispatchError>, ApiError>

Simulates transactions and returns their trace
source§

fn extrinsic_filter( &self, __runtime_api_at_param__: <Block as Block>::Hash, xts: Vec<<Block as Block>::Extrinsic, Global> -) -> Result<Vec<Transaction, Global>, ApiError>

Filters extrinsic transactions to return only Starknet transactions Read more
§

fn re_execute_transactions( +) -> Result<Vec<Transaction, Global>, ApiError>

Filters extrinsic transactions to return only Starknet transactions Read more
source§

fn re_execute_transactions( &self, __runtime_api_at_param__: <Block as Block>::Hash, transactions_before: Vec<Transaction, Global>, transactions_to_trace: Vec<Transaction, Global>, with_state_diff: bool -) -> Result<Result<Result<Vec<(TransactionExecutionInfo, Option<CommitmentStateDiff>), Global>, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>, ApiError>

Used to re-execute transactions from a past block and return their trace Read more
§

fn get_index_and_tx_for_tx_hash( +) -> Result<Result<Result<Vec<(TransactionExecutionInfo, Option<CommitmentStateDiff>), Global>, PlaceHolderErrorTypeForFailedStarknetExecution>, DispatchError>, ApiError>

Used to re-execute transactions from a past block and return their trace Read more
source§

fn get_index_and_tx_for_tx_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash, xts: Vec<<Block as Block>::Extrinsic, Global>, tx_hash: TransactionHash -) -> Result<Option<(u32, Transaction)>, ApiError>

§

fn get_events_for_tx_by_hash( +) -> Result<Option<(u32, Transaction)>, ApiError>

source§

fn get_events_for_tx_by_hash( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx_hash: TransactionHash -) -> Result<Vec<Event, Global>, ApiError>

§

fn get_tx_execution_outcome( +) -> Result<Vec<Event, Global>, ApiError>

source§

fn get_tx_execution_outcome( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx_hash: TransactionHash -) -> Result<Option<Vec<u8, Global>>, ApiError>

Return the outcome of the tx execution
§

fn get_block_context( +) -> Result<Option<Vec<u8, Global>>, ApiError>

Return the outcome of the tx execution
source§

fn get_block_context( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<BlockContext, ApiError>

Return the block context
§

fn is_transaction_fee_disabled( +) -> Result<BlockContext, ApiError>

Return the block context
source§

fn is_transaction_fee_disabled( &self, __runtime_api_at_param__: <Block as Block>::Hash -) -> Result<bool, ApiError>

Return is fee disabled in state
§

fn get_tx_messages_to_l1( +) -> Result<bool, ApiError>

Return is fee disabled in state
source§

fn get_tx_messages_to_l1( &self, __runtime_api_at_param__: <Block as Block>::Hash, tx_hash: TransactionHash -) -> Result<Vec<MessageToL1, Global>, ApiError>

Return messages sent to L1 during tx execution
§

fn l1_nonce_unused( +) -> Result<Vec<MessageToL1, Global>, ApiError>

Return messages sent to L1 during tx execution
source§

fn l1_nonce_unused( &self, __runtime_api_at_param__: <Block as Block>::Hash, nonce: Nonce diff --git a/madara_runtime/trait.BuildStorage.html b/madara_runtime/trait.BuildStorage.html index 4bd33276b..1a13e4c6a 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 Storage

§

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

§

impl BuildStorage for ()

§

fn assimilate_storage(&self, _: &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>

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>

Implementors§

source§

impl BuildStorage for RuntimeGenesisConfig

\ No newline at end of file diff --git a/madara_runtime/type.Starknet.html b/madara_runtime/type.Starknet.html index bd5c7fc54..d67cc7727 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 ecaacb265..490d68b7c 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_commitment_state_diff/struct.CommitmentStateDiffWorker.html b/mc_commitment_state_diff/struct.CommitmentStateDiffWorker.html index 4fe369480..748d1fe03 100644 --- a/mc_commitment_state_diff/struct.CommitmentStateDiffWorker.html +++ b/mc_commitment_state_diff/struct.CommitmentStateDiffWorker.html @@ -1,11 +1,11 @@ CommitmentStateDiffWorker in mc_commitment_state_diff - Rust
pub struct CommitmentStateDiffWorker<B: BlockT, C, H> { /* private fields */ }

Implementations§

source§

impl<B: BlockT, C, H> CommitmentStateDiffWorker<B, C, H>where C: BlockchainEvents<B>,

source

pub fn new( client: Arc<C>, - backend: Arc<Backend<B>>, + backend: Arc<Backend<B>>, tx: Sender<BlockDAData> ) -> Self

Trait Implementations§

source§

impl<B: BlockT, C, H> Stream for CommitmentStateDiffWorker<B, C, H>where C: ProvideRuntimeApi<B> + HeaderBackend<B>, - C::Api: StarknetRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B>, H: HasherT + Unpin,

§

type Item = ()

Values yielded by the stream.
source§

fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_> diff --git a/mc_genesis_data_provider/struct.OnDiskGenesisConfig.html b/mc_genesis_data_provider/struct.OnDiskGenesisConfig.html index d53406219..f27e8a750 100644 --- a/mc_genesis_data_provider/struct.OnDiskGenesisConfig.html +++ b/mc_genesis_data_provider/struct.OnDiskGenesisConfig.html @@ -1,4 +1,4 @@ -OnDiskGenesisConfig in mc_genesis_data_provider - Rust
pub struct OnDiskGenesisConfig(pub PathBuf);

Tuple Fields§

§0: PathBuf

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +OnDiskGenesisConfig in mc_genesis_data_provider - Rust
pub struct OnDiskGenesisConfig(pub PathBuf);

Tuple Fields§

§0: PathBuf

Trait Implementations§

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> Conv for T

§

fn conv<T>(self) -> Twhere diff --git a/mc_genesis_data_provider/trait.GenesisProvider.html b/mc_genesis_data_provider/trait.GenesisProvider.html index 69e681cf6..f3066fb40 100644 --- a/mc_genesis_data_provider/trait.GenesisProvider.html +++ b/mc_genesis_data_provider/trait.GenesisProvider.html @@ -2,5 +2,5 @@ type LoadGenesisDataError: Error; // Required method - fn load_genesis_data(&self) -> Result<GenesisData, LoadGenesisDataError>; -}

Required Associated Types§

Required Methods§

Implementors§

\ No newline at end of file + fn load_genesis_data(&self) -> Result<GenesisData, LoadGenesisDataError>; +}

Required Associated Types§

Required Methods§

Implementors§

\ No newline at end of file diff --git a/mc_l1_messages/error/enum.L1MessagesWorkerError.html b/mc_l1_messages/error/enum.L1MessagesWorkerError.html index 28cdb000b..e91669161 100644 --- a/mc_l1_messages/error/enum.L1MessagesWorkerError.html +++ b/mc_l1_messages/error/enum.L1MessagesWorkerError.html @@ -1,16 +1,16 @@ L1MessagesWorkerError in mc_l1_messages::error - Rust
pub enum L1MessagesWorkerError<PE> {
     ConfigError(ParseError),
     ConvertTransactionRuntimeApiError(ApiError),
-    DatabaseError(DbError),
+    DatabaseError(DbError),
     L1MessageAlreadyProcessed(u64),
     RuntimeApiError(ApiError),
     SubmitTxError(PE),
     ToFeeError,
     ToTransactionError(L1EventToTransactionError),
     EthereumClient(Error),
-}

Variants§

§

ConfigError(ParseError)

§

ConvertTransactionRuntimeApiError(ApiError)

§

DatabaseError(DbError)

§

L1MessageAlreadyProcessed(u64)

§

RuntimeApiError(ApiError)

§

SubmitTxError(PE)

§

ToFeeError

§

ToTransactionError(L1EventToTransactionError)

§

EthereumClient(Error)

Trait Implementations§

source§

impl<PE: Debug> Debug for L1MessagesWorkerError<PE>

source§

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

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

impl<PE> Display for L1MessagesWorkerError<PE>

source§

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

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

impl<PE> Error for L1MessagesWorkerError<PE>where +}

Variants§

§

ConfigError(ParseError)

§

ConvertTransactionRuntimeApiError(ApiError)

§

DatabaseError(DbError)

§

L1MessageAlreadyProcessed(u64)

§

RuntimeApiError(ApiError)

§

SubmitTxError(PE)

§

ToFeeError

§

ToTransactionError(L1EventToTransactionError)

§

EthereumClient(Error)

Trait Implementations§

source§

impl<PE: Debug> Debug for L1MessagesWorkerError<PE>

source§

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

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

impl<PE> Display for L1MessagesWorkerError<PE>

source§

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

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

impl<PE> Error for L1MessagesWorkerError<PE>where PE: Error + 'static, - Self: Debug + Display,

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<PE> From<DbError> for L1MessagesWorkerError<PE>

source§

fn from(source: DbError) -> Self

Converts to this type from the input type.
source§

impl<PE> From<Error> for L1MessagesWorkerError<PE>

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl<PE> From<ParseError> for L1MessagesWorkerError<PE>

source§

fn from(source: ParseError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<PE> !RefUnwindSafe for L1MessagesWorkerError<PE>

§

impl<PE> Send for L1MessagesWorkerError<PE>where + Self: Debug + Display,

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<PE> From<DbError> for L1MessagesWorkerError<PE>

source§

fn from(source: DbError) -> Self

Converts to this type from the input type.
source§

impl<PE> From<Error> for L1MessagesWorkerError<PE>

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl<PE> From<ParseError> for L1MessagesWorkerError<PE>

source§

fn from(source: ParseError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<PE> !RefUnwindSafe for L1MessagesWorkerError<PE>

§

impl<PE> Send for L1MessagesWorkerError<PE>where PE: Send,

§

impl<PE> Sync for L1MessagesWorkerError<PE>where PE: Sync,

§

impl<PE> Unpin for L1MessagesWorkerError<PE>where PE: Unpin,

§

impl<PE> !UnwindSafe for L1MessagesWorkerError<PE>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/mc_l1_messages/worker/fn.run_worker.html b/mc_l1_messages/worker/fn.run_worker.html index 4116468b3..955503df6 100644 --- a/mc_l1_messages/worker/fn.run_worker.html +++ b/mc_l1_messages/worker/fn.run_worker.html @@ -2,9 +2,9 @@ config: EthereumClientConfig, client: Arc<C>, pool: Arc<P>, - backend: Arc<Backend<B>> + backend: Arc<Backend<B>> )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 diff --git a/mc_mapping_sync/struct.MappingSyncWorker.html b/mc_mapping_sync/struct.MappingSyncWorker.html index bcb2bb4d0..6e9b95d4c 100644 --- a/mc_mapping_sync/struct.MappingSyncWorker.html +++ b/mc_mapping_sync/struct.MappingSyncWorker.html @@ -4,13 +4,13 @@ timeout: Duration, client: Arc<C>, substrate_backend: Arc<BE>, - frontier_backend: Arc<Backend<B>>, + frontier_backend: Arc<Backend<B>>, retry_times: usize, sync_from: <B::Header as HeaderT>::Number, prometheus_registry: Option<Registry> ) -> Self

Trait Implementations§

source§

impl<B: BlockT, C, BE, H> Stream for MappingSyncWorker<B, C, BE, H>where C: ProvideRuntimeApi<B> + HeaderBackend<B> + StorageProvider<B, BE>, - C::Api: StarknetRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B>, BE: Backend<B>, H: HasherT,

§

type Item = ()

Values yielded by the stream.
source§

fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<()>>

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning diff --git a/mc_rpc/fn.get_block_by_block_hash.html b/mc_rpc/fn.get_block_by_block_hash.html index e5edd8ef8..54ce42172 100644 --- a/mc_rpc/fn.get_block_by_block_hash.html +++ b/mc_rpc/fn.get_block_by_block_hash.html @@ -1,7 +1,7 @@ get_block_by_block_hash in mc_rpc - Rust
pub fn get_block_by_block_hash<B, C>(
     client: &C,
     block_hash: <B as Block>::Hash
-) -> Result<Block, Error>where
+) -> Result<Block, Error>where
     B: Block,
     C: HeaderBackend<B>,
Expand description

Returns the current Starknet block from the block header’s digest

\ No newline at end of file diff --git a/mc_rpc/starknetrpcwrapper/struct.StarknetRpcWrapper.html b/mc_rpc/starknetrpcwrapper/struct.StarknetRpcWrapper.html index b10fcc10a..9182ed85d 100644 --- a/mc_rpc/starknetrpcwrapper/struct.StarknetRpcWrapper.html +++ b/mc_rpc/starknetrpcwrapper/struct.StarknetRpcWrapper.html @@ -3,8 +3,8 @@ B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,
source§

fn predeployed_accounts(&self) -> RpcResult<Vec<PredeployedAccountWithBalance>>

source§

fn into_rpc(self) -> RpcModule<Self>

Collects all the methods and subscriptions defined in the trait and adds them into a single RpcModule.
source§

impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, @@ -12,8 +12,8 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

source§

fn spec_version(&self) -> RpcResult<String>

Returns the Version of the StarkNet JSON-RPC Specification Being Used

This method provides the version of the StarkNet JSON-RPC specification that the node is currently using. The version is returned as a semantic versioning (SemVer) string.

@@ -55,7 +55,7 @@
Errors
source§

fn get_transaction_status( &self, transaction_hash: FieldElement -) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

+) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

This method retrieves the status of a specified transaction. It provides information on whether the transaction is still in the mempool, has been executed, or dropped from the mempool. The status includes both finality status and execution status of the @@ -413,8 +413,8 @@

Errors
P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

fn simulate_transactions<'life0, 'async_trait>( &'life0 self, block_id: BlockId, @@ -441,8 +441,8 @@

Errors
P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

fn add_declare_transaction<'life0, 'async_trait>( &'life0 self, declare_transaction: BroadcastedDeclareTransaction diff --git a/mc_rpc/starknetrpcwrapper/trait.MadaraRpcApiServer.html b/mc_rpc/starknetrpcwrapper/trait.MadaraRpcApiServer.html index ca5595688..e45171d1b 100644 --- a/mc_rpc/starknetrpcwrapper/trait.MadaraRpcApiServer.html +++ b/mc_rpc/starknetrpcwrapper/trait.MadaraRpcApiServer.html @@ -15,15 +15,15 @@ B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

source§

impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/starknetrpcwrapper/trait.StarknetReadRpcApiServer.html b/mc_rpc/starknetrpcwrapper/trait.StarknetReadRpcApiServer.html index f56edee32..1ff72f8f6 100644 --- a/mc_rpc/starknetrpcwrapper/trait.StarknetReadRpcApiServer.html +++ b/mc_rpc/starknetrpcwrapper/trait.StarknetReadRpcApiServer.html @@ -10,7 +10,7 @@ fn get_transaction_status( &self, transaction_hash: FieldElement - ) -> Result<TransactionStatus, Error>; + ) -> Result<TransactionStatus, Error>; fn get_storage_at( &self, contract_address: FieldElement, @@ -107,7 +107,7 @@
source

fn get_transaction_status( &self, transaction_hash: FieldElement -) -> Result<TransactionStatus, Error>

Gets the Transaction Status, Including Mempool Status and Execution Details

+) -> Result<TransactionStatus, Error>

Gets the Transaction Status, Including Mempool Status and Execution Details

source

fn get_storage_at( &self, contract_address: FieldElement, @@ -201,14 +201,14 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

source§

impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/starknetrpcwrapper/trait.StarknetTraceRpcApiServer.html b/mc_rpc/starknetrpcwrapper/trait.StarknetTraceRpcApiServer.html index 7e7d66138..4434d3b21 100644 --- a/mc_rpc/starknetrpcwrapper/trait.StarknetTraceRpcApiServer.html +++ b/mc_rpc/starknetrpcwrapper/trait.StarknetTraceRpcApiServer.html @@ -49,9 +49,9 @@ A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, - G: GenesisProvider + Send + Sync + 'static, + G: GenesisProvider + Send + Sync + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,
source§

impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, @@ -59,6 +59,6 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/starknetrpcwrapper/trait.StarknetWriteRpcApiServer.html b/mc_rpc/starknetrpcwrapper/trait.StarknetWriteRpcApiServer.html index 61f33cd1e..e2935d61d 100644 --- a/mc_rpc/starknetrpcwrapper/trait.StarknetWriteRpcApiServer.html +++ b/mc_rpc/starknetrpcwrapper/trait.StarknetWriteRpcApiServer.html @@ -47,14 +47,14 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for StarknetRpcWrapper<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/struct.Starknet.html b/mc_rpc/struct.Starknet.html index c805021b6..c1a242b5d 100644 --- a/mc_rpc/struct.Starknet.html +++ b/mc_rpc/struct.Starknet.html @@ -3,7 +3,7 @@ A: ChainApi<Block = B> + 'static, B: BlockT, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, BE: Backend<B>, H: HasherT + Send + Sync + 'static,
source

pub fn get_block_events( &self, @@ -32,7 +32,7 @@

Returns
B: BlockT, BE: Backend<B>, C: HeaderBackend<B> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, H: HasherT + Send + Sync + 'static,
source

pub fn do_call( &self, best_block_hash: B::Hash, @@ -55,7 +55,7 @@

Returns
&self, best_block_hash: B::Hash, error: DispatchError -) -> Result<StarknetTransactionExecutionError, StarknetRpcApiError>
source

pub fn convert_tx_to_extrinsic( +) -> Result<StarknetTransactionExecutionError, StarknetRpcApiError>

source

pub fn convert_tx_to_extrinsic( &self, best_block_hash: <B as BlockT>::Hash, transaction: AccountTransaction @@ -88,9 +88,9 @@

Returns
A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, - G: GenesisProvider + Send + Sync + 'static, + G: GenesisProvider + Send + Sync + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,
source

pub fn re_execute_transactions( &self, @@ -102,7 +102,7 @@

Returns

Arguments

source

pub fn new( client: Arc<C>, backend: Arc<Backend<B>>, - overrides: Arc<OverrideHandle<B>>, + overrides: Arc<OverrideHandle<B>>, pool: Arc<P>, graph: Arc<Pool<A>>, sync_service: Arc<SyncingService<B>>, @@ -115,14 +115,14 @@

Arguments

source

pub fn current_spec_version(&self) -> RpcResult<String>

source§

impl<A: ChainApi, B, BE, G, C, P, H> Starknet<A, B, BE, G, C, P, H>where B: BlockT, C: HeaderBackend<B> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B>, H: HasherT + Send + Sync + 'static,

source

pub fn current_block_hash(&self) -> Result<H256, StarknetRpcApiError>

Trait Implementations§

source§

impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

source§

fn predeployed_accounts(&self) -> RpcResult<Vec<PredeployedAccountWithBalance>>

source§

fn into_rpc(self) -> RpcModule<Self>

Collects all the methods and subscriptions defined in the trait and adds them into a single RpcModule.
source§

impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, @@ -130,8 +130,8 @@

Arguments

Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

fn spec_version(&self) -> RpcResult<String>

Returns the Version of the StarkNet JSON-RPC Specification Being Used

This method provides the version of the StarkNet JSON-RPC specification that the node is currently using. The version is returned as a semantic versioning (SemVer) string.

@@ -173,7 +173,7 @@
Errors
source§

fn get_transaction_status( &self, transaction_hash: FieldElement -) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

+) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

This method retrieves the status of a specified transaction. It provides information on whether the transaction is still in the mempool, has been executed, or dropped from the mempool. The status includes both finality status and execution status of the @@ -529,9 +529,9 @@

Errors
A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, - G: GenesisProvider + Send + Sync + 'static, + G: GenesisProvider + Send + Sync + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,
source§

fn simulate_transactions<'life0, 'async_trait>( &'life0 self, @@ -556,8 +556,8 @@

Errors
P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

fn add_declare_transaction<'life0, 'async_trait>( &'life0 self, declare_transaction: BroadcastedDeclareTransaction diff --git a/mc_rpc/trait.MadaraRpcApiServer.html b/mc_rpc/trait.MadaraRpcApiServer.html index fd5519941..5d1a2b6fc 100644 --- a/mc_rpc/trait.MadaraRpcApiServer.html +++ b/mc_rpc/trait.MadaraRpcApiServer.html @@ -15,15 +15,15 @@ B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

source§

impl<A, B, BE, G, C, P, H> MadaraRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/trait.StarknetReadRpcApiServer.html b/mc_rpc/trait.StarknetReadRpcApiServer.html index 407e0f3c4..7cd63f1c9 100644 --- a/mc_rpc/trait.StarknetReadRpcApiServer.html +++ b/mc_rpc/trait.StarknetReadRpcApiServer.html @@ -10,7 +10,7 @@ fn get_transaction_status( &self, transaction_hash: FieldElement - ) -> Result<TransactionStatus, Error>; + ) -> Result<TransactionStatus, Error>; fn get_storage_at( &self, contract_address: FieldElement, @@ -107,7 +107,7 @@
source

fn get_transaction_status( &self, transaction_hash: FieldElement -) -> Result<TransactionStatus, Error>

Gets the Transaction Status, Including Mempool Status and Execution Details

+) -> Result<TransactionStatus, Error>

Gets the Transaction Status, Including Mempool Status and Execution Details

source

fn get_storage_at( &self, contract_address: FieldElement, @@ -201,14 +201,14 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

source§

impl<A, B, BE, G, C, P, H> StarknetReadRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/trait.StarknetTraceRpcApiServer.html b/mc_rpc/trait.StarknetTraceRpcApiServer.html index dcc79be30..5400d5406 100644 --- a/mc_rpc/trait.StarknetTraceRpcApiServer.html +++ b/mc_rpc/trait.StarknetTraceRpcApiServer.html @@ -51,14 +51,14 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

impl<A, B, BE, G, C, P, H> StarknetTraceRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, BE: Backend<B> + 'static, - G: GenesisProvider + Send + Sync + 'static, + G: GenesisProvider + Send + Sync + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, P: TransactionPool<Block = B> + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc/trait.StarknetWriteRpcApiServer.html b/mc_rpc/trait.StarknetWriteRpcApiServer.html index e4c874914..10e900cc2 100644 --- a/mc_rpc/trait.StarknetWriteRpcApiServer.html +++ b/mc_rpc/trait.StarknetWriteRpcApiServer.html @@ -47,14 +47,14 @@ P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,
source§

impl<A, B, BE, G, C, P, H> StarknetWriteRpcApiServer for Starknet<A, B, BE, G, C, P, H>where A: ChainApi<Block = B> + 'static, B: BlockT, P: TransactionPool<Block = B> + 'static, BE: Backend<B> + 'static, C: HeaderBackend<B> + BlockBackend<B> + StorageProvider<B, BE> + 'static + ProvideRuntimeApi<B>, - C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, - G: GenesisProvider + Send + Sync + 'static, + C::Api: StarknetRuntimeApi<B> + ConvertTransactionRuntimeApi<B>, + G: GenesisProvider + Send + Sync + 'static, H: HasherT + Send + Sync + 'static,

\ No newline at end of file diff --git a/mc_rpc_core/trait.StarknetReadRpcApiServer.html b/mc_rpc_core/trait.StarknetReadRpcApiServer.html index 1c91e706d..133d948a9 100644 --- a/mc_rpc_core/trait.StarknetReadRpcApiServer.html +++ b/mc_rpc_core/trait.StarknetReadRpcApiServer.html @@ -7,7 +7,7 @@ fn get_transaction_status( &self, transaction_hash: FieldElement - ) -> RpcResult<TransactionStatus>; + ) -> RpcResult<TransactionStatus>; fn get_storage_at( &self, contract_address: FieldElement, @@ -104,7 +104,7 @@
source

fn get_transaction_status( &self, transaction_hash: FieldElement -) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

+) -> RpcResult<TransactionStatus>

Gets the Transaction Status, Including Mempool Status and Execution Details

source

fn get_storage_at( &self, contract_address: FieldElement, diff --git a/mc_rpc_core/utils/fn.get_block_by_block_hash.html b/mc_rpc_core/utils/fn.get_block_by_block_hash.html index 9fe27f59a..c7e80cb8a 100644 --- a/mc_rpc_core/utils/fn.get_block_by_block_hash.html +++ b/mc_rpc_core/utils/fn.get_block_by_block_hash.html @@ -1,7 +1,7 @@ get_block_by_block_hash in mc_rpc_core::utils - Rust
pub fn get_block_by_block_hash<B, C>(
     client: &C,
     block_hash: <B as BlockT>::Hash
-) -> Result<Block>where
+) -> Result<Block>where
     B: BlockT,
     C: HeaderBackend<B>,
Expand description

Returns the current Starknet block from the block header’s digest

\ No newline at end of file diff --git a/mc_starknet_block_import/struct.StarknetBlockImport.html b/mc_starknet_block_import/struct.StarknetBlockImport.html index 6e52417ea..4803a874b 100644 --- a/mc_starknet_block_import/struct.StarknetBlockImport.html +++ b/mc_starknet_block_import/struct.StarknetBlockImport.html @@ -7,7 +7,7 @@ ) -> Self

source

pub fn unwrap(self) -> I

Trait Implementations§

source§

impl<I, C> BlockImport<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>> for StarknetBlockImport<I, C>where I: BlockImport<Block, Error = Error> + Send + Clone, C: ProvideRuntimeApi<Block> + Send + Sync, - C::Api: StarknetRuntimeApi<Block>,

§

type Error = Error

The error type.
source§

fn check_block<'life0, 'async_trait>( + C::Api: StarknetRuntimeApi<Block>,

§

type Error = Error

The error type.
source§

fn check_block<'life0, 'async_trait>( &'life0 mut self, block: BlockCheckParams<Block> ) -> Pin<Box<dyn Future<Output = Result<ImportResult, Self::Error>> + Send + 'async_trait>>where diff --git a/mc_storage/fn.overrides_handle.html b/mc_storage/fn.overrides_handle.html index 258b9465f..d7a4fde96 100644 --- a/mc_storage/fn.overrides_handle.html +++ b/mc_storage/fn.overrides_handle.html @@ -1,6 +1,6 @@ overrides_handle in mc_storage - Rust
pub fn overrides_handle<B, C, BE>(client: Arc<C>) -> Arc<OverrideHandle<B>>where
     B: BlockT,
     C: ProvideRuntimeApi<B> + HeaderBackend<B> + StorageProvider<B, BE> + 'static,
-    C::Api: StarknetRuntimeApi<B>,
+    C::Api: StarknetRuntimeApi<B>,
     BE: Backend<B> + 'static,
Expand description

Create and return a handle of the starknet schema overrides

\ No newline at end of file diff --git a/mc_storage/struct.RuntimeApiStorageOverride.html b/mc_storage/struct.RuntimeApiStorageOverride.html index d57deff8a..3d98cc810 100644 --- a/mc_storage/struct.RuntimeApiStorageOverride.html +++ b/mc_storage/struct.RuntimeApiStorageOverride.html @@ -4,7 +4,7 @@

Implementations§

source§

impl<B: BlockT, C> RuntimeApiStorageOverride<B, C>

source

pub fn new(client: Arc<C>) -> Self

Trait Implementations§

source§

impl<B, C> StorageOverride<B> for RuntimeApiStorageOverride<B, C>where B: BlockT, C: ProvideRuntimeApi<B> + Send + Sync, - C::Api: StarknetRuntimeApi<B>,

source§

fn contract_class_by_class_hash( + C::Api: StarknetRuntimeApi<B>,

source§

fn contract_class_by_class_hash( &self, block_hash: <B as BlockT>::Hash, contract_class_hash: ClassHash diff --git a/mc_storage/trait.StorageOverride.html b/mc_storage/trait.StorageOverride.html index 899b8872a..8f3269db7 100644 --- a/mc_storage/trait.StorageOverride.html +++ b/mc_storage/trait.StorageOverride.html @@ -65,7 +65,7 @@ ) -> Option<Vec<StarknetEvent>>

Implementors§

source§

impl<B, C> StorageOverride<B> for RuntimeApiStorageOverride<B, C>where B: BlockT, C: ProvideRuntimeApi<B> + Send + Sync, - C::Api: StarknetRuntimeApi<B>,

source§

impl<B, C, BE> StorageOverride<B> for SchemaV1Override<B, C, BE>where + C::Api: StarknetRuntimeApi<B>,

source§

impl<B, C, BE> StorageOverride<B> for SchemaV1Override<B, C, BE>where B: BlockT, C: HeaderBackend<B> + StorageProvider<B, BE> + 'static, BE: Backend<B> + 'static,

\ No newline at end of file diff --git a/mp_block/enum.BlockId.html b/mp_block/enum.BlockId.html index a1f76cdbd..cf30c768d 100644 --- a/mp_block/enum.BlockId.html +++ b/mp_block/enum.BlockId.html @@ -1,10 +1,10 @@ BlockId in mp_block - Rust

Enum mp_block::BlockId

source ·
pub enum BlockId {
-    Hash(Felt252Wrapper),
+    Hash(Felt252Wrapper),
     Number(u64),
     Tag(BlockTag),
 }
Expand description

Block Id Block hash, number or tag

-

Variants§

Trait Implementations§

source§

impl Clone for BlockId

source§

fn clone(&self) -> BlockId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlockId

source§

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

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

impl Decode for BlockId

source§

fn decode<__CodecInputEdqy: Input>( +

Variants§

§

Hash(Felt252Wrapper)

§

Number(u64)

§

Tag(BlockTag)

Trait Implementations§

source§

impl Clone for BlockId

source§

fn clone(&self) -> BlockId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlockId

source§

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

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

impl Decode for BlockId

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, diff --git a/mp_block/struct.Header.html b/mp_block/struct.Header.html index c6a324014..72c6a4022 100644 --- a/mp_block/struct.Header.html +++ b/mp_block/struct.Header.html @@ -29,7 +29,7 @@ gas_prices: GasPrices, extra_data: Option<U256> ) -> Self

Creates a new header.

-
source

pub fn hash<H: HasherT>(&self) -> Felt252Wrapper

Compute the hash of the header.

+
source

pub fn hash<H: HasherT>(&self) -> Felt252Wrapper

Compute the hash of the header.

Trait Implementations§

source§

impl Clone for Header

source§

fn clone(&self) -> Header

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Header

source§

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

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

impl Decode for Header

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( diff --git a/mp_digest_log/enum.Log.html b/mp_digest_log/enum.Log.html index c74caa856..d24331ef0 100644 --- a/mp_digest_log/enum.Log.html +++ b/mp_digest_log/enum.Log.html @@ -1,9 +1,9 @@ Log in mp_digest_log - Rust

Enum mp_digest_log::Log

source ·
pub enum Log {
-    Block(Block),
+    Block(Block),
 }
Expand description

A Madara log

Right now we only expect Madara to log the Starknet block, but other usecases may appears later on.

-

Variants§

§

Block(Block)

Trait Implementations§

source§

impl Clone for Log

source§

fn clone(&self) -> Log

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Log

source§

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

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

impl Decode for Log

source§

fn decode<__CodecInputEdqy: Input>( +

Variants§

§

Block(Block)

Trait Implementations§

source§

impl Clone for Log

source§

fn clone(&self) -> Log

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Log

source§

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

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

impl Decode for Log

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, diff --git a/mp_digest_log/fn.find_starknet_block.html b/mp_digest_log/fn.find_starknet_block.html index b08a7b66b..63b7a6c56 100644 --- a/mp_digest_log/fn.find_starknet_block.html +++ b/mp_digest_log/fn.find_starknet_block.html @@ -1,2 +1,2 @@ -find_starknet_block in mp_digest_log - Rust
pub fn find_starknet_block(digest: &Digest) -> Result<Block, FindLogError>
Expand description

Return the wrapped [StarknetBlock] contained in a given [Digest]

+find_starknet_block in mp_digest_log - Rust
pub fn find_starknet_block(digest: &Digest) -> Result<Block, FindLogError>
Expand description

Return the wrapped StarknetBlock contained in a given [Digest]

\ No newline at end of file diff --git a/mp_digest_log/index.html b/mp_digest_log/index.html index 2a2576738..67d1f70d5 100644 --- a/mp_digest_log/index.html +++ b/mp_digest_log/index.html @@ -7,4 +7,4 @@

In the current state of this crate, only one single log must be pushed to the digest each block, and it should contain the starknet block. Pushing more log will make it impossible for this set of reader functions to operate properly.

-

Enums

  • Error that may occur while searching a Madara [Log] in the [Digest]
  • A Madara log

Constants

Functions

\ No newline at end of file +

Enums

  • Error that may occur while searching a Madara [Log] in the [Digest]
  • A Madara log

Constants

Functions

\ No newline at end of file diff --git a/mp_snos_output/trait.SnosCodec.html b/mp_snos_output/trait.SnosCodec.html index a1569b712..ff72a5823 100644 --- a/mp_snos_output/trait.SnosCodec.html +++ b/mp_snos_output/trait.SnosCodec.html @@ -12,7 +12,7 @@ 2. Get onchain data hash & size 3. ABI encode parameters

NOTE: Field element (252 bit) is encoded as an EVM word (256 bit) and vice versa -EVM developer should be aware of that and prevent data loss by not using the higest 4 bits

+EVM developer should be aware of that and prevent data loss by not using the highest 4 bits

Required Methods§

source

fn size_in_felts(&self) -> usize

Return an estimation of the number of field elements required to encode self

This is to be used for allocating the correct amount of memory before encoding. It’s for optimization purpose (avoiding reallocation) so it’s implementation should be diff --git a/mp_transactions/compute_hash/trait.ComputeTransactionHash.html b/mp_transactions/compute_hash/trait.ComputeTransactionHash.html index 5773f51f0..00ba3d4c7 100644 --- a/mp_transactions/compute_hash/trait.ComputeTransactionHash.html +++ b/mp_transactions/compute_hash/trait.ComputeTransactionHash.html @@ -2,55 +2,55 @@ // Required method fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash; }

Required Methods§

source

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

Implementations on Foreign Types§

source§

impl ComputeTransactionHash for DeployAccountTransactionV1

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for InvokeTransactionV3

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for DeployAccountTransaction

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for DeclareTransactionV2

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for InvokeTransactionV1

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for DeployAccountTransactionV3

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for DeclareTransaction

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for L1HandlerTransaction

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for DeclareTransactionV3

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for InvokeTransactionV0

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

source§

impl ComputeTransactionHash for InvokeTransaction

source§

fn compute_hash( &self, - chain_id: Felt252Wrapper, + chain_id: Felt252Wrapper, offset_version: bool ) -> TransactionHash

Implementors§

\ No newline at end of file diff --git a/mp_transactions/from_broadcasted_transactions/fn.try_account_tx_from_broadcasted_tx.html b/mp_transactions/from_broadcasted_transactions/fn.try_account_tx_from_broadcasted_tx.html index 43e709dcc..a0bab4280 100644 --- a/mp_transactions/from_broadcasted_transactions/fn.try_account_tx_from_broadcasted_tx.html +++ b/mp_transactions/from_broadcasted_transactions/fn.try_account_tx_from_broadcasted_tx.html @@ -1,4 +1,4 @@ try_account_tx_from_broadcasted_tx in mp_transactions::from_broadcasted_transactions - Rust
pub fn try_account_tx_from_broadcasted_tx(
     tx: BroadcastedTransaction,
-    chain_id: Felt252Wrapper
+    chain_id: Felt252Wrapper
 ) -> Result<AccountTransaction, BroadcastedTransactionConversionError>
\ No newline at end of file diff --git a/mp_transactions/from_broadcasted_transactions/fn.try_declare_tx_from_broadcasted_declare_tx.html b/mp_transactions/from_broadcasted_transactions/fn.try_declare_tx_from_broadcasted_declare_tx.html index 40b5374ea..78eae8708 100644 --- a/mp_transactions/from_broadcasted_transactions/fn.try_declare_tx_from_broadcasted_declare_tx.html +++ b/mp_transactions/from_broadcasted_transactions/fn.try_declare_tx_from_broadcasted_declare_tx.html @@ -1,4 +1,4 @@ try_declare_tx_from_broadcasted_declare_tx in mp_transactions::from_broadcasted_transactions - Rust
pub fn try_declare_tx_from_broadcasted_declare_tx(
     value: BroadcastedDeclareTransaction,
-    chain_id: Felt252Wrapper
+    chain_id: Felt252Wrapper
 ) -> Result<DeclareTransaction, BroadcastedTransactionConversionError>
\ No newline at end of file diff --git a/mp_transactions/from_broadcasted_transactions/fn.try_deploy_tx_from_broadcasted_deploy_tx.html b/mp_transactions/from_broadcasted_transactions/fn.try_deploy_tx_from_broadcasted_deploy_tx.html index 99700c0ff..c03418459 100644 --- a/mp_transactions/from_broadcasted_transactions/fn.try_deploy_tx_from_broadcasted_deploy_tx.html +++ b/mp_transactions/from_broadcasted_transactions/fn.try_deploy_tx_from_broadcasted_deploy_tx.html @@ -1,4 +1,4 @@ try_deploy_tx_from_broadcasted_deploy_tx in mp_transactions::from_broadcasted_transactions - Rust
pub fn try_deploy_tx_from_broadcasted_deploy_tx(
     broadcasted_tx: BroadcastedDeployAccountTransaction,
-    chain_id: Felt252Wrapper
+    chain_id: Felt252Wrapper
 ) -> Result<DeployAccountTransaction, BroadcastedTransactionConversionError>
\ No newline at end of file diff --git a/mp_transactions/from_broadcasted_transactions/fn.try_invoke_tx_from_broadcasted_invoke_tx.html b/mp_transactions/from_broadcasted_transactions/fn.try_invoke_tx_from_broadcasted_invoke_tx.html index e6e080f84..80af5d938 100644 --- a/mp_transactions/from_broadcasted_transactions/fn.try_invoke_tx_from_broadcasted_invoke_tx.html +++ b/mp_transactions/from_broadcasted_transactions/fn.try_invoke_tx_from_broadcasted_invoke_tx.html @@ -1,4 +1,4 @@ try_invoke_tx_from_broadcasted_invoke_tx in mp_transactions::from_broadcasted_transactions - Rust
pub fn try_invoke_tx_from_broadcasted_invoke_tx(
     broadcasted_tx: BroadcastedInvokeTransaction,
-    chain_id: Felt252Wrapper
+    chain_id: Felt252Wrapper
 ) -> Result<InvokeTransaction, BroadcastedTransactionConversionError>
\ No newline at end of file diff --git a/pallet_starknet/blockifier_state_adapter/struct.BlockifierStateAdapter.html b/pallet_starknet/blockifier_state_adapter/struct.BlockifierStateAdapter.html index 59b5e2f6e..882d877e4 100644 --- a/pallet_starknet/blockifier_state_adapter/struct.BlockifierStateAdapter.html +++ b/pallet_starknet/blockifier_state_adapter/struct.BlockifierStateAdapter.html @@ -2,7 +2,7 @@

We feed this struct when executing a transaction so that we directly use the substrate storage and not an extra layer that would add overhead. We don’t implement those traits directly on the pallet to avoid compilation problems.

-

Trait Implementations§

source§

impl<T: Config> Default for BlockifierStateAdapter<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Config> SetArbitraryNonce for BlockifierStateAdapter<T>

Trait Implementations§

source§

impl<T: Config> Default for BlockifierStateAdapter<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Config> SetArbitraryNonce for BlockifierStateAdapter<T>

source§

fn set_nonce_at( &mut self, contract_address: ContractAddress, nonce: Nonce diff --git a/src/mp_snos_output/codec.rs.html b/src/mp_snos_output/codec.rs.html index 5844da305..0a4301db7 100644 --- a/src/mp_snos_output/codec.rs.html +++ b/src/mp_snos_output/codec.rs.html @@ -234,7 +234,7 @@ /// 3. ABI encode parameters /// /// NOTE: Field element (252 bit) is encoded as an EVM word (256 bit) and vice versa -/// EVM developer should be aware of that and prevent data loss by not using the higest 4 bits +/// EVM developer should be aware of that and prevent data loss by not using the highest 4 bits pub trait SnosCodec: Sized { /// Return an estimation of the number of field elements required to encode `self` ///