@anchorlang 0.21.0 is out! And there are quite a few new, as well as breaking changes. So, make sure you read the CHANGELOG before updating 🤓
Here's a couple of changes I've been looking forward to, 👇
In previous versions, if you wanted to pass in a PDA derived from another program, you would've had to manually check the account key as shown below,
Now with @anchorlang 0.21.0, all you need to do is add a new Account Constraint! It looks something like this,
With @anchorlang 0.21.0, you can forget about passing around bumps to your instructions! You can now get the bumps for all the PDAs declared in your Context.
Have a look,
That's it for this thread! Don't forget to read the CHANGELOG.md, which is here,