From a4934433b073a81b197b07ad809cf239a79c1427 Mon Sep 17 00:00:00 2001 From: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Tue, 7 Nov 2023 08:32:56 +0000 Subject: [PATCH] fix formatting and docs --- Cargo.toml | 50 +++---- client/evm-tracing/Cargo.toml | 2 +- client/rpc-core/debug/Cargo.toml | 4 +- client/rpc-core/trace/Cargo.toml | 4 +- client/rpc-core/txpool/Cargo.toml | 2 +- client/rpc-core/types/Cargo.toml | 2 +- client/rpc/debug/Cargo.toml | 2 +- client/rpc/trace/Cargo.toml | 2 +- client/rpc/txpool/Cargo.toml | 2 +- client/voter/Cargo.toml | 8 +- light-client-configs/block-relay-config.toml | 2 +- pallets/claims/Cargo.toml | 2 +- pallets/jobs/Cargo.toml | 32 ++-- pallets/jobs/rpc/Cargo.toml | 6 +- pallets/jobs/rpc/runtime-api/Cargo.toml | 20 +-- pallets/jobs/rpc/runtime-api/src/lib.rs | 4 +- pallets/jobs/src/lib.rs | 4 +- pallets/jobs/src/mock.rs | 4 +- pallets/jobs/src/tests.rs | 4 +- pallets/jobs/src/types.rs | 4 +- pallets/jobs/src/weights.rs | 4 +- pallets/transaction-pause/Cargo.toml | 4 +- pallets/transaction-pause/src/lib.rs | 4 +- pallets/transaction-pause/src/mock.rs | 4 +- precompiles/batch/Cargo.toml | 24 +-- precompiles/call-permit/Cargo.toml | 22 +-- precompiles/pallet-democracy/Cargo.toml | 24 +-- precompiles/precompile-registry/Cargo.toml | 22 +-- precompiles/preimage/Cargo.toml | 24 +-- precompiles/proxy/Cargo.toml | 26 ++-- precompiles/staking/Cargo.toml | 59 ++++---- precompiles/utils/Cargo.toml | 22 +-- precompiles/utils/macro/Cargo.toml | 4 +- precompiles/utils/tests-external/Cargo.toml | 2 +- primitives/Cargo.toml | 10 +- primitives/ext/Cargo.toml | 14 +- primitives/rpc/debug/Cargo.toml | 24 +-- primitives/rpc/evm-tracing-events/Cargo.toml | 18 +-- primitives/rpc/txpool/Cargo.toml | 2 +- primitives/src/traits/jobs.rs | 4 +- primitives/src/traits/roles.rs | 4 +- primitives/src/types/jobs.rs | 4 +- standalone/node/Cargo.toml | 68 ++++----- standalone/runtime/Cargo.toml | 146 +++++++++---------- standalone/runtime/evm_tracer/Cargo.toml | 29 ++-- standalone/runtime/src/frontier_evm.rs | 4 +- standalone/runtime/src/impls.rs | 4 +- 47 files changed, 371 insertions(+), 365 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 252d4634c..2b9b99be0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,27 +8,27 @@ repository = "https://github.com/webb-tools/tangle" [workspace] members = [ - "primitives", - "primitives/rpc/*", - "primitives/ext", - "client/evm-tracing", - "client/rpc/*", - "client/rpc-core/*", - "client/voter", - "standalone/node", - "standalone/runtime", - "standalone/runtime/evm_tracer", - "pallets/*", - "pallets/jobs/rpc", - "pallets/jobs/rpc/runtime-api", - "precompiles/utils", - "precompiles/utils/macro", - "precompiles/utils/tests-external", - "precompiles/pallet-democracy", - "precompiles/batch", - "precompiles/call-permit", - "precompiles/proxy", - "precompiles/preimage", + "primitives", + "primitives/rpc/*", + "primitives/ext", + "client/evm-tracing", + "client/rpc/*", + "client/rpc-core/*", + "client/voter", + "standalone/node", + "standalone/runtime", + "standalone/runtime/evm_tracer", + "pallets/*", + "pallets/jobs/rpc", + "pallets/jobs/rpc/runtime-api", + "precompiles/utils", + "precompiles/utils/macro", + "precompiles/utils/tests-external", + "precompiles/pallet-democracy", + "precompiles/batch", + "precompiles/call-permit", + "precompiles/proxy", + "precompiles/preimage", ] resolver = "2" @@ -68,7 +68,6 @@ hex = { version = "0.4.3", default-features = false } paste = "1.0.6" slices = "0.2.0" - # DKG Substrate Dependencies dkg-runtime-primitives = { git = "https://github.com/webb-tools/dkg-substrate.git", tag = "v0.4.7", default-features = false } pallet-dkg-metadata = { git = "https://github.com/webb-tools/dkg-substrate.git", tag = "v0.4.7", default-features = false } @@ -115,8 +114,8 @@ sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "pol sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0",default-features = false } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0",default-features = false } +sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0", default-features = false } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0", default-features = false } sc-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } sc-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } @@ -236,7 +235,6 @@ pallet-evm-precompile-preimage = { path = "precompiles/preimage", default-featur pallet-evm-precompile-registry = { path = "precompiles/precompile-registry", default-features = false } pallet-evm-precompile-staking = { path = "precompiles/staking", default-features = false } - # EVM & Ethereum # (wasm) evm = { git = "https://github.com/rust-blockchain/evm", rev = "b7b82c7e1fc57b7449d6dfa6826600de37cc1e65", default-features = false } @@ -292,7 +290,7 @@ pallet-eth2-light-client-relayer-gadget-cli = { git = "https://github.com/webb-t webb-consensus-types = { git = "https://github.com/webb-tools/pallet-eth2-light-client", default-features = false, tag = "v0.4.5" } webb = { version = "0.8", default-features = false } -webb-proposals = { git = "https://github.com/webb-tools/webb-rs.git", rev="a960eaf", default-features = false, features = ["scale", "evm"] } +webb-proposals = { git = "https://github.com/webb-tools/webb-rs.git", rev = "a960eaf", default-features = false, features = ["scale", "evm"] } primitives-ext = { path = "primitives/ext", default-features = false } evm-tracing-events = { path = "primitives/rpc/evm-tracing-events", default-features = false } diff --git a/client/evm-tracing/Cargo.toml b/client/evm-tracing/Cargo.toml index 03e29bb45..5e72c4f8f 100644 --- a/client/evm-tracing/Cargo.toml +++ b/client/evm-tracing/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "client-evm-tracing" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] ethereum-types = { workspace = true, features = ["std"] } diff --git a/client/rpc-core/debug/Cargo.toml b/client/rpc-core/debug/Cargo.toml index 16226e0bb..7fbd07e8a 100644 --- a/client/rpc-core/debug/Cargo.toml +++ b/client/rpc-core/debug/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "rpc-core-debug" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] +client-evm-tracing = { workspace = true } ethereum-types = { workspace = true, features = ["std"] } futures = { workspace = true, features = ["compat"] } jsonrpsee = { workspace = true, features = ["macros", "server"] } -client-evm-tracing = { workspace = true } rpc-core-types = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } diff --git a/client/rpc-core/trace/Cargo.toml b/client/rpc-core/trace/Cargo.toml index 71f0b34f6..6ad06d23b 100644 --- a/client/rpc-core/trace/Cargo.toml +++ b/client/rpc-core/trace/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "rpc-core-trace" +version = "0.6.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.6.0" [dependencies] +client-evm-tracing = { workspace = true } ethereum-types = { workspace = true, features = ["std"] } futures = { workspace = true, features = ["compat"] } jsonrpsee = { workspace = true, features = ["macros", "server"] } -client-evm-tracing = { workspace = true } rpc-core-types = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } diff --git a/client/rpc-core/txpool/Cargo.toml b/client/rpc-core/txpool/Cargo.toml index 7b32f658b..41d315e89 100644 --- a/client/rpc-core/txpool/Cargo.toml +++ b/client/rpc-core/txpool/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-core-txpool" +version = "0.6.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.6.0" [dependencies] ethereum = { workspace = true, features = ["std", "with-codec"] } diff --git a/client/rpc-core/types/Cargo.toml b/client/rpc-core/types/Cargo.toml index 06b5f4670..9b368fb0d 100644 --- a/client/rpc-core/types/Cargo.toml +++ b/client/rpc-core/types/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-core-types" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] ethereum-types = { workspace = true, features = ["std"] } diff --git a/client/rpc/debug/Cargo.toml b/client/rpc/debug/Cargo.toml index 3abd0b744..44a354030 100644 --- a/client/rpc/debug/Cargo.toml +++ b/client/rpc/debug/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-debug" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] futures = { workspace = true, features = ["compat"] } diff --git a/client/rpc/trace/Cargo.toml b/client/rpc/trace/Cargo.toml index 87129e501..24e49c1cb 100644 --- a/client/rpc/trace/Cargo.toml +++ b/client/rpc/trace/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-trace" +version = "0.6.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.6.0" [dependencies] ethereum = { workspace = true, features = ["with-codec"] } diff --git a/client/rpc/txpool/Cargo.toml b/client/rpc/txpool/Cargo.toml index 14cdf8f2d..70ccc9397 100644 --- a/client/rpc/txpool/Cargo.toml +++ b/client/rpc/txpool/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-txpool" +version = "0.6.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.6.0" [dependencies] jsonrpsee = { workspace = true, features = ["macros", "server"] } diff --git a/client/voter/Cargo.toml b/client/voter/Cargo.toml index 4bd528fe3..31212c5a6 100644 --- a/client/voter/Cargo.toml +++ b/client/voter/Cargo.toml @@ -3,17 +3,17 @@ name = "tangle-voter" version.workspace = true authors.workspace = true edition.workspace = true -license.workspace = true homepage.workspace = true +license.workspace = true repository.workspace = true [dependencies] +anyhow = { version = "1" } +clap = { workspace = true } +hex = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } -clap = { workspace = true } tracing = { workspace = true } -hex = { workspace = true } webb = { workspace = true, features = ["evm-runtime"] } webb-proposals = { workspace = true, features = ["evm", "std"] } -anyhow = { version = "1" } diff --git a/light-client-configs/block-relay-config.toml b/light-client-configs/block-relay-config.toml index ce381ff46..837913352 100644 --- a/light-client-configs/block-relay-config.toml +++ b/light-client-configs/block-relay-config.toml @@ -16,4 +16,4 @@ substrate_requests_timeout_seconds = 30 sleep_time_on_sync_secs = 20 sleep_time_after_submission_secs = 5 hashes_gc_threshold = 51000 -beacon_rpc_version = "V1_5" \ No newline at end of file +beacon_rpc_version = "V1_5" diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index 0b6c66e41..db036f0e8 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -3,8 +3,8 @@ name = "pallet-ecdsa-claims" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [package.metadata.docs.rs] diff --git a/pallets/jobs/Cargo.toml b/pallets/jobs/Cargo.toml index 085d5385e..df0eecbcf 100644 --- a/pallets/jobs/Cargo.toml +++ b/pallets/jobs/Cargo.toml @@ -3,20 +3,20 @@ name = "pallet-jobs" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [dependencies] -parity-scale-codec = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } +parity-scale-codec = { workspace = true } scale-info = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -tangle-primitives = {workspace = true, default-features = false } -frame-benchmarking = { workspace = true, optional = true } +tangle-primitives = { workspace = true, default-features = false } [dev-dependencies] pallet-balances = { workspace = true } @@ -25,12 +25,22 @@ sp-io = { workspace = true } [features] default = ["std"] -std = ["scale-info/std", "sp-runtime/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/std", "sp-core/std", "sp-std/std", "tangle-primitives/std", "pallet-balances/std"] +std = [ + "scale-info/std", + "sp-runtime/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "sp-core/std", + "sp-std/std", + "tangle-primitives/std", + "pallet-balances/std", +] try-runtime = ["frame-support/try-runtime"] runtime-benchmarks = [ - "frame-benchmarking/runtime-benchmarks", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", - "pallet-balances/runtime-benchmarks" -] \ No newline at end of file + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", +] diff --git a/pallets/jobs/rpc/Cargo.toml b/pallets/jobs/rpc/Cargo.toml index a89360628..722242eb6 100644 --- a/pallets/jobs/rpc/Cargo.toml +++ b/pallets/jobs/rpc/Cargo.toml @@ -3,21 +3,21 @@ name = "pallet-jobs-rpc" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] -parity-scale-codec = { workspace = true } jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] } pallet-jobs-rpc-runtime-api = { path = "./runtime-api" } +parity-scale-codec = { workspace = true } sp-api = { workspace = true } sp-blockchain = { workspace = true } sp-core = { workspace = true } sp-rpc = { workspace = true } sp-runtime = { workspace = true } sp-weights = { workspace = true } -tangle-primitives = { workspace = true } \ No newline at end of file +tangle-primitives = { workspace = true } diff --git a/pallets/jobs/rpc/runtime-api/Cargo.toml b/pallets/jobs/rpc/runtime-api/Cargo.toml index a7a830695..e522b8754 100644 --- a/pallets/jobs/rpc/runtime-api/Cargo.toml +++ b/pallets/jobs/rpc/runtime-api/Cargo.toml @@ -3,28 +3,28 @@ name = "pallet-jobs-rpc-runtime-api" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] -parity-scale-codec = { workspace = true } pallet-jobs = { default-features = false, path = "../../../jobs" } +parity-scale-codec = { workspace = true } sp-api = { workspace = true } -tangle-primitives = { workspace = true } sp-runtime = { workspace = true } sp-weights = { workspace = true } +tangle-primitives = { workspace = true } [features] -default = [ "std" ] +default = ["std"] std = [ - "parity-scale-codec/std", - "pallet-jobs/std", - "sp-api/std", - "sp-runtime/std", - "sp-weights/std", - "tangle-primitives/std" + "parity-scale-codec/std", + "pallet-jobs/std", + "sp-api/std", + "sp-runtime/std", + "sp-weights/std", + "tangle-primitives/std", ] diff --git a/pallets/jobs/rpc/runtime-api/src/lib.rs b/pallets/jobs/rpc/runtime-api/src/lib.rs index d27983ab9..d2b950a0d 100644 --- a/pallets/jobs/rpc/runtime-api/src/lib.rs +++ b/pallets/jobs/rpc/runtime-api/src/lib.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/jobs/src/lib.rs b/pallets/jobs/src/lib.rs index 6746bb79d..3f289abec 100644 --- a/pallets/jobs/src/lib.rs +++ b/pallets/jobs/src/lib.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/jobs/src/mock.rs b/pallets/jobs/src/mock.rs index dd78b720a..904179c99 100644 --- a/pallets/jobs/src/mock.rs +++ b/pallets/jobs/src/mock.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/jobs/src/tests.rs b/pallets/jobs/src/tests.rs index f813ffe08..35be7c41f 100644 --- a/pallets/jobs/src/tests.rs +++ b/pallets/jobs/src/tests.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/jobs/src/types.rs b/pallets/jobs/src/types.rs index aab14a48c..fd96a283e 100644 --- a/pallets/jobs/src/types.rs +++ b/pallets/jobs/src/types.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/jobs/src/weights.rs b/pallets/jobs/src/weights.rs index 3693fcaa0..17eb3a200 100644 --- a/pallets/jobs/src/weights.rs +++ b/pallets/jobs/src/weights.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 630a95c9a..541e3d816 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -3,14 +3,14 @@ name = "pallet-transaction-pause" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [dependencies] -parity-scale-codec = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } +parity-scale-codec = { workspace = true } scale-info = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 6b3ff27b0..8f6bbc16f 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index 680292518..91052203a 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/precompiles/batch/Cargo.toml b/precompiles/batch/Cargo.toml index 9b4506c69..86be87caa 100644 --- a/precompiles/batch/Cargo.toml +++ b/precompiles/batch/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-batch" +version = "0.1.0" authors = { workspace = true } -description = "A Precompile to batch multiple calls." edition = "2021" -version = "0.1.0" +description = "A Precompile to batch multiple calls." [dependencies] log = { workspace = true } @@ -24,9 +24,9 @@ sp-std = { workspace = true } # Frontier evm = { workspace = true, features = ["with-codec"] } +evm-runtime = { workspace = true, default-features = false } fp-evm = { workspace = true } pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] } -evm-runtime = { workspace = true, default-features = false } [dev-dependencies] derive_more = { workspace = true } @@ -44,13 +44,13 @@ sp-runtime = { workspace = true, features = ["std"] } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-io/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/call-permit/Cargo.toml b/precompiles/call-permit/Cargo.toml index d0aee176b..50a9c0c6d 100644 --- a/precompiles/call-permit/Cargo.toml +++ b/precompiles/call-permit/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-call-permit" +version = "0.1.0" authors = { workspace = true } -description = "A Precompile to dispatch a call with a ERC712 permit." edition = "2021" -version = "0.1.0" +description = "A Precompile to dispatch a call with a ERC712 permit." [dependencies] log = { workspace = true } @@ -44,13 +44,13 @@ sp-runtime = { workspace = true, features = ["std"] } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-io/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/pallet-democracy/Cargo.toml b/precompiles/pallet-democracy/Cargo.toml index 6597b810a..38af379da 100644 --- a/precompiles/pallet-democracy/Cargo.toml +++ b/precompiles/pallet-democracy/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-democracy" +version = "0.2.0" authors = { workspace = true } -description = "A Precompile to make Substrate's pallet-democracy accessible to pallet-evm" edition = "2021" -version = "0.2.0" +description = "A Precompile to make Substrate's pallet-democracy accessible to pallet-evm" [dependencies] log = { workspace = true } @@ -45,14 +45,14 @@ sp-runtime = { workspace = true, features = ["std"] } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-democracy/std", - "pallet-evm/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-io/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-democracy/std", + "pallet-evm/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/precompile-registry/Cargo.toml b/precompiles/precompile-registry/Cargo.toml index 1ad1cc5cd..278d1a369 100644 --- a/precompiles/precompile-registry/Cargo.toml +++ b/precompiles/precompile-registry/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-registry" +version = "0.1.0" authors = { workspace = true } -description = "Registry of active precompiles" edition = "2021" -version = "0.1.0" +description = "Registry of active precompiles" [dependencies] log = { workspace = true } @@ -41,13 +41,13 @@ sp-runtime = { workspace = true } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-io/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/preimage/Cargo.toml b/precompiles/preimage/Cargo.toml index 4d0c7dc37..92c9dfae4 100644 --- a/precompiles/preimage/Cargo.toml +++ b/precompiles/preimage/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-preimage" +version = "0.1.0" authors = { workspace = true } -description = "A Precompile to make pallet-preimage calls encoding accessible to pallet-evm" edition = "2021" -version = "0.1.0" +description = "A Precompile to make pallet-preimage calls encoding accessible to pallet-evm" [dependencies] log = { workspace = true } @@ -44,14 +44,14 @@ sp-io = { workspace = true } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "pallet-preimage/std", - "parity-scale-codec/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-runtime/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "pallet-preimage/std", + "parity-scale-codec/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/precompiles/proxy/Cargo.toml b/precompiles/proxy/Cargo.toml index 9b48b58c8..2d7e8c5af 100644 --- a/precompiles/proxy/Cargo.toml +++ b/precompiles/proxy/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-proxy" +version = "0.1.0" authors = { workspace = true } -description = "A Precompile to make proxy calls encoding accessible to pallet-evm" edition = "2021" -version = "0.1.0" +description = "A Precompile to make proxy calls encoding accessible to pallet-evm" [dependencies] log = { workspace = true } @@ -46,15 +46,15 @@ sp-io = { workspace = true, features = ["std"] } [features] default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-balances/std", - "pallet-evm/std", - "pallet-proxy/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-evm/std", + "pallet-proxy/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/precompiles/staking/Cargo.toml b/precompiles/staking/Cargo.toml index 650955a16..9d6448d52 100644 --- a/precompiles/staking/Cargo.toml +++ b/precompiles/staking/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "pallet-evm-precompile-staking" +version = "1.0.0" authors = { workspace = true } -description = "A Precompile to make staking accessible to pallet-evm" edition = "2021" -version = "1.0.0" +description = "A Precompile to make staking accessible to pallet-evm" [dependencies] log = { workspace = true } @@ -14,12 +14,11 @@ tangle-primitives = { workspace = true } # Moonbeam precompile-utils = { workspace = true } - # Substrate frame-support = { workspace = true } frame-system = { workspace = true } pallet-staking = { workspace = true } -parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] } +parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } @@ -27,7 +26,7 @@ sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } -pallet-evm = { workspace = true, features = [ "forbid-evm-reentrancy" ] } +pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] } [dev-dependencies] derive_more = { workspace = true } @@ -35,35 +34,35 @@ serde = { workspace = true } sha3 = { workspace = true } # Moonbeam -precompile-utils = { workspace = true, features = [ "std", "testing" ] } +precompile-utils = { workspace = true, features = ["std", "testing"] } # Substrate -pallet-balances = { workspace = true, features = [ "std" ] } -pallet-dkg-proposals = { workspace = true, features = [ "std" ] } -pallet-timestamp = { workspace = true, features = [ "std" ] } -scale-info = { workspace = true, features = [ "derive", "std" ] } -sp-runtime = { workspace = true, features = [ "std" ] } -pallet-staking = { workspace = true, features = [ "std" ] } +dkg-runtime-primitives = { workspace = true, features = ["std"] } +frame-election-provider-support = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true, features = ["std"] } +pallet-dkg-metadata = { workspace = true, features = ["std"] } +pallet-dkg-proposals = { workspace = true, features = ["std"] } +pallet-session = { workspace = true, features = ["std"] } +pallet-staking = { workspace = true, features = ["std"] } pallet-staking-reward-curve = { workspace = true } -frame-election-provider-support = { workspace = true, features = [ "std" ] } -pallet-session = { workspace = true, features = [ "std" ] } -pallet-dkg-metadata = { workspace = true, features = [ "std" ] } -dkg-runtime-primitives = { workspace = true, features = [ "std" ] } -sp-staking = { workspace = true, features = [ "std" ] } -sp-keystore = { workspace = true, features = [ "std" ] } +pallet-timestamp = { workspace = true, features = ["std"] } +scale-info = { workspace = true, features = ["derive", "std"] } +sp-keystore = { workspace = true, features = ["std"] } +sp-runtime = { workspace = true, features = ["std"] } +sp-staking = { workspace = true, features = ["std"] } [features] -default = [ "std" ] +default = ["std"] std = [ - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "pallet-staking/std", - "parity-scale-codec/std", - "precompile-utils/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", - "tangle-primitives/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "pallet-staking/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "tangle-primitives/std", ] diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 46015569d..01b69bb00 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "precompile-utils" +version = "0.1.0" authors = { workspace = true } -description = "Utils to write EVM precompiles." edition = "2021" -version = "0.1.0" +description = "Utils to write EVM precompiles." [dependencies] affix = { workspace = true } @@ -46,15 +46,15 @@ xcm = { workspace = true } [features] default = ["std"] std = [ - "environmental/std", - "fp-evm/std", - "frame-support/std", - "frame-system/std", - "pallet-evm/std", - "parity-scale-codec/std", - "sp-core/std", - "sp-io/std", - "sp-std/std", + "environmental/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", + "pallet-evm/std", + "parity-scale-codec/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] codec-xcm = ["xcm"] testing = ["derive_more", "hex-literal", "scale-info", "serde", "similar-asserts", "std"] diff --git a/precompiles/utils/macro/Cargo.toml b/precompiles/utils/macro/Cargo.toml index 86806dc9a..3ba3de87f 100644 --- a/precompiles/utils/macro/Cargo.toml +++ b/precompiles/utils/macro/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "precompile-utils-macro" +version = "0.1.0" authors = { workspace = true } -description = "" edition = "2021" -version = "0.1.0" +description = "" [lib] proc-macro = true diff --git a/precompiles/utils/tests-external/Cargo.toml b/precompiles/utils/tests-external/Cargo.toml index 36e1f6a48..3e04a8962 100644 --- a/precompiles/utils/tests-external/Cargo.toml +++ b/precompiles/utils/tests-external/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "precompile-utils-tests-external" +version = "0.1.0" authors = { workspace = true } edition = "2021" -version = "0.1.0" [lib] path = "./lib.rs" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 5a5b206cb..b26338a84 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -3,20 +3,20 @@ name = "tangle-primitives" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [dependencies] +cumulus-primitives-core = { workspace = true } frame-support = { workspace = true } +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } serde = { workspace = true } smallvec = { workspace = true } +sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-arithmetic = { workspace = true } -cumulus-primitives-core = { workspace = true } -parity-scale-codec = { workspace = true } -scale-info = {workspace = true} [features] default = ["std"] diff --git a/primitives/ext/Cargo.toml b/primitives/ext/Cargo.toml index 1a36beab2..bbe41faea 100644 --- a/primitives/ext/Cargo.toml +++ b/primitives/ext/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "primitives-ext" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] ethereum-types = { workspace = true } @@ -21,10 +21,10 @@ sp-std = { workspace = true } [features] default = ["std"] std = [ - "ethereum-types/std", - "evm-tracing-events/std", - "parity-scale-codec/std", - "sp-externalities/std", - "sp-runtime-interface/std", - "sp-std/std", + "ethereum-types/std", + "evm-tracing-events/std", + "parity-scale-codec/std", + "sp-externalities/std", + "sp-runtime-interface/std", + "sp-std/std", ] diff --git a/primitives/rpc/debug/Cargo.toml b/primitives/rpc/debug/Cargo.toml index 7aeef03dc..cb2d35284 100644 --- a/primitives/rpc/debug/Cargo.toml +++ b/primitives/rpc/debug/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-primitives-debug" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] environmental = { workspace = true } @@ -24,15 +24,15 @@ sp-std = { workspace = true } [features] default = ["std"] std = [ - "environmental/std", - "ethereum-types/std", - "ethereum/std", - "hex", - "parity-scale-codec/std", - "serde", - "sp-api/std", - "sp-core/std", - "sp-io/std", - "sp-runtime/std", - "sp-std/std", + "environmental/std", + "ethereum-types/std", + "ethereum/std", + "hex", + "parity-scale-codec/std", + "serde", + "sp-api/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/primitives/rpc/evm-tracing-events/Cargo.toml b/primitives/rpc/evm-tracing-events/Cargo.toml index 98e60e6fe..7cc4217d1 100644 --- a/primitives/rpc/evm-tracing-events/Cargo.toml +++ b/primitives/rpc/evm-tracing-events/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "evm-tracing-events" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] environmental = { workspace = true } @@ -23,13 +23,13 @@ evm-runtime = { workspace = true } [features] default = ["std"] std = [ - "environmental/std", - "ethereum-types/std", - "ethereum/std", - "evm-gasometer/std", - "evm-runtime/std", - "evm/std", - "parity-scale-codec/std", - "sp-runtime-interface/std", + "environmental/std", + "ethereum-types/std", + "ethereum/std", + "evm-gasometer/std", + "evm-runtime/std", + "evm/std", + "parity-scale-codec/std", + "sp-runtime-interface/std", ] evm-tracing = ["evm-gasometer/tracing", "evm-runtime/tracing", "evm/tracing"] diff --git a/primitives/rpc/txpool/Cargo.toml b/primitives/rpc/txpool/Cargo.toml index a735dea18..1e08d66d4 100644 --- a/primitives/rpc/txpool/Cargo.toml +++ b/primitives/rpc/txpool/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rpc-primitives-txpool" +version = "0.6.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.6.0" [dependencies] ethereum = { workspace = true, features = ["with-codec"] } diff --git a/primitives/src/traits/jobs.rs b/primitives/src/traits/jobs.rs index c6b98bf2b..a7a335a03 100644 --- a/primitives/src/traits/jobs.rs +++ b/primitives/src/traits/jobs.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/primitives/src/traits/roles.rs b/primitives/src/traits/roles.rs index 3d2bd9ca4..db23ebf74 100644 --- a/primitives/src/traits/roles.rs +++ b/primitives/src/traits/roles.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/primitives/src/types/jobs.rs b/primitives/src/types/jobs.rs index 9d2e768ca..520c603ba 100644 --- a/primitives/src/types/jobs.rs +++ b/primitives/src/types/jobs.rs @@ -1,5 +1,5 @@ -// This file is part of Webb. -// Copyright (C) 2022 Webb Technologies Inc. +// This file is part of Tangle. +// Copyright (C) 2022-2023 Webb Technologies Inc. // // Tangle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/standalone/node/Cargo.toml b/standalone/node/Cargo.toml index 872005304..0e2fab82a 100644 --- a/standalone/node/Cargo.toml +++ b/standalone/node/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "tangle-standalone" -build = "build.rs" -description = "A fresh FRAME-based Substrate node, ready for hacking." version = { workspace = true } authors = { workspace = true } +build = "build.rs" edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } +description = "A fresh FRAME-based Substrate node, ready for hacking." [package.metadata.wasm-pack.profile.release] # `wasm-opt` has some problems on linux, see @@ -24,64 +24,64 @@ targets = ["x86_64-unknown-linux-gnu"] substrate-build-script-utils = { workspace = true } [dependencies] -serde_json = { workspace = true } -tokio = { workspace = true } clap = { workspace = true } -parity-scale-codec = { workspace = true } futures = { workspace = true } hex-literal = { workspace = true } log = { workspace = true } +parity-scale-codec = { workspace = true } rand = { workspace = true } +serde_json = { workspace = true } +tokio = { workspace = true } # Light client dependencies pallet-eth2-light-client-relayer-gadget = { workspace = true, optional = true } pallet-eth2-light-client-relayer-gadget-cli = { workspace = true, optional = true } -webb-consensus-types = {workspace = true} +webb-consensus-types = { workspace = true } # DKG dependencies dkg-gadget = { workspace = true } dkg-primitives = { workspace = true } dkg-runtime-primitives = { workspace = true } pallet-bridge-registry = { workspace = true } +webb-proposals = { workspace = true } webb-relayer-gadget = { workspace = true, optional = true } webb-relayer-gadget-cli = { workspace = true, optional = true } -webb-proposals = { workspace = true } # Substrate dependencies -sc-cli = { workspace = true } -sc-executor = { workspace = true } -sc-offchain = { workspace = true } -sc-keystore = { workspace = true } -sc-service = { workspace = true } -sp-core = { workspace = true } frame-benchmarking = { workspace = true } frame-benchmarking-cli = { workspace = true } frame-system = { workspace = true } sc-basic-authorship = { workspace = true } +sc-cli = { workspace = true } sc-client-api = { workspace = true } sc-consensus = { workspace = true } sc-consensus-aura = { workspace = true } +sc-consensus-grandpa = { workspace = true } +sc-executor = { workspace = true } +sc-keystore = { workspace = true } sc-network = { workspace = true } +sc-network-sync = { workspace = true } +sc-offchain = { workspace = true } +sc-service = { workspace = true } sc-telemetry = { workspace = true } sc-transaction-pool = { workspace = true } sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } sp-inherents = { workspace = true } sp-keyring = { workspace = true } sp-runtime = { workspace = true } sp-trie = { workspace = true } -sc-consensus-grandpa = { workspace = true } -sc-network-sync = { workspace = true } sc-chain-spec = { workspace = true } +sc-consensus-manual-seal = { workspace = true } sc-rpc = { workspace = true } sc-rpc-api = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-blockchain = { workspace = true } sp-timestamp = { workspace = true } -substrate-prometheus-endpoint = { workspace = true } substrate-frame-rpc-system = { workspace = true } -sc-consensus-manual-seal = { workspace = true } +substrate-prometheus-endpoint = { workspace = true } # RPC related dependencies jsonrpsee = { workspace = true } @@ -93,25 +93,25 @@ wasmer = { version = "2.3" } # Frontier fc-cli = { workspace = true } -hex = {workspace = true } fc-consensus = { workspace = true } fc-db = { workspace = true } fc-mapping-sync = { workspace = true } fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] } fc-rpc-core = { workspace = true } -sp-keystore = { workspace = true } fc-storage = { workspace = true } fp-account = { workspace = true } fp-dynamic-fee = { workspace = true, features = ["default"] } fp-evm = { workspace = true, features = ["default"] } fp-rpc = { workspace = true, features = ["default"] } +hex = { workspace = true } +sp-keystore = { workspace = true } -rpc-trace = { workspace = true } +primitives-ext = { workspace = true } rpc-debug = { workspace = true } -rpc-txpool = { workspace = true } rpc-primitives-debug = { workspace = true } rpc-primitives-txpool = { workspace = true } -primitives-ext = { workspace = true } +rpc-trace = { workspace = true } +rpc-txpool = { workspace = true } tangle-runtime = { workspace = true } @@ -122,20 +122,20 @@ integration-tests = ["tangle-runtime/integration-tests"] with-rocksdb-weights = ["tangle-runtime/with-rocksdb-weights"] with-paritydb-weights = ["tangle-runtime/with-paritydb-weights"] rocksdb = [ - "sc-cli/rocksdb", - "sc-service/rocksdb", - "fc-cli/rocksdb", - "fc-db/rocksdb", - "fc-mapping-sync/rocksdb", - "fc-rpc/rocksdb", + "sc-cli/rocksdb", + "sc-service/rocksdb", + "fc-cli/rocksdb", + "fc-db/rocksdb", + "fc-mapping-sync/rocksdb", + "fc-rpc/rocksdb", ] sql = ["fc-db/sql", "fc-mapping-sync/sql"] txpool = ["fc-rpc/txpool"] light-client = [ - "pallet-eth2-light-client-relayer-gadget", - "pallet-eth2-light-client-relayer-gadget-cli" + "pallet-eth2-light-client-relayer-gadget", + "pallet-eth2-light-client-relayer-gadget-cli", ] relayer = [ - "webb-relayer-gadget", - "webb-relayer-gadget-cli" -] \ No newline at end of file + "webb-relayer-gadget", + "webb-relayer-gadget-cli", +] diff --git a/standalone/runtime/Cargo.toml b/standalone/runtime/Cargo.toml index ce7d9a6cb..781bce0dc 100644 --- a/standalone/runtime/Cargo.toml +++ b/standalone/runtime/Cargo.toml @@ -3,8 +3,8 @@ name = "tangle-standalone-runtime" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } -license = { workspace = true } homepage = { workspace = true } +license = { workspace = true } repository = { workspace = true } [package.metadata.docs.rs] @@ -14,20 +14,20 @@ targets = ["x86_64-unknown-linux-gnu"] substrate-wasm-builder = { workspace = true } [dependencies] -parity-scale-codec = { workspace = true } hex-literal = { workspace = true, optional = true } log = { workspace = true } +num_enum = { workspace = true } +parity-scale-codec = { workspace = true } scale-info = { workspace = true } serde = { workspace = true } -num_enum = { workspace = true } static_assertions = { workspace = true } # DKG Substrate Dependencies dkg-runtime-primitives = { workspace = true } +pallet-bridge-registry = { workspace = true } pallet-dkg-metadata = { workspace = true } pallet-dkg-proposal-handler = { workspace = true } pallet-dkg-proposals = { workspace = true } -pallet-bridge-registry = { workspace = true } # Webb Substrate Dependencies pallet-ecdsa-claims = { workspace = true } @@ -80,17 +80,17 @@ pallet-treasury = { workspace = true } pallet-authorship = { workspace = true } pallet-balances = { workspace = true } +pallet-eth2-light-client = { workspace = true } +pallet-identity = { workspace = true } +pallet-proxy = { workspace = true } pallet-randomness-collective-flip = { workspace = true } pallet-sudo = { workspace = true } pallet-timestamp = { workspace = true } +pallet-transaction-pause = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-utility = { workspace = true } -pallet-identity = { workspace = true } pallet-vesting = { workspace = true } -pallet-transaction-pause = { workspace = true } -pallet-eth2-light-client = { workspace = true } -pallet-proxy = { workspace = true } # Webb dependencies tangle-primitives = { workspace = true } @@ -107,26 +107,26 @@ pallet-dynamic-fee = { workspace = true } pallet-ethereum = { workspace = true } pallet-evm = { workspace = true } pallet-evm-chain-id = { workspace = true } -pallet-evm-precompile-modexp = { workspace = true } -pallet-evm-precompile-sha3fips = { workspace = true } -pallet-evm-precompile-simple = { workspace = true } pallet-evm-precompile-blake2 = { workspace = true } pallet-evm-precompile-bn128 = { workspace = true } pallet-evm-precompile-curve25519 = { workspace = true } pallet-evm-precompile-dispatch = { workspace = true } pallet-evm-precompile-ed25519 = { workspace = true } +pallet-evm-precompile-modexp = { workspace = true } +pallet-evm-precompile-sha3fips = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } pallet-hotfix-sufficients = { workspace = true } ## Moonbeam precompiles -precompile-utils = { workspace = true } -pallet-evm-precompile-democracy = { workspace = true } pallet-evm-precompile-batch = { workspace = true } pallet-evm-precompile-call-permit = { workspace = true } -pallet-evm-precompile-proxy = { workspace = true } +pallet-evm-precompile-democracy = { workspace = true } pallet-evm-precompile-preimage = { workspace = true } +pallet-evm-precompile-proxy = { workspace = true } pallet-evm-precompile-registry = { workspace = true } pallet-evm-precompile-staking = { workspace = true } +precompile-utils = { workspace = true } evm-tracer = { workspace = true } rpc-primitives-debug = { workspace = true } @@ -135,26 +135,26 @@ rpc-primitives-txpool = { workspace = true } [features] default = ["std", "with-rocksdb-weights", "evm-tracing"] runtime-benchmarks = [ - "hex-literal", - "frame-benchmarking", - "frame-system-benchmarking", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", - "pallet-vesting/runtime-benchmarks", - "pallet-collective/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "hex-literal", + "frame-benchmarking", + "frame-system-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", - # dkg deps - "pallet-dkg-metadata/runtime-benchmarks", - "pallet-dkg-proposals/runtime-benchmarks", - "pallet-dkg-proposal-handler/runtime-benchmarks", + # dkg deps + "pallet-dkg-metadata/runtime-benchmarks", + "pallet-dkg-proposals/runtime-benchmarks", + "pallet-dkg-proposal-handler/runtime-benchmarks", - # Frontier - "pallet-ethereum/runtime-benchmarks", - "pallet-evm/runtime-benchmarks", - "pallet-hotfix-sufficients/runtime-benchmarks", + # Frontier + "pallet-ethereum/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-hotfix-sufficients/runtime-benchmarks", ] std = [ @@ -212,52 +212,52 @@ std = [ "pallet-identity/std", "pallet-bridge-registry/std", - # DKG - "pallet-dkg-metadata/std", - "dkg-runtime-primitives/std", - "pallet-dkg-proposals/std", - "pallet-dkg-proposal-handler/std", + # DKG + "pallet-dkg-metadata/std", + "dkg-runtime-primitives/std", + "pallet-dkg-proposals/std", + "pallet-dkg-proposal-handler/std", - # Webb dependencies - "tangle-primitives/std", + # Webb dependencies + "tangle-primitives/std", - # ETH2 light-client - "pallet-eth2-light-client/std", + # ETH2 light-client + "pallet-eth2-light-client/std", - # Frontier - "fp-account/std", - "fp-evm/std", - "fp-rpc/std", - "fp-self-contained/std", + # Frontier + "fp-account/std", + "fp-evm/std", + "fp-rpc/std", + "fp-self-contained/std", - # Frontier FRAME - "pallet-base-fee/std", - "pallet-dynamic-fee/std", - "pallet-ethereum/std", - "pallet-evm/std", - "pallet-evm-chain-id/std", - "pallet-evm-precompile-modexp/std", - "pallet-evm-precompile-sha3fips/std", - "pallet-evm-precompile-simple/std", - "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-bn128/std", - "pallet-evm-precompile-curve25519/std", - "pallet-evm-precompile-dispatch/std", - "pallet-evm-precompile-ed25519/std", - "pallet-hotfix-sufficients/std", - "precompile-utils/std", - "evm-tracer/std", - "rpc-primitives-debug/std", - "rpc-primitives-txpool/std", + # Frontier FRAME + "pallet-base-fee/std", + "pallet-dynamic-fee/std", + "pallet-ethereum/std", + "pallet-evm/std", + "pallet-evm-chain-id/std", + "pallet-evm-precompile-modexp/std", + "pallet-evm-precompile-sha3fips/std", + "pallet-evm-precompile-simple/std", + "pallet-evm-precompile-blake2/std", + "pallet-evm-precompile-bn128/std", + "pallet-evm-precompile-curve25519/std", + "pallet-evm-precompile-dispatch/std", + "pallet-evm-precompile-ed25519/std", + "pallet-hotfix-sufficients/std", + "precompile-utils/std", + "evm-tracer/std", + "rpc-primitives-debug/std", + "rpc-primitives-txpool/std", - # Moonbeam precompiles - "pallet-evm-precompile-preimage/std", - "pallet-evm-precompile-batch/std", - "pallet-evm-precompile-call-permit/std", - "pallet-evm-precompile-proxy/std", - "pallet-evm-precompile-democracy/std", - "pallet-evm-precompile-registry/std", - "pallet-evm-precompile-staking/std" + # Moonbeam precompiles + "pallet-evm-precompile-preimage/std", + "pallet-evm-precompile-batch/std", + "pallet-evm-precompile-call-permit/std", + "pallet-evm-precompile-proxy/std", + "pallet-evm-precompile-democracy/std", + "pallet-evm-precompile-registry/std", + "pallet-evm-precompile-staking/std", ] integration-tests = ["tangle-primitives/integration-tests"] with-rocksdb-weights = [] diff --git a/standalone/runtime/evm_tracer/Cargo.toml b/standalone/runtime/evm_tracer/Cargo.toml index 1f734c100..d1bdcbd6e 100644 --- a/standalone/runtime/evm_tracer/Cargo.toml +++ b/standalone/runtime/evm_tracer/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "evm-tracer" +version = "0.1.0" authors = { workspace = true } edition = "2021" license = "GPL-3.0-only" repository = { workspace = true } -version = "0.1.0" [dependencies] - # Moonbeam evm-tracing-events = { workspace = true, features = ["evm-tracing"] } primitives-ext = { workspace = true } @@ -30,17 +29,17 @@ pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] } [features] default = ["std"] std = [ - "ethereum-types/std", - "evm-gasometer/std", - "evm-runtime/std", - "evm-tracing-events/std", - "evm/std", - "evm/with-serde", - "fp-evm/std", - "primitives-ext/std", - "pallet-evm/std", - "parity-scale-codec/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", + "ethereum-types/std", + "evm-gasometer/std", + "evm-runtime/std", + "evm-tracing-events/std", + "evm/std", + "evm/with-serde", + "fp-evm/std", + "primitives-ext/std", + "pallet-evm/std", + "parity-scale-codec/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", ] diff --git a/standalone/runtime/src/frontier_evm.rs b/standalone/runtime/src/frontier_evm.rs index 234c5a8a9..3c01c5889 100644 --- a/standalone/runtime/src/frontier_evm.rs +++ b/standalone/runtime/src/frontier_evm.rs @@ -1,6 +1,6 @@ -// This file is part of Webb. +// This file is part of Tangle. -// Copyright (C) 2022 Webb Technologies Inc. +// Copyright (C) 2022-2023 Webb Technologies Inc. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/standalone/runtime/src/impls.rs b/standalone/runtime/src/impls.rs index 49b2edb45..c29d55642 100644 --- a/standalone/runtime/src/impls.rs +++ b/standalone/runtime/src/impls.rs @@ -1,6 +1,6 @@ -// This file is part of Webb. +// This file is part of Tangle. -// Copyright (C) 2022 Webb Technologies Inc. +// Copyright (C) 2022-2023 Webb Technologies Inc. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License");