Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RFPs #2003

Merged
merged 10 commits into from
Sep 26, 2023
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Multi-chain Block Explorer

* **Status:** Open
* **Status:** [Implemented 1](https://github.com/colorfulnotion/polkaholic), [Implemented 2](https://polkadot.subscan.io/)
* **Teams/People that could deliver the RFP:** @clearloop, @carlhong

## Project Description :page_facing_up:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Privacy Enhancement for Polkadot Extension

* **Status:** [Under Development](https://github.com/w3f/Grants-Program/blob/master/applications/polkadot-js-extension-per-account-auth.md)
* **Status:** [Implemented](https://github.com/w3f/Grants-Program/blob/master/applications/polkadot-js-extension-per-account-auth.md). GH [issue](https://github.com/polkadot-js/extension/issues/1037) has been closed.
* **Proposer:** jonasW3F
* **Projects you think this work could be useful for** [optional]: https://github.com/polkadot-js/extension
* **Teams/People that could deliver the RFP:** @celrisen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SCALE Codec Comparator

* **Status:** [In progress](https://github.com/arijitAD/dotscale) for Golang, submissions for other languages welcome, [Under Development](https://github.com/w3f/Grants-Program/blob/master/applications/scale-codec-comparator.md)
* **Status:** [Implemented for ten encoding types](https://github.com/w3f/Grants-Program/blob/master/applications/scale-codec-comparator.md)
* **Proposer:** [Marcin Górny](https://github.com/mmagician/)

## Project Description :page_facing_up:

To date, there are [9 published](https://substrate.dev/docs/en/knowledgebase/advanced/codec#implementations) implementations of the SCALE Codec. Since each is implemented by a different team & [the reference implementation](https://github.com/paritytech/parity-scale-codec) still introduces small fixes, it would be beneficial to compile a table of feature-completeness.
To date, there are [9 published](https://docs.substrate.io/reference/scale-codec/) implementations of the SCALE Codec. Since each is implemented by a different team & [the reference implementation](https://github.com/paritytech/parity-scale-codec) still introduces small fixes, it would be beneficial to compile a table of feature-completeness.
This would provide (some) assurance that the implementation in a given language is safe & sound to use.

One approach would be to provide wrappers to the Rust reference implementation, like in [scale.rb](https://github.com/itering/scale.rb/blob/develop/src/lib.rs) and using the Foreign Function Interface (e.g. [here](https://github.com/itering/scale.rb/blob/develop/spec/ffi_helper.rb)) to call these directly from within the library.
Expand All @@ -24,7 +24,7 @@ Stage 2: To take this a step further, a GitHub action could be integrated to run
* **FTE:** 1
* **Costs:** ~ 10,000 DAI

For each library listed on [substrate.dev](https://substrate.dev/docs/en/knowledgebase/advanced/codec#implementations):
For each library listed on [substrate.dev](https://docs.substrate.io/reference/scale-codec/):
* Create a PR, providing a FFI to Rust's reference implementation.
* Ensure feature completeness, by ensuring there are comprehensive unit tests for each data type.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Static Analysis of Runtime Pallets
* **Status:** [Under Development](https://github.com/w3f/Grants-Program/blob/master/applications/sarp-basic-functionality.md)
* **Status:** [Implemented](https://github.com/w3f/Grants-Program/blob/master/applications/sarp-basic-functionality.md)
* **Proposer:** [Bhargav Bhatt](https://github.com/bhargavbh), [David Hawig](https://github.com/Noc2)

## Project Description :page_facing_up:

[Runtime Pallets](https://docs.substrate.io/fundamentals/runtime-development/) are modules for writing the business logic of blockchains in [Substrate](https://github.com/paritytech/substrate) (a Rust framework fo rbuilding blockchians). These are usually concise pieces of standalone code with relatively few dependencies and clear specifications, hence tractable targets for performing static analysis and verification. We would like to develop tools and techniques to perform static analysis with reasonable soundness guarantees. In particular, we would like to target vunerability classes that are detectable using dataflow analysis techniques like *tag analysis* and *taint analysis*. Just to give a flavor, relevant might vulnerabilities include:
[Runtime Pallets](https://docs.substrate.io/fundamentals/runtime-development/) are modules for writing the business logic of blockchains in [Substrate](https://github.com/paritytech/polkadot-sdk/tree/master/substrate) (a Rust framework fo rbuilding blockchians). These are usually concise pieces of standalone code with relatively few dependencies and clear specifications, hence tractable targets for performing static analysis and verification. We would like to develop tools and techniques to perform static analysis with reasonable soundness guarantees. In particular, we would like to target vunerability classes that are detectable using dataflow analysis techniques like *tag analysis* and *taint analysis*. Just to give a flavor, relevant might vulnerabilities include:
* [incorrect origin](https://github.com/bhargavbh/MIRAI/blob/main/substrate_examples/incorrect-origin/description.md) of dispatchable functions.
* [unsigned transaction](https://github.com/bhargavbh/MIRAI/blob/main/substrate_examples/unsigned-transaction/description.md) validation.
* tracking bad randomness: ensure bad randomness does not leak into sensitive functions.
Expand Down
2 changes: 1 addition & 1 deletion docs/RFPs/Under Development/raft-validators.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# High-availability validator setup

* **Status:** [Under Development](https://github.com/w3f/Grants-Program/blob/master/applications/High_availability_validator_setup.md)
* **Status:** [Implemented](https://github.com/w3f/Grants-Program/blob/master/applications/High_availability_validator_setup.md)
* **Proposer:** mmagician
* **Projects you think this work could be useful for:** Polkadot & Kusama Validators

Expand Down
Loading