changes suggested by ripatel

This commit is contained in:
Godmode Galactus 2023-05-02 07:07:19 +02:00
parent 349bad9b67
commit 910c6dfbbe
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 9 additions and 10 deletions

View File

@ -70,8 +70,8 @@ The following criteria should be met to choose a restart slot.
In Solana client `hard fork` variable satisfies nearly all the conditions except In Solana client `hard fork` variable satisfies nearly all the conditions except
it is not indicative of slow block, it is a good candidate. it is not indicative of slow block, it is a good candidate.
The syscall and sysvar will be available in architectures eBPF and SBF. Only the The syscall and sysvar will be available in architectures eBPF and SBF.
sysvar will be available from architectures SBFv2. For now, this functionality is left undefined in program runtime v2.
### Feature Gate ### Feature Gate
@ -79,8 +79,8 @@ This feature should be protected by the feature gate this is because this
feature can create differences in consensus. Solana core developers should feature can create differences in consensus. Solana core developers should
create a new keypair and use it to enable this feature on the cluster. create a new keypair and use it to enable this feature on the cluster.
Upon activation, the functionality described below immediately becomes Upon activation, the functionality described below becomes available in the next
available. epoch.
### Creation of a new sysvar ### Creation of a new sysvar
@ -128,13 +128,12 @@ COMPUTE_UNITS_LIMIT = 2 * COMPUTE_UNIT_TO_US_RATIO
## Impact ## Impact
Programs will start using this new syscall to correctly address the security Programs managing time-sensitive states may upgrade to use this syscall to
concerns during network restart. This will increase the reliability of solana better manage exceptional events like restarts. We expect this change to improve
cluster as a whole and make program developers more confident to handle edge the robustness of Solana's financial markets as outlined above.
cases during such extreme events.
As the method is syscall the developers do not need to pass any new Programs will need to be recompiled and redeployed (upgraded) to adopt this
accounts or sysvars to the instruction to use this feature. feature. Interface changes (e.g. account inputs) are not required.
## Security Considerations ## Security Considerations