Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
21d108e
skeleton
rphmeier Dec 10, 2020
7c0a083
skeleton aux-schema module
rphmeier Dec 11, 2020
f1308f0
start approval types
rphmeier Dec 11, 2020
6a6c5c0
start aux schema with aux store
rphmeier Dec 11, 2020
7173066
doc
rphmeier Dec 11, 2020
006dfa7
finish basic types
rphmeier Dec 11, 2020
557b518
start approval types
rphmeier Dec 11, 2020
dc55799
doc
rphmeier Dec 11, 2020
fe79b4f
finish basic types
rphmeier Dec 11, 2020
e772603
Merge branch 'master' into rh-approval-types
rphmeier Dec 11, 2020
8c0cef1
write out schema types
rphmeier Dec 11, 2020
5ec3cfb
add debug and codec impls to approval types
rphmeier Dec 11, 2020
f415724
add debug and codec impls to approval types
rphmeier Dec 11, 2020
1088ec3
add debug and codec impls to approval types
rphmeier Dec 11, 2020
3ce7414
getters for block and candidate entries
rphmeier Dec 11, 2020
c9af5a0
grumbles
rphmeier Dec 11, 2020
65f9fed
remove unused AssignmentId
rphmeier Dec 11, 2020
321d43b
Merge branch 'rh-approval-types' into rh-approval-voting
rphmeier Dec 11, 2020
910982a
load_decode utility
rphmeier Dec 11, 2020
76bcfac
implement DB clearing
rphmeier Dec 12, 2020
9a04615
function for adding new block entry to aux store
rphmeier Dec 12, 2020
bc6dcc2
start `canonicalize` implementation
rphmeier Dec 15, 2020
834d776
more skeleton
rphmeier Dec 17, 2020
31e840e
Merge branch 'master' into rh-approval-voting
rphmeier Dec 18, 2020
5d1fafb
Merge branch 'master' into rh-approval-voting
rphmeier Dec 22, 2020
aebfecc
finish implementing canonicalize
rphmeier Dec 23, 2020
7faa0c3
tag TODO
rphmeier Dec 23, 2020
4a49ffb
implement a test AuxStore
rphmeier Dec 23, 2020
0f1a8d6
add allow(unused)
rphmeier Dec 23, 2020
f7d7c49
basic loading and deleting test
rphmeier Dec 23, 2020
0d384f7
block_entry test function
rphmeier Dec 23, 2020
b07f7a9
add a test for `add_block_entry`
rphmeier Dec 23, 2020
ec798fb
ensure range is exclusive at end
rphmeier Dec 23, 2020
10613b4
test clear()
rphmeier Dec 23, 2020
bbe4b0c
test that add_block sets children
rphmeier Dec 23, 2020
a13d54c
add a test for canonicalize
rphmeier Dec 24, 2020
e336e45
Update node/core/approval-voting/src/aux_schema/mod.rs
rphmeier Jan 5, 2021
69fb1b4
Update node/core/approval-voting/src/aux_schema/tests.rs
rphmeier Jan 5, 2021
1e4be6e
Update node/core/approval-voting/src/aux_schema/mod.rs
rphmeier Jan 5, 2021
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
16 changes: 16 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ members = [
"xcm/xcm-builder",
"xcm/xcm-executor",
"node/collation-generation",
"node/core/approval-voting",
"node/core/av-store",
"node/core/backing",
"node/core/bitfield-signing",
Expand Down
21 changes: 21 additions & 0 deletions node/core/approval-voting/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "polkadot-node-core-approval-voting"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
futures = "0.3.8"
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["bit-vec", "derive"] }

polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
polkadot-overseer = { path = "../../overseer" }
polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
bitvec = "0.17.4"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: bitvec should go among the external dependencies, not among the polkadot dependencies.


sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }

[dev-dependencies]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: text files should have trailing newlines.

Loading