Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPC for app data rows fetching. #106

Merged
merged 3 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Security CI
on: [push, pull_request]
on: workflow_dispatch # Workflow is available only on manual dispatch

jobs:
check:
Expand Down
39 changes: 20 additions & 19 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions fuzzing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "fuzzing"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

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

[dependencies]
afl = "*"
kate-recovery = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
kate-recovery = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
hex-literal = "0.3.1"

[[bin]]
Expand Down
6 changes: 3 additions & 3 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-avail"
version = "1.3.0"
version = "1.4.0"
description = "Polygon Data Avilability Node."
authors = ["Anonymous"]
homepage = "https://polygon.technology/"
Expand All @@ -18,8 +18,8 @@ name = "data-avail"

[dependencies]
# Internals
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
da-runtime = { path = "../runtime" }
da-control = { path = "../pallets/dactr" }
kate-rpc = { path = "../rpc/kate-rpc" }
Expand Down
6 changes: 3 additions & 3 deletions pallets/dactr/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "da-control"
version = "1.0.0"
version = "1.0.1"
authors = [""]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -12,8 +12,8 @@ description = "Data Avail Control Module"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }

# Substrate
serde = { version = "1.0.126", optional = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion pallets/executive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }

codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [
"derive",
Expand Down
6 changes: 3 additions & 3 deletions pallets/mocked_runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mocked-runtime"
version = "1.0.0"
version = "1.0.1"
authors = [""]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -9,8 +9,8 @@ repository = ""
description = "Mokend Runtime for Testing"

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
da-control = { path = "../dactr" }

scale-info = { version = "1.0", features = ["derive"] }
Expand Down
10 changes: 5 additions & 5 deletions pallets/nomad/da-bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "da-bridge"
version = "1.0.0"
version = "1.0.1"
authors = [""]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -13,8 +13,8 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
# Our crates
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
nomad-home = { path = "../home", default-features = false }

# 3rd-party
Expand All @@ -39,8 +39,8 @@ hex-literal = "0.3.4"
frame-executive = { version = "4.0.0-dev" }
pallet-transaction-payment = { version = "4.0.0-dev" }
da-control = { path = "../../dactr" }
nomad-base = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
merkle = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
nomad-base = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
merkle = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
updater-manager = { path = "../updater-manager" }

[features]
Expand Down
10 changes: 5 additions & 5 deletions pallets/nomad/home/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
# Our crates
signature = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
merkle = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
nomad-base = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
signature = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
merkle = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
nomad-base = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
updater-manager = { path = "../updater-manager", default-features = false }

# 3rd-party
Expand All @@ -39,7 +39,7 @@ hex-literal = "0.3.4"

[dev-dependencies]
ethers-signers = "0.13.0"
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0" }
test-case = "1.2.3"
frame-benchmarking = "4.0.0-dev"

Expand Down
6 changes: 3 additions & 3 deletions pallets/nomad/updater-manager/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "updater-manager"
version = "1.0.0"
version = "1.0.1"
authors = [""]
edition = "2021"
license = "Apache-2.0"
Expand Down Expand Up @@ -29,10 +29,10 @@ primitive-types = { git = "https://github.com/paritytech/parity-common.git", tag
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true }

# Nomad
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
nomad-core = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }

[dev-dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2" }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }

[features]
default = ["std"]
Expand Down
4 changes: 2 additions & 2 deletions pallets/system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false}
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false}
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
# Other
impl-trait-for-tuples = "0.2.1"
static_assertions = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion pallets/system/benchmarking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0-dev", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions rpc/kate-rpc-runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "kate-rpc-runtime-api"
version = "0.1.0"
version = "0.1.1"
authors = ["Denis Ermolin <denis.ermolin@matic.network>"]
edition = "2018"

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

[dependencies]
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", default-features = false }
sp-std = { version = "4.0.0-dev", default-features = false }
Expand Down
7 changes: 4 additions & 3 deletions rpc/kate-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kate-rpc"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -16,8 +16,9 @@ thiserror = "1.0.30"
rs_merkle = { version = "1.2.0", default-features = false }

codec = { package = "parity-scale-codec", version = "2.0.0" }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.2.2", default-features = false }
da-primitives = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }
kate-recovery = { git = "https://github.com/maticnetwork/avail-core.git", tag = "v0.3.0", default-features = false }

frame-system-rpc-runtime-api = "4.0.0-dev"
jsonrpc-core = "18.0.0"
Expand Down
Loading