Open 0xBigBoss opened 1 year ago
LGTM. Scope and details are 🔥.
Made some small inline nits to the description but otherwise LGTM
@0xBigBoss Wanted to check in if there are any updates or progress on this?
@0xBigBoss Wanted to check in if there are any updates or progress on this?
Do you have an estimate on when you might start working on this?
Trying to plan ahead and carve out time for review in the coming weeks.
@0xBigBoss Wanted to check in if there are any updates or progress on this?
Do you have an estimate on when you might start working on this?
Trying to plan ahead and carve out time for review in the coming weeks.
Hey @Olshansk most likely not until next week, I am trying to outline the scope of this ticket while I am focusing on upgrades.
Objective: Implement MVC E2E Feature Path F.1-4: E2E Feature Flags
Origin Document:
Purpose: Implement the governance-controlled parameters with the ability to add new features, enable, disable, and modify feature values dynamically.
Actors:
Data Structures:
Interfaces:
The persistence module currently has feature flags as part of it's interface.
There should be a simple boolean type flag included in this interface to allow for simple feature flags to be activated or deactivated.
The
MessageChangeGovParameter
message type needs to be handled in the utility module.https://github.com/pokt-network/pocket/blob/12f9f498c8b05a91f4c08c6b27227d94013d9232/utility/unit_of_work/tx_message_handler.go
Diagram:
User Stories as Tests:
Happy Paths:
valid signer
, aheight
, aparam_name
, and aparam_value
. The new parameter takes effect at the specified height. The ACL Owner is able to see the new value when requested.Sad Path:
invalid signer
, avalid height
, aparam_name
, and aparam_value
. The ACL Owner receives an error message saying the signer is not the owner of the parameter or the ACL owner.valid signer
, aninvalid height
, aparam_name
, and aparam_value
. The ACL Owner receives an error message saying theheight is not valid
.valid signer
, avalid height
, aninvalid param_name
, and aparam_value
. The ACL Owner receives an error message saying the parameter namedoes not exist
.valid signer
, avalid height
, avalid param_name
, and aninvalid param_value
. The ACL Owner receives an error message saying the parameter value isnot valid
.Deliverable
General issue deliverables
Testing Methodology
make ...
make ...
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdk8s LocalNet
is still functioning correctly by following the instructions hereCreator: @0xBigBoss Co-owner: @Olshansk