Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD 0072: Feature Gate Threshold Automation #72

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
013d0e7
feature-gate-threshold-automation init
buffalojoec Oct 12, 2023
9b601c1
bump to 0072
buffalojoec Oct 19, 2023
24bc2c5
address minor corrections
buffalojoec Oct 19, 2023
fa1f218
revise based on related SIMDs
buffalojoec Dec 15, 2023
4a65303
add garbage collection process
buffalojoec Dec 15, 2023
a7d6a49
add PDA details
buffalojoec Dec 15, 2023
843c83e
revise signal cadence
buffalojoec Dec 15, 2023
e513e82
add instruction layout example
buffalojoec Dec 15, 2023
d705e54
add state layout examples
buffalojoec Dec 15, 2023
a63abbb
add multi-sig activation gate
buffalojoec Dec 15, 2023
7a6c3fc
add additional elaboration
buffalojoec Jan 25, 2024
23f1b24
init new version of 0072
buffalojoec Feb 5, 2024
f830338
add reusable support signal PDA
buffalojoec Mar 14, 2024
2fb901b
update to use validator epoch stake syscall
buffalojoec Mar 14, 2024
ab95740
add updates from SIMD 0133
buffalojoec May 9, 2024
1a8f21a
add some context and wording
buffalojoec May 13, 2024
ea129ba
add c struct for PDA layout
buffalojoec May 13, 2024
bb1c797
hard-coded threshold
buffalojoec May 16, 2024
b85755d
change deadline to 4500 slots
buffalojoec May 16, 2024
66e6371
clarity suggestions
buffalojoec May 22, 2024
58cb436
add more program specification
buffalojoec May 22, 2024
da132f7
one PDA per epoch
buffalojoec Jun 3, 2024
4de5abd
remove slots remaining constraint
buffalojoec Jun 3, 2024
072344f
Update proposals/0072-feature-gate-threshold-automation.md
buffalojoec Jun 3, 2024
9296061
instruction clarity
buffalojoec Jun 3, 2024
458b3ac
update `StageFeatureForActivation` instruction
buffalojoec Aug 14, 2024
d9f399d
update `SignalSupportForStagedFeatures` instruction
buffalojoec Aug 14, 2024
b87cadb
update runtime step
buffalojoec Aug 14, 2024
6e74a91
update state init requirement
buffalojoec Dec 9, 2024
4591f55
mark as idea
buffalojoec Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove slots remaining constraint
buffalojoec committed Jun 3, 2024

Verified

This commit was signed with the committer’s verified signature.
commit 4de5abda25c26a11f0ac3bb67b71fd7cb5e68e72
14 changes: 3 additions & 11 deletions proposals/0072-feature-gate-threshold-automation.md
Original file line number Diff line number Diff line change
@@ -200,17 +200,9 @@ Just like the `StageFeatureForActivation` instruction, the Clock sysvar will be
used to ensure the Staged Features PDA corresponding to the *current* epoch was
provided.

Nodes should submit a transaction containing this instruction:

- Any time at least 4500 slots before the end of the epoch.
- During startup after any reboot.

Transactions sent too late (< 4500 slots before the epoch end) will be rejected
by the Feature Gate program.

If a node does not send this transaction or it is rejected, their stake is not
tallied. This is analogous to a node sending this transaction at a valid slot
in the epoch signalling support for zero features.
If a node does not send this transaction successfully during the current epoch,
their stake is not tallied. This is analogous to a node signalling support for
zero features.

If a feature is revoked, the list of staged features will not change, and nodes
may still signal support for this feature. However, the runtime will not