This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
grandpa: report equivocations #3868
Merged
Merged
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
df8a6d4
session: runtime api for generating session membership proofs
andresilva a94834e
grandpa: add runtime api for creating equivocation report txs
andresilva 30213e4
grandpa: submit signed equivocation report transactions
andresilva 071b3f4
grandpa: use proper equivocation report type
andresilva 6d98987
grandpa: report equivocations
andresilva 9df0d4d
grandpa: validate equivocation proof
andresilva e4435d7
grandpa: update to finality-grandpa 0.9.1
andresilva 0497a8a
grandpa: fix encoding of session membership proof
andresilva b8c1c99
grandpa: initialize set id session mapping for genesis session
andresilva 18b0d9d
grandpa: fix bug in set_id session validation
andresilva 4848cc3
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva c0d5453
fix compilation
andresilva 97770a5
cleanup from merge conflicts
andresilva d395ff6
cleanup crate tomls
andresilva 3962bb0
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva a31208c
grandpa: refactor equivocation handling to separate trait
andresilva 3d3ef58
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 4d0b227
node-template: fix compilation
andresilva 8e0cbf6
fix test compilation
andresilva 2cc3d7f
bump finality-grandpa to v0.10.2
andresilva beb09d5
rpc: fix runtime version test
andresilva b9c1651
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva d2f0a7f
CHERRY-PICK #4200: Add documentation to SubmitSignedTransaction and a…
andresilva 044c7f0
grandpa: skip block initialization on report submission method
andresilva 17af714
primitives: allow transaction pool access by default for offchain calls
andresilva 29e4f94
grandpa: unused parameters
andresilva e69c86e
grandpa: remove unused method
andresilva 856087d
grandpa: enable equivocation reporting
andresilva 4e4a27b
grandpa: add workaround for parameter encoding
andresilva 47aab63
grandpa: fix localized_payload calls in tests
andresilva 8fc3cd3
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva da9d216
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 721baad
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 44b3fde
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 9e1586e
fix submit_report_equivocation_extrinsic in runtimes
andresilva a3c62ea
node: fix submit transaction test compilation
andresilva bd814e7
node: bump spec_version
andresilva 9ac2c45
rpc: fix api version test
andresilva 2059062
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva ec2c737
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva ee3f6b0
grandpa: allow custom equivocation offence type
andresilva 45d2550
grandpa: add test for authorities::next_change_height
andresilva 3b4c910
grandpa: cleanup report_equivocation function
andresilva aced659
node: move reporting app crypto to node-primitives
andresilva 1c3d8a0
grandpa: move equivocation traits to own module
andresilva 45d6d9d
grandpa: rename app-crypto crate import
andresilva a04d98c
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 34a89c2
grandpa: export equivocation types
andresilva bcc0497
node: bump spec_version
andresilva 2c8e808
grandpa: rename EquivocationReport to EquivocationProof
andresilva bea38e7
grandpa: add missing docs to primitives
andresilva c182781
grandpa: add missing docs to equivocation
andresilva 0ee7249
node: fix compilation
andresilva 18ad970
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 237f516
grandpa: add missing docs to pallet
andresilva a99bea6
node: bump spec_version
andresilva 443856b
fix whitespace
andresilva f8459bc
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 6372736
grandpa: return error on offence reporting
andresilva 2f05c6d
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 6828d57
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 18eb560
grandpa: expose session and validator count in proofs through traits
andresilva 9a04120
grandpa: use strong key in module KeyOwnerProofSystem
andresilva 5be01ef
grandpa: move key ownership proof to grandpa runtime api
andresilva 5a24915
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva d3304fe
grandpa: remove unnecessary cloning when checking equivocation proof
andresilva 71d60de
grandpa: make report_equivocation a method in Environment
andresilva bd4c74f
support: implement KeyOwnerProofSystem for ()
andresilva 668363f
grandpa: move KeyOwnerProofSystem to module trait
andresilva 7658f31
test-utils: fix runtime compilation
andresilva 97d8fb8
grandpa: fix test compilation
andresilva 7926ab9
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 712c78d
grandpa: fix test compilation after merge
andresilva ae2f6bf
grandpa: simplify transaction submission types
andresilva b6ef6e3
grandpa: validate equivocation report in signed extension
andresilva 7d3cfd7
client: fix test
andresilva a15f483
node: use ValidateEquivocationReport signed extension
andresilva dca1a80
grandpa: expose key ownership proof under opaque type
andresilva f686072
grandpa: better docs on key ownership proofs
andresilva a91c2eb
grandpa: add note about signed extension
andresilva a3e8314
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 88d4f32
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 837ebbf
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva ca43f21
grandpa: add ValidateEquivocationReport::new
andresilva 75ec8e8
grandpa: remove skip_initialize_block from runtime api
andresilva e787d7f
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva ea73e51
grandpa: use new offchain transaction submission API
andresilva 4468c00
grandpa: take set_id in generate_key_ownership_proof
andresilva e8981b7
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva 873fe19
grandpa: update to finality-grandpa v0.12.2
andresilva 207e0dc
grandpa: cleanup usages of AuthoritySet::current
andresilva 94990ce
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva a237061
grandpa: fix test
andresilva 769d1d5
grandpa: add mocking utilities for equivocation reporting
andresilva f66ba8b
grandpa: add test for equivocation reporting
andresilva 76eeee1
grandpa: move SetIdSession initialization
andresilva 34e4040
grandpa: add more tests
andresilva b34ebde
node: enable historical session manager
andresilva 999b671
node: bump spec_version
andresilva 7f08cc1
node: use strong key types in KeyOwnerProofSystem definitions
andresilva ee614f1
Merge branch 'master' into andre/report-grandpa-equivocations
andresilva d390b74
grandpa: export GrandpaEquivocationOffence type
andresilva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in
dev-dependencies
,pallet-grandpa
just used in tests.