Error: anchor build -p bugreport failed:
This is most likely a bug in the Seahorse compiler!
If you want to help the project, you can report this:
- on the Seahorse Discord (http://discord.gg/4sFzH5pus8)
- or as a Github issue (https://github.com/ameliatastic/seahorse-lang/issues).
Thanks!
Compiling bugreport v0.1.0 (/Users/purpleparakeet/work/bugreport/programs/bugreport)
error[E0609]: no field `bump` on type `seahorse_util::Mutable<LoadedProtocol<'info, '_>>`
--> programs/bugreport/src/dot/program.rs:84:26
|
84 | protocol.bump.to_le_bytes().as_ref(),
| ^^^^ unknown field
For more information about this error, try `rustc --explain E0609`.
error: could not compile `bugreport` due to previous error
but when I assign protocol.bump to a variable and pass it in the same way, I get no such message
Context
I wanted to have a tokenMint signed for by a program, so it uses a protocol as the mint and freeze authority
Issue
When trying to pass in the protocol and its bump as signer, I got an error message
output
but when I assign protocol.bump to a variable and pass it in the same way, I get no such message
I think this behavior is surprising, so I'm filing it as a bug.