pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using Rollkit.dev
MIT License
15 stars 6 forks source link

[Protocol] `Claim` & `Proof` Open & Close Windows #516

Closed Olshansk closed 3 weeks ago

Olshansk commented 2 months ago

Objective

Implementation Claim & Proof windows without hacky tech debt.

Origin Document

There are many comments and temporary work around in the code. the following is just one of them:

// TODO_BLOCKER: query the on-chain governance parameter once available.
// `* 3` is just a random factor Olshansky added for now to make sure expiration
// doesn't happen immediately after a session's grace period is complete.
submitProofWindowEndHeight := sessionkeeper.GetSessionGracePeriodBlockCount() * 3

Goals

Deliverables

Reminder: This can be multiple PRs

Non-goals / Non-deliverables


Creator: @Olshansk Co-Owners: @bryanchriswhite