Skip to main content
4 events
when toggle format what by license comment
Oct 1 at 12:59 comment added chalda When deriving the account does the stored_program_id match to what you expect?
Oct 1 at 12:04 comment added mega_creamery Yeah, it really perplexed me. Guessing dodgy local validator haha. Had no issues rederiving outside of macros and the fact that it would fail after passing the macro, yet would succeed without the macro and no other changes..
Oct 1 at 11:26 comment added chalda A) I'm not getting how it's possible the program shows some info ('Program log: drift vault 8opHzTAnfzRufv99Kx52Z217GCQ8DB7RNU4SKGFTC1d',) when validation fails on sending the transaction. How it is? B) My first tip would be that the 8opHzTAnfzRufv99Kx52Z217GCQ8DB7RNU4SKGFTC1d is the address derived from the seeds = [b"user_stats", drift_adapter.key().as_ref()] and the program main.stored_program_id and that's the address that mentioned to be expected while a different address is passed in.
Oct 1 at 7:06 history asked mega_creamery CC BY-SA 4.0