mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
5eb816d7a6
* Start * More work! * Moar * More changes * More fixes * More worrk * More fixes * More fixes to make it compile * Adds `NoOffchainStorage` * Pass the extensions * Small basti making small progress * Fix merge errors and remove `ExecutionContext` * Move registration of `ReadRuntimeVersionExt` to `ExecutionExtension` Instead of registering `ReadRuntimeVersionExt` in `sp-state-machine` it is moved to `ExecutionExtension` which provides the default extensions. * Fix compilation * Register the global extensions inside runtime api instance * Fixes * Fix `generate_initial_session_keys` by passing the keystore extension * Fix the grandpa tests * Fix more tests * Fix more tests * Don't set any heap pages if there isn't an override * Fix small fallout * FMT * Fix tests * More tests * Offchain worker custom extensions * More fixes * Make offchain tx pool creation reusable Introduces an `OffchainTransactionPoolFactory` for creating offchain transactions pools that can be registered in the runtime externalities context. This factory will be required for a later pr to make the creation of offchain transaction pools easier. * Fixes * Fixes * Set offchain transaction pool in BABE before using it in the runtime * Add the `offchain_tx_pool` to Grandpa as well * Fix the nodes * Print some error when using the old warnings * Fix merge issues * Fix compilation * Rename `babe_link` * Rename to `offchain_tx_pool_factory` * Cleanup * FMT * Fix benchmark name * Fix `try-runtime` * Remove `--execution` CLI args * Make clippy happy * Forward bls functions * Fix docs * Update UI tests * Update client/api/src/execution_extensions.rs Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Koute <koute@users.noreply.github.com> * Update client/cli/src/params/import_params.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Update client/api/src/execution_extensions.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Pass the offchain storage to the MMR RPC * Update client/api/src/execution_extensions.rs Co-authored-by: Sebastian Kunert <skunert49@gmail.com> * Review comments * Fixes --------- Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Co-authored-by: Koute <koute@users.noreply.github.com> Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
65 lines
2.4 KiB
TOML
65 lines
2.4 KiB
TOML
[package]
|
|
name = "sp-api"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Substrate runtime api primitives"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
|
sp-api-proc-macro = { version = "4.0.0-dev", path = "proc-macro" }
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../core" }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../std" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" }
|
|
sp-externalities = { version = "0.19.0", default-features = false, optional = true, path = "../externalities" }
|
|
sp-version = { version = "22.0.0", default-features = false, path = "../version" }
|
|
sp-state-machine = { version = "0.28.0", default-features = false, optional = true, path = "../state-machine" }
|
|
sp-trie = { version = "22.0.0", default-features = false, optional = true, path = "../trie" }
|
|
hash-db = { version = "0.16.0", optional = true }
|
|
thiserror = { version = "1.0.30", optional = true }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
sp-metadata-ir = { version = "0.1.0", default-features = false, optional = true, path = "../metadata-ir" }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-test-primitives = { version = "2.0.0", path = "../test-primitives" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"sp-core/std",
|
|
"sp-externalities",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
"sp-state-machine/std",
|
|
"sp-trie/std",
|
|
"sp-version/std",
|
|
"hash-db",
|
|
"thiserror",
|
|
"log/std",
|
|
"scale-info/std",
|
|
"sp-metadata-ir?/std",
|
|
]
|
|
# Special feature to disable logging completely.
|
|
#
|
|
# By default `sp-api` initializes the `RuntimeLogger` for each runtime api function. However,
|
|
# logging functionality increases the code size. It is recommended to enable this feature when
|
|
# building a runtime for registering it on chain.
|
|
#
|
|
# This sets the max logging level to `off` for `log`.
|
|
disable-logging = ["log/max_level_off"]
|
|
# Do not report the documentation in the metadata.
|
|
no-metadata-docs = ["sp-api-proc-macro/no-metadata-docs"]
|
|
frame-metadata = [
|
|
"sp-metadata-ir",
|
|
"sp-api-proc-macro/frame-metadata"
|
|
]
|