-
Notifications
You must be signed in to change notification settings - Fork 529
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
add frontier-pos-template-m1 #1235
Conversation
Thanks for the delivery, @weimeme. Sorry for the delay, but most of the team is out of office over the holidays, so it'll take another week at least before someone can have a look. |
Hi @weimeme sorry for the delay, I have started the evaluation and will let you know if I have any comments/questions. |
@keeganquigley Very excited! We're also happy to let you known that two public chains developed based on this project template will be launching soon. The Polkadot ecosystem is attracting more and more teams. |
@weimeme awesome happy to hear it! So I'm able to compile and run the node but when I run the unit tests with Tarpaulin I get the following error: Compiling common-runtime v0.1.0 (/home/ubuntu/frontier-pos-template/runtime/common)
Compiling node-rpc v3.0.0-dev (/home/ubuntu/frontier-pos-template/node/rpc)
Compiling substrate-test-runtime-client v2.0.0 (https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.13.0#d5160c1d)
Compiling sc-service-test v2.0.0 (https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.13.0#d5160c1d)
error: could not compile `staging-node-cli` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `kitchensink-testnet-runtime` (lib test) due to 2 previous errors; 2 warnings emitted
2025-01-14T23:24:40.614706Z ERROR cargo_tarpaulin: Failed to compile tests!
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/ubuntu/.rustup/toolchains/1.80.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux I get the same thing when I run regular |
Additionally, when I try to run with Docker Compose I get the following:
Could you update the .yaml file? |
@keeganquigley This seems to be due to an environment problem. I would like to know what OS you are using? |
In order to facilitate development, I made some updates to Docker a few days ago. I will rebuild and push it today, and I will also conduct basic tests. |
rust: 1.80 install envirenment
|
@keeganquigley
|
@keeganquigley |
@keeganquigley I noticed you encountered errors when running cargo clippy. I have updated the tutorial, you can just follow the commands provided here https://github.com/ChainSupport/frontier-pos-template/blob/main/docs/tutorial.md#cargo-clippy |
Regarding unit test coverage, we only need to focus on |
The low test coverage of the babe-consensus-data-provider module is due to my thorough research of both the babe module and moonbeam's pending-consensus-data-provider during development. I decided to directly adopt most methods from the babe module. Only the VRF generation and verification need to be tested, and this part of the unit testing has already been implemented at https://github.com/ChainSupport/frontier-pos-template/blob/main/client/babe-consensus-data-provider/src/lib.rs#L251.Actually, all of my personally added new code has been thoroughly tested. |
The explanation for this part has been added to the documentation https://github.com/ChainSupport/frontier-pos-template/blob/main/client/babe-consensus-data-provider/src/lib.rs#L18 |
Thanks @weimeme sounds good, will try the above commands. Thanks for responding to my eval notes too. |
Thanks for your patience @weimeme while I ran a control experiment with regular Frontier template node to make sure the issues weren't on my end. I am running Ubuntu 20.04. But you saw my notes and fixed it anyway. Thanks also for explanations on the unit tests. Everything is working now, I was finally able to add the network manually in MetaMask and transfer UNIT balance, as well as use Remix. Thanks for the nice work! Here is my final evaluation. |
🪙 Please fill out the invoice form in order to initiate the payment process. Thank you! |
We noticed that this is the last milestone of your project. Congratulations on completing your grant! 🎊 |
@keeganquigley @semuelle @PieWol I have submitted the invoice. If there are any issues, please let me know immediately. Thank you again. |
hi @weimeme I see on the DOT invoice you specify Assethub as target chain. Since the DOTs are vested you won't be able to transfer/teleport them, and thus staking wouldn't be possible - should we instead send the DOT to the same address on Polkadot? |
yes
…On Fri, Jan 24, 2025 at 3:44 PM RouvenP ***@***.***> wrote:
hi @weimeme <https://github.com/weimeme> I see on the DOT invoice you
specify Assethub as target chain. Since the DOTs are vested you won't be
able to transfer/teleport them, and thus staking wouldn't be possible -
should we instead send the DOT to the same address on Polkadot?
—
Reply to this email directly, view it on GitHub
<#1235 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJZKULDKGRYTWEYM36HXEL32MHVPHAVCNFSM6AAAAABT6OJR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHA3DIMBYGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You can send DOT to the address of the Polkadot chain.
…On Sat, Jan 25, 2025 at 12:38 AM meme wei ***@***.***> wrote:
yes
On Fri, Jan 24, 2025 at 3:44 PM RouvenP ***@***.***> wrote:
> hi @weimeme <https://github.com/weimeme> I see on the DOT invoice you
> specify Assethub as target chain. Since the DOTs are vested you won't be
> able to transfer/teleport them, and thus staking wouldn't be possible -
> should we instead send the DOT to the same address on Polkadot?
>
> —
> Reply to this email directly, view it on GitHub
> <#1235 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BJZKULDKGRYTWEYM36HXEL32MHVPHAVCNFSM6AAAAABT6OJR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHA3DIMBYGI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Thank you very much for your thoughtfulness. Sending it to Polkadot chain
will be more useful to me. Thanks!
…On Sat, Jan 25, 2025 at 7:27 AM meme wei ***@***.***> wrote:
You can send DOT to the address of the Polkadot chain.
On Sat, Jan 25, 2025 at 12:38 AM meme wei ***@***.***> wrote:
> yes
>
> On Fri, Jan 24, 2025 at 3:44 PM RouvenP ***@***.***> wrote:
>
>> hi @weimeme <https://github.com/weimeme> I see on the DOT invoice you
>> specify Assethub as target chain. Since the DOTs are vested you won't be
>> able to transfer/teleport them, and thus staking wouldn't be possible -
>> should we instead send the DOT to the same address on Polkadot?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1235 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/BJZKULDKGRYTWEYM36HXEL32MHVPHAVCNFSM6AAAAABT6OJR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHA3DIMBYGI>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***>
>>
>
|
Hi, I would like to ask if it is possible to receive this payment before
the 28th. It is very important to me. I hope to receive this payment before
the Chinese New Year. Thank you again.
…On Sat, Jan 25, 2025 at 11:14 AM meme wei ***@***.***> wrote:
Thank you very much for your thoughtfulness. Sending it to Polkadot chain
will be more useful to me. Thanks!
On Sat, Jan 25, 2025 at 7:27 AM meme wei ***@***.***> wrote:
> You can send DOT to the address of the Polkadot chain.
>
> On Sat, Jan 25, 2025 at 12:38 AM meme wei ***@***.***> wrote:
>
>> yes
>>
>> On Fri, Jan 24, 2025 at 3:44 PM RouvenP ***@***.***>
>> wrote:
>>
>>> hi @weimeme <https://github.com/weimeme> I see on the DOT invoice you
>>> specify Assethub as target chain. Since the DOTs are vested you won't be
>>> able to transfer/teleport them, and thus staking wouldn't be possible -
>>> should we instead send the DOT to the same address on Polkadot?
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#1235 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/BJZKULDKGRYTWEYM36HXEL32MHVPHAVCNFSM6AAAAABT6OJR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHA3DIMBYGI>
>>> .
>>> You are receiving this because you were mentioned.Message ID:
>>> ***@***.***>
>>>
>>
|
hi @weimeme yes, we will send it within the next 2-3 hours. I will let you know as soon as done. |
hello again @weimeme, we executed the transfer. |
Milestone Delivery Checklist
Link to the application pull request: https://github.com/w3f/Grants-Program/blob/master/applications/frontier-pos-template.md