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

Spartan PoC Consensus: Milestone 2 #197

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Spartan PoC Consensus: Milestone 2 #197

merged 1 commit into from
Jun 22, 2021

Conversation

rg3l3dr
Copy link
Contributor

@rg3l3dr rg3l3dr commented Jun 14, 2021

Milestone Delivery Checklist

Link to the application PR: w3f/Grants-Program#357

@Noc2
Copy link
Collaborator

Noc2 commented Jun 14, 2021

Thanks for the delivery. We will look into it as soon as possible.

@semuelle semuelle self-assigned this Jun 21, 2021
@semuelle
Copy link
Member

Hey @rg3l3dr, I'm running into an error running cargo test. Any idea what might be missing here?

error[E0308]: mismatched types
   --> client/consensus/poc/src/tests.rs:481:50
    |
481 |                       let _ = solution_sender.send(Some(Solution {
    |  __________________________________________________^
482 | |                         public_key: FarmerId::from_slice(&keypair.public.to_bytes()),
483 | |                         nonce,
484 | |                         encoding: encoding.to_vec(),
485 | |                         signature: keypair.sign(ctx.bytes(&tag)).to_bytes().to_vec(),
486 | |                         tag,
487 | |                     }));
    | |______________________^ expected struct `sp_consensus_poc::digests::Solution`, found enum `std::option::Option`
    |
    = note: expected struct `sp_consensus_poc::digests::Solution`
                 found enum `std::option::Option<sp_consensus_poc::digests::Solution>`

@rg3l3dr
Copy link
Contributor Author

rg3l3dr commented Jun 22, 2021

Hi @semuelle -- that was a typo from refactoring, we've fixed with this commit. Test will compile and run now.

@semuelle
Copy link
Member

Thanks for following up on the compilation issue, @rg3l3dr. I just pushed my evaluation notes and your milestone is hereby accepted. 🎉

I wasn't able to build the Docker image manually, maybe you could look into that. There is a bunch of uncommented and undocumented code (including tests marked as Milestone 2!), but I can see that there are a lot of changes still happening and this is only milestone 2, so I'll postpone judgement on that until the next one. :)

I will forward your invoice for processing.

@semuelle semuelle merged commit 769ee14 into w3f:master Jun 22, 2021
@RouvenP
Copy link

RouvenP commented Jun 28, 2021

hi @rg3l3dr we transferred the payment for milestone 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants