Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Extra requirements for claimants #1091

Merged
merged 28 commits into from
May 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
92231e0
Introduce mandatory statement signing into claims
gavofyork May 11, 2020
085ca12
Introduce SignedExtension
gavofyork May 11, 2020
235ed97
Tests passing
gavofyork May 11, 2020
1a2a293
Bump runtime version
gavofyork May 13, 2020
2b64c91
Merge remote-tracking branch 'origin/master' into gav-claims-with-sig
gavofyork May 13, 2020
e4ee51c
Bump version, fix test
gavofyork May 13, 2020
3c3d2ad
Test for validate
gavofyork May 14, 2020
577407a
Another couple of tests
gavofyork May 14, 2020
e550ef0
Enable PrevalidateAttests on Polkadot
gavofyork May 14, 2020
07eec25
Enable PrevalidateAttests on Polkadot
gavofyork May 14, 2020
d3c34ac
Merge remote-tracking branch 'origin/master' into gav-claims-with-sig
gavofyork May 14, 2020
b9526dc
Fix build
gavofyork May 14, 2020
a918c2f
Fixes
gavofyork May 15, 2020
5cc2854
Merge remote-tracking branch 'origin/master' into gav-claims-with-sig
gavofyork May 15, 2020
b47b748
More fixes
gavofyork May 15, 2020
3445735
Fix bench tests
shawntabrizi May 15, 2020
4912d2b
Fix & test Preclaim clobbering.
gavofyork May 15, 2020
6ecbb59
Fix for errant claim logic
gavofyork May 15, 2020
f48b17f
Merge branch 'gav-claims-with-sig' of github.com:paritytech/polkadot …
gavofyork May 15, 2020
8e9939d
Add test
gavofyork May 15, 2020
0004544
Update tests, always use Vec as input
shawntabrizi May 15, 2020
c4262b3
mint_claim can add signature, some_benchmarks
shawntabrizi May 15, 2020
d61bfff
Add claim with statement test
shawntabrizi May 15, 2020
825479a
finish benchmarks
shawntabrizi May 15, 2020
abb5666
put the correct number of claims with benchmarks
shawntabrizi May 15, 2020
a0d69d7
fix compiler warning
shawntabrizi May 15, 2020
25ac2ea
Update weights
shawntabrizi May 16, 2020
3a0af7b
Weight comments for validation
shawntabrizi May 16, 2020
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
38 changes: 19 additions & 19 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 @@ -4,7 +4,7 @@ path = "src/main.rs"

[package]
name = "polkadot"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion availability-store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "polkadot-availability-store"
description = "Persistent database for parachain data"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-cli"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot Relay-chain Client Node"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion collator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-collator"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Collator node implementation"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion erasure-coding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-erasure-coding"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-network"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot-specific networking protocol"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion parachain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-parachain"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion parachain/test-parachains/adder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-parachain-adder"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which adds to a number as its state transition"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion parachain/test-parachains/halt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-parachain-halt"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which executes forever"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-primitives"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
4 changes: 3 additions & 1 deletion primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@ pub use runtime_primitives::OpaqueExtrinsic as UncheckedExtrinsic;
/// Custom validity errors used in Polkadot while validating transactions.
#[repr(u8)]
pub enum ValidityError {
/// The ethereum signature is invalid.
/// The Ethereum signature is invalid.
InvalidEthereumSignature = 0,
/// The signer has no claim.
SignerHasNoClaim = 1,
/// No permission to execute the call.
NoPermission = 2,
/// An invalid statement was made for a claim.
InvalidStatement = 3,
}

impl From<ValidityError> for u8 {
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-rpc"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polkadot-runtime-common"
version = "0.7.33"
version = "0.7.34-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
Loading