-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Create Preparing Polkadot pallet_balances for Formal Verification.md #2606
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
Create Preparing Polkadot pallet_balances for Formal Verification.md #2606
Conversation
Inferara Grant application
I have read and hereby sign the Contributor License Agreement. |
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.
@SurfingBowser thanks for your interest in our grant program.
I've got a few questions regarding your application:
- You mention both
pallet_balances
andpallet_assets
in your doc; is this proposal focused on one of the two, or on both of them? - The deliverables are currently very vague, could you add more details on what we can expect? For example, "research findings and results" sounds rather generic.
- If we would sign the grant, what would you envision to be the next step(s) after its completion? Would you continue to work on this, and if yes, in what capacity?
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
@takahser Thank you for the comment and questions.
Our initial interest began with
We have updated the deliverables to include more details. We have notably merged 0d & 0e into one Final Research Article.
Here is a detailed description of how we envision the research steps: Research findings and next steps.Our general plan for the complete research consists of three major phases:
As for capacity, for any future grants we hope to increase the existing team capacity. Such an increase would be from FTE of 1.25 to 2. The increase of capacity opens up the opportunity to involve more individuals into the research project. The scale of the team depends on the grant size of course. |
I have read and hereby sign the Contributor License Agreement. |
I just re-requested for review. |
@SurfingBowser thx for flagging, I'll reply be tomorrow EOD. Sorry for the delay. |
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.
@SurfingBowser thanks for the updates and your patience on this.
The scope is a bit clearer now, but the deliverables are still a bit too abstract. Could you add more details to make it easier for other reviewers to evaluate the milestone later?
In particular, feel free to:
-
Provide concrete examples of what exactly will be delivered.
- e.g. what invariants or properties of
pallet_balances
you will verify or prepare for verification. - What the annotated WASM module will look like (e.g. how heavily annotated, with what kind of commentary, etc.)
- e.g. what invariants or properties of
-
Define clear acceptance criteria so the reviewer of the delivery can confirm when the deliverable is complete later.
- e.g., “grants team can reproduce bytecode from provided steps and match it against the compiled WASM” or similar.
This would make it much easier to assess the success of the milestone and ensure alignment on expectations.
That said, I think it's worth to try your approach, and I'd be willing to add my approval and open your proposal up to other reviewers, once the deliverables are specific enough.
Hello, and thanks again @takahser I have updated the .md file I've added the Specific Deliverables section as seen below. Specific DeliverablesWe are aiming to prepare verification of
The finalized list of formal properties will be refined and re-defined in research artifacts. Regarding compiled module our primary targets for annotation are points of interaction between As for acceptance criteria we propose to use fungible conformance tests that will be executed with the logic preserved and included into the the research repository with the prepared for formal reasoning Below is the updated milestone deliverables table:
Thank you for your support, if there is anything else we can further clarify please let us know. |
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.
@SurfingBowser thanks for the update.
Scope and deliverables are now much better defined. Happy to add my approval here.
@SurfingBowser your application has reached enough votes to get accepted, congratulations! 🎉 In connection with your participation in an ecosystem initiative organised by Web 3.0 Technologies Foundation, you agree to the processing of your personal data for identity verification, in order to prevent fraud, ensure eligibility, and maintain the integrity of our processes. This processing is based on legitimate interests under the EU General Data Protection Regulation and on justified organisational needs under the Swiss Federal Act on Data Protection. Please follow this link to complete the KYB (Know Your Business) process. Your information will be handled in line with the Web3 Foundation Privacy and Cookies Policy and the Sumsub Privacy Notice. |
@takahser Thank you very much for the opportunity to apply our expertise in this research endeavor. I do have one more question. I have seen that the W3F has offered direct fiat payments for grants in the past. Is it still possible to receive payment this way, or is it restricted to private grants? Once again we are looking forward to begin this research. We have begun the KYB process. Is there anything else our team needs to do before proceeding with the grant? |
Also we have passed the KYB screening process 😀 |
Congratulations and welcome to the Web3 Foundation Grants Program! Please refer to our Milestone Delivery repository for instructions on how to submit milestones and invoices, our FAQ for frequently asked questions and the support section on our website for more ways to find answers to your questions. |
Inferara Grant application
Project Abstract
This project is an R&D initiative to further secure Polkadot and subsequent parachains. With the recent increase in discussions of stablecoins across all ecosystem, we observed the benefit of gaining mathematical assurance for the safety of functions within
pallet_assets
for future integration of Circle’s CCTP (Cross Chain Transfer Protocol).Since pallets are an essential part of the Polkadot infrastructure, we want to take a deep look at exactly how the current logic functions.
pallet_balances
is used by every token on Polkadot. Withinpallet_balances
, thefungible
traits are what will be researched specifically.We plan how to apply our Rocq-based framework Inference to Polkadot’s fungible trait set.
Adaptation of the
fungible
trait set for formal verifications within our non-deterministic WASM framework will enable complete trait extraction with validated semantic mapping ready for formal specification.Grant level
Application Checklist
project_name.md
).@_______:matrix.org
(change the homeserver if you use a different one)