Simulate Smart Contract Evaluation on Algorand

June 26, 2023

Simulate Smart Contract Evaluation on Algorand Anne Kenyon · Follow Published in Algorand · · Mar 15 6 min read -- Listen ShareThe release of go-algorand 3.15 introduces a new mode of interaction for Algorand: simulate. However, the data will likely not be very useful to you — it’ll be encoded however the smart contract organized it, so it’ll be gobbledygook. You can read the smart contract to understand the encoding, making it possible to decode Alice’s voting status. Rather than trying to read the smart contract code, why can’t the smart contract just tell us the answer, since it knows how to decode its own data? When evaluating a transaction group, simulate properly tracks the state changes from one transaction to the next in the group.

The source of this news is from Algorand