Commit 63929a7 Tyera Eulberg
committed
1 parent 71d5209 commit 63929a7 Copy full SHA for 63929a7
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,14 @@ instead of scanning an unknown number of blocks.
97
97
98
98
## Security Considerations
99
99
100
- Like traditional sysvars, the new accounts should only be loadable as read-only.
101
- How this would be accomplished depends on the outcome of SIMD 0105.
100
+ Like traditional sysvars, the partitioned-rewards data PDAs should only be
101
+ loadable as read-only. Read-write loads cannot interfere with instantiation of
102
+ these accounts, since the runtime writes to sysvars before any write locks can
103
+ be taken; however, they could make it difficult for users to read from the
104
+ account on-chain. SIMD 0105 defines a method for demoting sysvar write locks,
105
+ but depends on a list of static addresses. If write-lock handling of dynamically
106
+ addressed sysvars like these PDAs seems needed in the future, a new proposal
107
+ should be introduced.
102
108
103
109
## Backwards Compatibility
104
110
You can’t perform that action at this time.
0 commit comments