Presently, only attestations that are included in blocks are included in fork choice.
They were not implemented in the fork-choice refactor (#398), instead we deferred them for later implementation.
Attestations provided to the process_attestation function should be validated and provided to the ForkChoice struct.
BeaconState from disk for each attestation. A better implementation would attempt to use the present, canonical state prior to loading from disk. I imagine the majority of attestations would be current and could be validated against the present state, it would be good to optimize for this scenario.Hey @paulhauner, is it cool if I pick this one up?
Please do! I think this will be a good one for you.
We're in the process of updating to the "frozen" spec (v0.8.0) but I don't think that'll affect you. In the worst case I imagine there will be a small merge conflict at some point -- nothing to worry about.
If you need anything, @michaelsproul and I are happy to help!
@g-r-a-n-t Funded this via our the EF budget and reserved for you. Please 'Start Work' whenever you can 🙂 good luck!
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__Work has been started__.
These users each claimed they can complete the work by 10 months, 3 weeks from now.
Please review their action plans below:
1) g-r-a-n-t has been approved to start work.
Complete what's been discussed on the ticket and WIP PR.
Learn more on the Gitcoin Issue Details page.
@g-r-a-n-t 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
@gitcoinbot wrapping this up
@g-r-a-n-t 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
@gitcoinbot Waiting on a review.
@g-r-a-n-t 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
@gitcoinbot The commits are making their way in.
@gitcoinbot please feel free to payout this issue :)
Thanks @g-r-a-n-t and @gitcoinbot!
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__Work for 550.0 DAI (550.0 USD @ $1.0/DAI) has been submitted by__:
@vs77bb please take a look at the submitted work:
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__The funding of 550.0 DAI (550.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @g-r-a-n-t.__
Most helpful comment
Please do! I think this will be a good one for you.
We're in the process of updating to the "frozen" spec (v0.8.0) but I don't think that'll affect you. In the worst case I imagine there will be a small merge conflict at some point -- nothing to worry about.
If you need anything, @michaelsproul and I are happy to help!