Closed kespinola closed 6 months ago
Few mentions of the above points as I was responsible for writing this list
These changes look good, it would also be good to add a distribution account verification to the approve instruction in WNS if possible. Just need to check the PDA derivation is correct manually.
I'm guessing checking PDAs would require the bump be stored somewhere and not relying on anchor's generation @balmy-gazebo. In that case, we might need to add a bump
field in the distribution account to check the seeds. Please do correct me if I'm wrong.
(Edit: I just checked through a simple program testing multiple times and since bump is expecting as a dynamic value, different addresses are generated and creating a seed constraint error) @balmy-gazebo
Over the last 2 weeks the ABK Labs team has been ramping up on the WNS protocols. We have a list of recommend protocol changes.
WNS
DISTRIBUTION