galacticcouncil / galacticcouncil/hydration-node

Use runtime to generate the genesis for benchmarking

Open
#1,011 0 comments 0 reactions 0 assignees View on GitHub
priority/medium
Dominant language
Rust
Stars
208
Forks
109
Avg merge
6d 3h
Merged PRs (30d)
3

Description

Right now running the benchmarking command `./target/release/hydradx benchmark pallet --wasm-execution=compiled --pallet pallet_xyk --extrinsic="*` produces the waring message `Using the chain spec instead of the runtime to generate the genesis state is deprecated. Please remove the `--chain`/`--dev`/`--local` argument, point `--runtime` to your runtime blob and set `--genesis-builder=runtime`. This warning may become a hard error any time after December 2024.`

Add presets to `GenesisBuilder` runtime API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.