pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using the Cosmos SDK
MIT License
15 stars 8 forks source link

[Protocol] Add a `NumBlocksPerSession` governance parameter #517

Closed Olshansk closed 4 months ago

Olshansk commented 5 months ago

Objective

Implementation of NumBlocksPerSessionwithout hacky tech debt.

Origin Document

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

const (
    // TODO_BLOCKER: Remove direct usage of these constants in helper functions
    // when they will be replaced by governance params
    NumBlocksPerSession = 4

Goals

Deliverables

Reminder: This can be multiple PRs

Non-goals / Non-deliverables


Creator: @Olshansk Co-Owners: @bryanchriswhite