Skip to content

Commit

Permalink
rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
amiyatulu committed Mar 27, 2024
1 parent ac67145 commit 481cdc9
Show file tree
Hide file tree
Showing 24 changed files with 964 additions and 80 deletions.
50 changes: 48 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
"pallets/shared-storage",
"pallets/spaces",
"pallets/profile-validation",
"pallets/positive-externality-validation",
"pallets/positive-externality",
"pallets/support",
"pallets/election",
"pallets/department-funding",
Expand Down
8 changes: 8 additions & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ profile-validation-rpc = { path="../pallets/profile-validation/profile-validatio
department-funding-runtime-api = {path="../pallets/department-funding/department-funding-runtime-api", default-features = false}
department-funding-rpc= { path="../pallets/department-funding/department-funding-rpc", default-features = false}

# Postive exterality rpc
positive-externality-runtime-api = {path="../pallets/positive-externality/positive-externality-runtime-api", default-features = false}
positive-externality-rpc= { path="../pallets/positive-externality/positive-externality-rpc", default-features = false}

# Project tip rpc
project-tips-runtime-api = {path="../pallets/project-tips/project-tips-runtime-api", default-features = false}
project-tips-rpc= { path="../pallets/project-tips/project-tips-rpc", default-features = false}



[build-dependencies]
Expand Down
71 changes: 0 additions & 71 deletions pallets/positive-externality-validation/src/extras.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "positive-externality-validation"
name = "positive-externality"
version = "4.0.0-dev"
description = "FRAME pallet template for defining custom runtime logic."
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
Expand Down
File renamed without changes.
15 changes: 15 additions & 0 deletions pallets/positive-externality/positive-externality-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "positive-externality-rpc"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
sc-rpc = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-api = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-runtime = { default-features = false, version = "7.0.0", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
positive-externality-runtime-api = { default-features= false, path="../positive-externality-runtime-api"}
Loading

0 comments on commit 481cdc9

Please sign in to comment.