Skip to content

Commit 97ab559

Browse files
joe-pjasonpaulos
andauthored
simulate: fix signers (#5942)
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
1 parent 95c9c18 commit 97ab559

File tree

17 files changed

+1788
-1082
lines changed

17 files changed

+1788
-1082
lines changed

daemon/algod/api/algod.oas2.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3944,6 +3944,10 @@
39443944
},
39453945
"exec-trace-config": {
39463946
"$ref": "#/definitions/SimulateTraceConfig"
3947+
},
3948+
"fix-signers": {
3949+
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
3950+
"type": "boolean"
39473951
}
39483952
}
39493953
},
@@ -4287,6 +4291,11 @@
42874291
},
42884292
"unnamed-resources-accessed": {
42894293
"$ref": "#/definitions/SimulateUnnamedResourcesAccessed"
4294+
},
4295+
"fixed-signer":{
4296+
"description": "The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.",
4297+
"type": "string",
4298+
"x-algorand-format": "Address"
42904299
}
42914300
}
42924301
},
@@ -4393,6 +4402,10 @@
43934402
"extra-opcode-budget": {
43944403
"description": "The extra opcode budget added to each transaction group during simulation",
43954404
"type": "integer"
4405+
},
4406+
"fix-signers": {
4407+
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
4408+
"type": "boolean"
43964409
}
43974410
}
43984411
},

daemon/algod/api/algod.oas3.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,6 +2302,10 @@
23022302
"description": "Applies extra opcode budget during simulation for each transaction group.",
23032303
"type": "integer"
23042304
},
2305+
"fix-signers": {
2306+
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
2307+
"type": "boolean"
2308+
},
23052309
"round": {
23062310
"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.",
23072311
"type": "integer"
@@ -2408,6 +2412,11 @@
24082412
"exec-trace": {
24092413
"$ref": "#/components/schemas/SimulationTransactionExecTrace"
24102414
},
2415+
"fixed-signer": {
2416+
"description": "The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.",
2417+
"type": "string",
2418+
"x-algorand-format": "Address"
2419+
},
24112420
"logic-sig-budget-consumed": {
24122421
"description": "Budget used during execution of a logic sig transaction.",
24132422
"type": "integer"
@@ -2494,6 +2503,10 @@
24942503
"description": "The extra opcode budget added to each transaction group during simulation",
24952504
"type": "integer"
24962505
},
2506+
"fix-signers": {
2507+
"description": "If true, signers for transactions that are missing signatures will be fixed during evaluation.",
2508+
"type": "boolean"
2509+
},
24972510
"max-log-calls": {
24982511
"description": "The maximum log calls one can make during simulation",
24992512
"type": "integer"

daemon/algod/api/server/v2/generated/data/routes.go

Lines changed: 215 additions & 213 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

daemon/algod/api/server/v2/generated/experimental/routes.go

Lines changed: 225 additions & 224 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

daemon/algod/api/server/v2/generated/model/types.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

daemon/algod/api/server/v2/generated/nonparticipating/private/routes.go

Lines changed: 60 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)