/ tests / expectations / execution / program_core_functions.out
program_core_functions.out
 1  program child.alpha;
 2  
 3  function dummy:
 4  
 5  constructor:
 6      assert.eq edition 0u16;
 7  // --- Next Program --- //
 8  import child.alpha;
 9  program test.alpha;
10  
11  function bar:
12      async bar into r0;
13      output r0 as test.alpha/bar.future;
14  
15  finalize bar:
16      assert.neq checksum child.alpha/checksum;
17      assert.eq edition child.alpha/edition;
18      assert.eq program_owner child.alpha/program_owner;
19  
20  constructor:
21      assert.eq edition 0u16;
22  verified: true
23  status: accepted
24  {
25    "transitions": [
26      {
27        "id": "au1zlph9rjgjvh0w0f25ztldn9ktgln7xzhw2p7tufud78lsnpphg9s79a8km",
28        "program": "test.alpha",
29        "function": "bar",
30        "inputs": [],
31        "outputs": [
32          {
33            "type": "future",
34            "id": "2830144795159410097388196712300234903742763089453232479279901002821385897244field",
35            "value": "{\n  program_id: test.alpha,\n  function_name: bar,\n  arguments: []\n}"
36          }
37        ],
38        "tpk": "5284609865564132093347224778056591895184410323243253614423496030005707308355group",
39        "tcm": "7103811041439417745319663604957027273886603687770675752281064201434298169800field",
40        "scm": "7590082706830837988434962777194004427398370905191454924832312766866084361972field"
41      }
42    ],
43    "global_state_root": "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu"
44  }
45