I started receiving a strange error when trying to mint via Candymachine V2 on my mint page following the latest major version release of the Phantom Wallet (I believe this toe be v23.X).
The mint page used the official repo: https://github.com/metaplex-foundation/candy-machine-ui/tree/main/src
I was using the minting UI with CIVIC gatekeeper. Accepting the transaction to receive the CIVIC id token worked fine.
However, I am receiving the following errors when it proceeds to the actual mint-interaction:
1st: Transactions reverted during simulation
2nd: Once I Approve the above dialog the console returns the following 'Rejected via Websocket Error' indicating a concern with the instructions
3rd: The Solscan record appears to suggest 'Failing and Halting Here due to an extra unauthorized instruction'.
I investigated the instructions, and can't see how their construction differs from the candy-machine-ui. I spent hours sifting through the code and no idea what could be causing it.
Has someone experienced anything similar? Any pointers would be tremendously appreciated.