feat: deliver emergent Jajce commitments

This commit is contained in:
Rijad Zuzo
2026-08-12 21:15:58 +02:00
parent dc0f59fcf0
commit 6b50580598
28 changed files with 2145 additions and 206 deletions
+5 -1
View File
@@ -28,6 +28,10 @@ static func create(
return null
if trigger_event_id < NO_EVENT_ID:
return null
var normalized_context := context.duplicate(true)
for integer_key in ["event_id", "opportunity_id"]:
if normalized_context.has(integer_key):
normalized_context[integer_key] = int(normalized_context[integer_key])
return (
SituationStateRecord
. new(
@@ -43,7 +47,7 @@ static func create(
"resolution_event_id": NO_EVENT_ID,
"closed_tick": -1,
"close_reason": "",
"context": context.duplicate(true),
"context": normalized_context,
}
)
)