Skip to content

Commit

Permalink
feat(rs-drive-abci)!: commit and vote extensions signature verificati…
Browse files Browse the repository at this point in the history
…on (#915)
  • Loading branch information
lklimek authored Apr 18, 2023
1 parent 60ba256 commit 56b8de9
Show file tree
Hide file tree
Showing 22 changed files with 473 additions and 249 deletions.
68 changes: 12 additions & 56 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 @@ -12,5 +12,5 @@ members = [
"packages/masternode-reward-shares-contract",
"packages/feature-flags-contract",
"packages/dpns-contract",
"packages/data-contracts"
"packages/data-contracts",
]
61 changes: 36 additions & 25 deletions packages/rs-dpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,57 @@ edition = "2018"
authors = ["Anton Suprunchuk <[email protected]>"]

[dependencies]
anyhow = { version = "1.0.70"}
async-trait = { version = "0.1"}
anyhow = { version = "1.0.70" }
async-trait = { version = "0.1" }
base64 = "0.20.0"
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", branch = "feat/threshold_bindings" }
bs58 = "0.4.0"
byteorder = { version="1.4"}
chrono = { version="0.4.20", default-features=false, features=["wasmbind", "clock"]}
ciborium = { git="https://github.com/qrayven/ciborium", branch="feat-ser-null-as-undefined"}
dashcore = { git="https://github.com/dashpay/rust-dashcore", features=["std", "secp-recovery", "rand", "signer", "use-serde"], default-features = false, branch = "feat/addons" }
env_logger = { version="0.9"}
futures = { version ="0.3"}
getrandom= { version="0.2", features=["js"]}
hex = { version = "0.4"}
integer-encoding = { version="3.0.4"}
itertools = { version ="0.10"}
byteorder = { version = "1.4" }
chrono = { version = "0.4.20", default-features = false, features = [
"wasmbind",
"clock",
] }
ciborium = { git = "https://github.com/qrayven/ciborium", branch = "feat-ser-null-as-undefined" }
dashcore = { git = "https://github.com/dashpay/rust-dashcore", features = [
"std",
"secp-recovery",
"rand",
"signer",
"use-serde",
], default-features = false, branch = "feat/addons" }
env_logger = { version = "0.9" }
futures = { version = "0.3" }
getrandom = { version = "0.2", features = ["js"] }
hex = { version = "0.4" }
integer-encoding = { version = "3.0.4" }
itertools = { version = "0.10" }
json-patch = "0.2.6"
jsonptr = "0.1.5"
jsonschema = { git="https://github.com/fominok/jsonschema-rs", branch="feat-unevaluated-properties", default-features=false, features=["draft202012"] }
lazy_static = { version ="1.4"}
log = { version="0.4"}
jsonschema = { git = "https://github.com/fominok/jsonschema-rs", branch = "feat-unevaluated-properties", default-features = false, features = [
"draft202012",
] }
lazy_static = { version = "1.4" }
log = { version = "0.4" }
num_enum = "0.5.7"
bincode = { version="2.0.0-rc.3", features=["serde"] }
bincode = { version = "2.0.0-rc.3", features = ["serde"] }
rand = { version = "0.8.4", features = ["small_rng"] }
regex = { version="1.5"}
serde = { version="1.0.152", features=["derive"]}
regex = { version = "1.5" }
serde = { version = "1.0.152", features = ["derive"] }
serde-big-array = "0.4.1"
serde_cbor = "0.11.2"
serde_json = { version="1.0", features=["preserve_order"]}
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_repr = { version = "0.1.7" }
sha2 = { version="0.10"}
thiserror = { version = "1.0"}
mockall = { version="0.11.3", optional=true}
sha2 = { version = "0.10" }
thiserror = { version = "1.0" }
mockall = { version = "0.11.3", optional = true }
data-contracts = { path = "../data-contracts" }
platform-value = { path = "../rs-platform-value" }
derive_more = "0.99.17"

[dev-dependencies]
test-case = { version ="2.0"}
tokio = { version ="1.17", features=["full"]}
pretty_assertions = { version="1.3.0"}
test-case = { version = "2.0" }
tokio = { version = "1.17", features = ["full"] }
pretty_assertions = { version = "1.3.0" }

[features]
default = ["fixtures-and-mocks"]
Expand Down
2 changes: 2 additions & 0 deletions packages/rs-drive-abci/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ TENDERDASH_P2P_PORT=26656

QUORUM_SIZE=5
QUORUM_TYPE=llmq_25_67
CHAIN_ID=devnet
BLOCK_SPACING_MS=3000
15 changes: 12 additions & 3 deletions packages/rs-drive-abci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,24 @@ tracing-subscriber = { version = "0.3.16", default-features = false, features =
"ansi",
], optional = true }
atty = { version = "0.2.14", optional = true }
tenderdash-abci = { git = "https://github.com/dashpay/rs-tenderdash-abci", branch = "master", optional = true }
# tenderdash-abci = { path = "/home/lklimek/git/lklimek/tenderdash-abci-rs/abci", optional = true }
tenderdash-abci = { git = "https://github.com/dashpay/rs-tenderdash-abci", optional = true }
# tenderdash-abci = { path = "../../../rs-tenderdash-abci/abci", optional = true }
anyhow = { version = "1.0.70" }
lazy_static = "1.4.0"
itertools = { version = "0.10.5" }

[dev-dependencies]

[features]
default = ["server"]
server = ["tenderdash-abci", "clap", "dotenvy", "tracing-subscriber", "atty", "mockall"]
server = [
"tenderdash-abci",
"clap",
"dotenvy",
"tracing-subscriber",
"atty",
"mockall",
]

[[bin]]
name = "drive-abci"
Expand Down
Loading

0 comments on commit 56b8de9

Please sign in to comment.