Remove deprecated literal constraints#21
Remove deprecated literal constraints#21NBNARADHYA wants to merge 1 commit intoproject-serum:masterfrom
Conversation
Signed-off-by: Nikhil B N <nikhilbn365@gmail.com>
|
This repo uses Anchor v0.4.4, which is before the constraint = keyword was added. This should fail to compile. |
@armaniferrante I was gonna ask. Should I change it to a specific version ? |
Nope since that would create an incompatible breaking chnage. The alternative would be to create a branch for the purpose of the anchor test. |
@armaniferrante Sure! If you could create a branch for that, and mention the anchor version to bump it to: I would:
Also, if the tests pass here: solana-foundation/anchor#1441 after making these modifications, should that pr merge to master or some new branch ? |
Signed-off-by: Nikhil B N nikhilbn365@gmail.com
Closes solana-foundation/anchor#901 (Prerequisite to this pr: solana-foundation/anchor#1441
Changes:
#[account("...")]to#[account(constraint = ...)])