You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause is that Solana doesn't have a Merkle Patricie Tree like Ethereum, and it doesn't have methods to get an account state BEFORE the transaction execution.
It just has the RPC method to get not-committed/confirmed/finalized account state.
So the simulator in the following method loads the CURRENT account state:
Program log: AnchorError caused by account: order. Error Code: AccountNotInitialized. Error Number: 3012. Error Message: The program expected this account to be already initialized.
So, to resolve the issue, you should provide the account state that is valid for the transaction execution.
An error occurs when processing some transactions from Mainnet in solana simulator, even though they are successful on Solscan:
Tx link.
Request:
Full log:
Tx link
Request:
Full log:
Calls were made from the host in this file and link to the program logic .
The exact issues occurred in the native Solana simulator.
The text was updated successfully, but these errors were encountered: