package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
MakeSimulator creates a new simulator from a ledger.
# Constants
LogBytesLimit hardcode limit of how much bytes one can log per transaction during simulation (with AllowMoreLogging).
MaxExtraOpcodeBudget hardcode limit of how much extra budget one can add to one transaction group (which is group-size * logic-sig-budget).
ResultLatestVersion is the latest version of the Result struct.
# Structs
EvalFailureError represents an error that occurred during evaluation.
ExecTraceConfig gathers all execution trace related configs for simulation result.
InvalidRequestError occurs when an invalid transaction group was submitted to the simulator.
OpcodeTraceUnit contains the trace effects of a single opcode evaluation.
Request packs simulation related txn-group(s), and configurations that are overlapping the ones in real transactions.
ResourcesInitialStates gathers all initial states of resources that were accessed during simulation.
ResourceTracker calculates the additional resources that a transaction or group could use, and it tracks any referenced unnamed resources that fit within those limits.
Result contains the result from a call to Simulator.Simulate.
ResultEvalOverrides contains the limits and parameters during a call to Simulator.Simulate.
ScratchChange represents a write operation into a scratch slot.
Simulator is a transaction group simulator for the block evaluator.
SimulatorError is the base error type for all simulator errors.
SingleAppInitialStates gathers all relevant application on-chain states, including - Application Box states - Application Global states - Application Local states (which is tied to basics.Address).
StateOperation represents an operation into an app local/global/box state.
TransactionTrace contains the trace effects of a single transaction evaluation (including its inners).
TxnGroupResult contains the simulation result for a single transaction group.
TxnResult contains the simulation result for a single transaction.
# Type aliases
AppKVPairs constructs a KV pair between state key and state value.
AppsInitialStates maintains a map from basics.AppIndex to SingleAppInitialStates.
TxnPath is a "transaction path": e.g.