You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent newly staked Suppliers from being included in an already started Session and delay their "activation" until the next one starts.
Origin Document
If a Supplier stakes mid-session, there is a possibility of having it included in a Session. This might force Gateways and Applications to updates their Sessions Supplier list at each block.
Goals
Prevent including Suppliers in a Session if this one has already started.
Save the Gateways and Applications the need to update the active Session's Suppliers at each block.
Deliverables
A single PR that:
Adds a field in the Supplier proto to indicate when it is allowed to be included in Sessions.
Use the above info to filter-out Suppliers that are not active yet.
General deliverables
Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
Testing: Add new tests (unit and/or E2E) to the test suite.
Makefile: Add new targets to the Makefile to make the new functionality easier to use.
Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.
bryanchriswhite
changed the title
[Supllier] Delay newly staked Supplier activation until next session
[Suplier] Delay newly staked Supplier activation until next session
Jul 18, 2024
bryanchriswhite
changed the title
[Suplier] Delay newly staked Supplier activation until next session
[Supplier] Delay newly staked Supplier activation until next session
Jul 18, 2024
Objective
Prevent newly staked
Supplier
s from being included in an already startedSession
and delay their "activation" until the next one starts.Origin Document
If a
Supplier
stakes mid-session, there is a possibility of having it included in aSession
. This might forceGateway
s andApplication
s to updates theirSession
sSupplier
list at each block.Goals
Supplier
s in aSession
if this one has already started.Gateway
s andApplication
s the need to update the activeSession
'sSupplier
s at each block.Deliverables
Supplier
proto to indicate when it is allowed to be included inSessions
.Supplier
s that are not active yet.General deliverables
Creator: @red-0ne
The text was updated successfully, but these errors were encountered: