-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes HAL-003 > ## Description > In order to participate in a token locking process, a user needs to first invoke the process_init entry point. > > This entry point will create an account with the necessary size to store the information provided in the next step of the process, process_create . > > The current version of this program is not checking that the provided System Program and Rent Sysvar accounts corresponds to the correct accounts, provided by the Solana Rust SDK. > > Although there was not risk identified due to this lack of restrictions, it is a good practice to implement this validations to prevent any unexpected attack vector that might appear later.
- Loading branch information
1 parent
d4f9644
commit 7e7cde4
Showing
2 changed files
with
102 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters