Closed esolskjaer closed 2 weeks ago
It's not currently possible to describe math logic for seeds in the IDL.
As a workaround, you can disable the resolution feature in Anchor.toml
:
[features]
resolution = false
Closing, as it's a duplicate of https://github.com/coral-xyz/anchor/issues/2933.
If we try to define a constraint where we put an account in a subscope, anchor will fail to compile with
<account> not found in this scope
. This was not the case in 0.29.0 and is a problem for trying to do things like the following (the error arises in the seeds constraint because we add 1 tofield
ofDemoAcc
in a subscope.