-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Tangle Liquid Staking Pallet (#744)
* update types to 0.5.9 * wip : std errors * build reward pools * wip : tests failing * wip : tests failing * get rid of member requirements * token bugs finally fixed * test fixes * test fixes * test cleanup * add precompiles * cargo fmt * test clippy * cleanup clippy * test clippy * remove unused * cleanup clippy * cleanup clippy * cleanup clippy * switch to cargo t
- Loading branch information
Showing
42 changed files
with
9,939 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
[package] | ||
name = "pallet-tangle-lst" | ||
version = "25.0.0" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license = "Apache-2.0" | ||
homepage = "https://substrate.io" | ||
repository.workspace = true | ||
description = "FRAME nomination pools pallet" | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
# parity | ||
scale-info = { version = "2.10.0", default-features = false, features = [ | ||
"derive", | ||
] } | ||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ | ||
"derive", | ||
] } | ||
cfg-if = "1.0" | ||
smart-default = "0.6.0" | ||
|
||
# FRAME | ||
frame-support = { workspace = true, default-features = false } | ||
frame-system = { workspace = true, default-features = false } | ||
sp-runtime = { workspace = true, default-features = false } | ||
sp-std = { workspace = true, default-features = false } | ||
sp-staking = { workspace = true, default-features = false } | ||
sp-core = { workspace = true, default-features = false } | ||
sp-io = { workspace = true, default-features = false } | ||
log = { version = "0.4.0", default-features = false } | ||
pallet-staking = { workspace = true } | ||
|
||
# Optional: use for testing and/or fuzzing | ||
pallet-balances = { workspace = true, optional = true } | ||
pallet-assets = { workspace = true, optional = true } | ||
sp-tracing = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
pallet-balances = { workspace = true } | ||
pallet-assets = { workspace = true } | ||
sp-tracing = { workspace = true } | ||
|
||
[features] | ||
default = ["std"] | ||
fuzzing = ["pallet-balances", "sp-tracing"] | ||
std = [ | ||
"codec/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"log/std", | ||
"pallet-balances?/std", | ||
"pallet-assets?/std", | ||
"scale-info/std", | ||
"sp-core/std", | ||
"sp-io/std", | ||
"sp-runtime/std", | ||
"sp-staking/std", | ||
"sp-std/std", | ||
"sp-tracing?/std", | ||
"pallet-staking/std", | ||
] | ||
runtime-benchmarks = [ | ||
"frame-support/runtime-benchmarks", | ||
"frame-system/runtime-benchmarks", | ||
"pallet-balances?/runtime-benchmarks", | ||
"sp-runtime/runtime-benchmarks", | ||
"sp-staking/runtime-benchmarks", | ||
] | ||
try-runtime = [ | ||
"frame-support/try-runtime", | ||
"frame-system/try-runtime", | ||
"pallet-balances?/try-runtime", | ||
"sp-runtime/try-runtime", | ||
] |
Oops, something went wrong.