-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Bounty] Stacking Pool #2
Comments
Proposal: I plan to rewrite the Staking Pool into AssemblyScript making sure that they have the same API. I plan to create unit tests and an integration tests in AssemblyScript deploying the contract in As a second test strategy, I plan to use the test harness of the rust contract code, but using the .WASM file from the assemblyscript compilation. It seems that the rust test suite can be applied to a .WASM contract file generated by the AS compiler. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 266 years, 2 months from now. 1) luciotato has been approved to start work. Proposal: I plan to rewrite the Staking Pool into AssemblyScript making sure that they have the same API. I plan to create unit tests and an integration tests in AssemblyScript deploying the contract in testnet, in a similar way the near-cli package test the near call functionality As a second test strategy, I plan to use the test harness of the rust contract code, but using the .WASM file from the assemblyscript compilation. It seems that the rust test suite can be applied to a .WASM contract file generated by the AS compiler. Learn more on the Gitcoin Issue Details page. |
@luciotato I added an example contract and tests. |
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
3 similar comments
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done @luciotato due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Hi Willem!, I'm doing the hackathon. Will resume after that |
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
1 similar comment
@luciotato Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@willemneal I'm stuck because to compute "shares" after a stake, I need to multiply 2 u128 into a u256 (2 big u128, will overflow).- |
NEAR Bounty Terms
Before beginning work on the bounty, you must submit a proposal. Only if your proposal is accepted will you be able to claim the reward of the bounty. In particular for this bounty you need to detail the testing you will use other than unit testing.
There should be at most 1 week between proposal is accepted and you start working on the bounty. It should take you at most 1 month to complete the bounty.
Description
For this bounty you will need to rewrite the Staking Pool into AssemblyScript making sure that they have the same API.
Context
With the new addition of
includeBytes
function in AssemblyScript, near-sdk-as should have enough parity with near-sdk-rs that the core smart contracts should be able to be written in AS. The trickiest part of the contracts are the cross contract calls. Rust provides a high level abstraction for working with promises. For an example for batch promise calls in AS see the sdk's repo here.Relevant repos or issues
Core Contracts
API
Same as rust contracts.
Acceptance Criteria
Bounty
200 DAI
The text was updated successfully, but these errors were encountered: