Skip to content

Commit

Permalink
fixed compilation issue (#297)
Browse files Browse the repository at this point in the history
* fixed issue

* refactored code
  • Loading branch information
Polkaverse authored Mar 4, 2024
1 parent 0f678f5 commit 52a723a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 101 deletions.
125 changes: 25 additions & 100 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ sp-keyring = { version = "24.0.0", git = "https://github.com/paritytech/polkadot
frame-system = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
sp-io = { version = "23.0.0", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
pallet-session = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", default-features = false, branch = "release-polkadot-v1.2.0", features = ["historical"] }

# These dependencies are used for the node template's RPCs
jsonrpsee = { version = "0.21.0", features = ["server"] }
jsonrpsee = { version = "0.16.2", features = ["server"] }
sp-api = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.2.0" }
Expand Down
1 change: 1 addition & 0 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,6 @@ fn testnet_genesis(
transaction_payment: Default::default(),
assets: Default::default(),
treasury: Default::default(),
session: Default::default(),
}
}

0 comments on commit 52a723a

Please sign in to comment.