Skip to content

Commit

Permalink
simulate: fix signers (#5942)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Paulos <[email protected]>
  • Loading branch information
joe-p and jasonpaulos authored Jun 14, 2024
1 parent 95c9c18 commit 97ab559
Show file tree
Hide file tree
Showing 17 changed files with 1,788 additions and 1,082 deletions.
13 changes: 13 additions & 0 deletions daemon/algod/api/algod.oas2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3944,6 +3944,10 @@
},
"exec-trace-config": {
"$ref": "#/definitions/SimulateTraceConfig"
},
"fix-signers": {
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -4287,6 +4291,11 @@
},
"unnamed-resources-accessed": {
"$ref": "#/definitions/SimulateUnnamedResourcesAccessed"
},
"fixed-signer":{
"description": "The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.",
"type": "string",
"x-algorand-format": "Address"
}
}
},
Expand Down Expand Up @@ -4393,6 +4402,10 @@
"extra-opcode-budget": {
"description": "The extra opcode budget added to each transaction group during simulation",
"type": "integer"
},
"fix-signers": {
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
"type": "boolean"
}
}
},
Expand Down
13 changes: 13 additions & 0 deletions daemon/algod/api/algod.oas3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2302,6 +2302,10 @@
"description": "Applies extra opcode budget during simulation for each transaction group.",
"type": "integer"
},
"fix-signers": {
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
"type": "boolean"
},
"round": {
"description": "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 MaxAcctLookback). If not specified, defaults to the latest available round.",
"type": "integer"
Expand Down Expand Up @@ -2408,6 +2412,11 @@
"exec-trace": {
"$ref": "#/components/schemas/SimulationTransactionExecTrace"
},
"fixed-signer": {
"description": "The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.",
"type": "string",
"x-algorand-format": "Address"
},
"logic-sig-budget-consumed": {
"description": "Budget used during execution of a logic sig transaction.",
"type": "integer"
Expand Down Expand Up @@ -2494,6 +2503,10 @@
"description": "The extra opcode budget added to each transaction group during simulation",
"type": "integer"
},
"fix-signers": {
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
"type": "boolean"
},
"max-log-calls": {
"description": "The maximum log calls one can make during simulation",
"type": "integer"
Expand Down
428 changes: 215 additions & 213 deletions daemon/algod/api/server/v2/generated/data/routes.go

Large diffs are not rendered by default.

449 changes: 225 additions & 224 deletions daemon/algod/api/server/v2/generated/experimental/routes.go

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions daemon/algod/api/server/v2/generated/model/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 97ab559

Please sign in to comment.