Timeline for Is there an atomicity problem when using PDA to store user data collection?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 1 at 8:49 | comment | added | chalda | The thing is that the transaction is the atomic unit of work. All instruction within the transaction is executed in order. Then there is the execution of transactions. The Solana runtime runs it in order if the two transactions touch the same accounts. Transactions with different accounts can be run in parallel without interleaving issues. Yes, it cannot happen that the validator that builds the block would run in parallel in two separate execution threads those operations interleaved. | |
Jun 29 at 5:37 | comment | added | user8583445 | thanks very much u answer. so. can i think Are concurrent calls to the same contract executed in order? There will not be a situation where A calls get --> B calls update --> A calls update, with interleaved execution. | |
Jun 27 at 12:57 | history | edited | chalda | CC BY-SA 4.0 |
deleted 55 characters in body
|
Jun 26 at 15:49 | history | answered | chalda | CC BY-SA 4.0 |