Skip to content

Commit

Permalink
Regenerate code from specification file (#647)
Browse files Browse the repository at this point in the history
Co-authored-by: Algorand Generation Bot <[email protected]>
  • Loading branch information
github-actions[bot] and algo-dev-service authored Jun 25, 2024
1 parent 3f77145 commit a55d63f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/v2/common/models/simulate_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ type SimulateRequest struct {
// transaction group.
ExtraOpcodeBudget uint64 `json:"extra-opcode-budget,omitempty"`

// FixSigners if true, signers for transactions that are missing signatures will be
// fixed during evaluation.
FixSigners bool `json:"fix-signers,omitempty"`

// Round if provided, specifies the round preceding the simulation. State changes
// through this round will be used to run this simulation. Usually only the 4 most
// recent rounds will be available (controlled by the node config value
Expand Down
4 changes: 4 additions & 0 deletions client/v2/common/models/simulate_transaction_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ type SimulateTransactionResult struct {
// inner app call trace in a recursive way.
ExecTrace SimulationTransactionExecTrace `json:"exec-trace,omitempty"`

// FixedSigner the account that needed to sign this transaction when no signature
// was provided and the provided signer was incorrect.
FixedSigner string `json:"fixed-signer,omitempty"`

// LogicSigBudgetConsumed budget used during execution of a logic sig transaction.
LogicSigBudgetConsumed uint64 `json:"logic-sig-budget-consumed,omitempty"`

Expand Down
4 changes: 4 additions & 0 deletions client/v2/common/models/simulation_eval_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ type SimulationEvalOverrides struct {
// simulation
ExtraOpcodeBudget uint64 `json:"extra-opcode-budget,omitempty"`

// FixSigners if true, signers for transactions that are missing signatures will be
// fixed during evaluation.
FixSigners bool `json:"fix-signers,omitempty"`

// MaxLogCalls the maximum log calls one can make during simulation
MaxLogCalls uint64 `json:"max-log-calls,omitempty"`

Expand Down

0 comments on commit a55d63f

Please sign in to comment.