Advanced integration testing for Polkadot

Polkadot Infrastructure Vouching
Author: Basti
Created: March 24, 2025
RFP ID: 3

Description

Purpose and goals

The runtimes governed by the Polkadot Technical Fellowship are built using FRAME. FRAME provides a lot of small components, the pallets, when combined together form a runtime.
Each pallet is tested extensively via unit tests. However, the exact behavior of these pallets in the final runtime depends on their configuration in each runtime. So, integration tests are a must. The runtimes themselves provide some integration tests, but their coverage is quite low. The ecosystem tests are integration tests that are tailored for XCM, but could maybe also be extended for other use cases.

More integration tests are clearly needed—end user focused and security focused integration tests. End user focused integration tests should ensure that basic functionality, like sending some tokens, is working as expected, while security focused integration tests should ensure that no combination of transactions can break any invariant of the runtime. While the former is a clear task of collecting requirements and writing tests for these requirements, the latter is not that easy to achieve and requires more advanced integration tests that use fuzzing and/or AI.

So, the goal of this RFP is to provide end user and security focused integration tests.

Budget and scope of work

200K USD worth of DOT, plus 200K USD worth of vested DOTs for bonus payments to be determined. The idea behind the bonus payment is that people doing an extraordinary job get properly rewarded. It should also be prevented that potential security issues found by these tests are abused before being reported and fixed.

The scope of this RFP is:

  • Tooling for writing integration tests
  • Writing actual integration tests
  • Integration into CI/long-running test jobs

Tooling should not be written for the sake of writing tooling. E.g., user-focused integration tests could be built on top of the ecosystem tests infrastructure.

Useful resources

Application process

Applicants will need to:

  1. Prepare an overview of their proposed work.
  2. Reach out on the Polkadot Technical Fellowship - Open Channel to announce/discuss the proposal.
  3. If shortlisted, liaise with Anaelle LTD to prepare a sub-treasury proposal detailing the tasks, costs, and timelines of each milestone. A generic template for Polkadot Treasury proposals is available here.
  4. Once finalised, publish the sub-treasury proposal as a discussion post on Subsquare and announce the sub-treasury proposal in the Fellowship Open Channel. After 14 Days, and provided there is no objection, the sub-treasury proposal will be submitted on-chain for voting.
  5. If approved, claim the first tranche of payment.
  6. Work on the sub-treasury proposal and post regular updates on the original discussion post on Subsquare.
  7. Submit a report for each stage of milestone completion to request the next tranche of payment, until the project is complete.

Links & references

Details

  • Chain: Polkadot
  • Category: Infrastructure
  • Reward: 400000 USD
  • Status: Vouching
Bids (0)
Discussion (0)
Vouchers (0)

Current Bids

This RFP is currently in the Vouching phase. Bidding will open once 10 vouchers have been collected.

Current progress: 0 / 10 vouchers


Discussion

No discussions have been started for this RFP yet. Be the first to start a conversation!

Vouchers

No vouchers have been added for this RFP yet.

This RFP needs 10 vouchers to move to the bidding phase.

Actions

RFP Timeline

Overall Progress: 0%
RFP Created
March 24, 2025
Vouching Phase
In Progress (0/10)
Bidding Phase
Pending
OpenGov Phase
Pending
Implementation
Pending
Completed
Pending

RFP Details

Funding Target
400000 USD
Timeline
2-3 months
Category
Infrastructure
RFP Hash
ad74c3e86b2179e0296dd8bbb71f6e94818fd21c90a0de20fbbd4f58a7583363