Dan Forbes

Results 69 issues of Dan Forbes

## Task summary - Implement "polite GRANDPA" in Gossamer. Polite GRANDPA is a mechanism that allows participants in the GRANDPA protocol to score one another in order allow participants to...

Epic
S-grandpa

Add tests for [`handleCommitMessage` in `lib/grandpa/message_handler.go`](https://github.com/ChainSafe/gossamer/blob/91e7ffa1b782b126727f4815a9e91a806f1f44a6/lib/grandpa/message_handler.go#L105).

Type: Enhancement
tests
grandpa
W3F Approved

Implement [`ext_trie_keccak_256_root_version_1`](https://spec.polkadot.network/#_version_1_prototype_66) and [`ext_trie_keccak_256_root_version_2`](https://spec.polkadot.network/#_version_2_prototype_11).

runtime
W3F Approved
Type: Feature

Implement the following Keccak Wasm host functions: - [`ext_trie_keccak_256_root`](https://spec.polkadot.network/#_ext_trie_keccak_256_root) - [`ext_trie_keccak_256_ordered_root`](https://spec.polkadot.network/#_ext_trie_keccak_256_ordered_root) - [`ext_trie_keccak_256_verify_proof`](https://spec.polkadot.network/#_ext_trie_keccak_256_verify_proof) Each of these host functions have version 1 & 2 signatures.

Epic
A-triage

Copied from https://github.com/ChainSafe/gossamer/issues/2634#issuecomment-1174497612 Running two nodes: one substrate node with the following log flags: `-lsc_basic_authorship::basic_authorship=trace,sc_basic_authorship::basic_authorship=debug,babe=trace,babe=debug` I and a gossamer node without `--babe-lead` flag I noticed the following behavior: After the...

Type: Bug
p1
BABE
W3F Approved

Implement [`ext_trie_keccak_256_ordered_root_version_1`](https://spec.polkadot.network/#_version_1_prototype_67) and [`ext_trie_keccak_256_ordered_root_version_2`](https://spec.polkadot.network/#_version_2_prototype_12).

runtime
W3F Approved
Type: Feature

Implement [`ext_trie_keccak_256_verify_proof_version_1`](https://spec.polkadot.network/#_version_1_prototype_69) and [`ext_trie_keccak_256_verify_proof_version_2`](https://spec.polkadot.network/#_version_2_prototype_14).

There is a loop when building BABE blocks that is unrestricted. While the slot has not finished, the builder will continue to poll the `transactionState` for new transactions. This is...

Type: Bug
BABE
W3F Approved
Audit: 03 - Low

Refactor and increase test coverage for [`validateVoteMessage` in `lib/grandpa/vote_message.go`](https://github.com/ChainSafe/gossamer/blob/91e7ffa1b782b126727f4815a9e91a806f1f44a6/lib/grandpa/vote_message.go#L119). EDIT: blocked by #2575

Type: Enhancement
tests
grandpa
W3F Approved