mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 18:47:56 +00:00
Use Polkadot Constants instead of Hardcoding (#868)
* added Polkadot constants * remove hardcoded constants * cargo +nightly fmt * add const existential deposit * update * cargo +nightly fmt * not pulling * readd constants.rs modules * update * Cargo.lock * update * add balance constants * Update polkadot-parachains/statemine/src/constants.rs Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com> * cargo fmt Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
This commit is contained in:
@@ -241,7 +241,7 @@ pub fn run() -> Result<()> {
|
||||
You can enable it with `--features runtime-benchmarks`."
|
||||
.into())
|
||||
},
|
||||
Some(Subcommand::TryRuntime(cmd)) =>
|
||||
Some(Subcommand::TryRuntime(cmd)) => {
|
||||
if cfg!(feature = "try-runtime") {
|
||||
let runner = cli.create_runner(cmd)?;
|
||||
|
||||
@@ -256,7 +256,8 @@ pub fn run() -> Result<()> {
|
||||
})
|
||||
} else {
|
||||
Err("Try-runtime must be enabled by `--features try-runtime`.".into())
|
||||
},
|
||||
}
|
||||
},
|
||||
None => {
|
||||
let runner = cli.create_runner(&cli.run.normalize())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user