github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app00-basic_functionality_jobs/deploy.yaml (about)

     1  jobs:
     2  
     3  - name: val1
     4    set:
     5        val: 1234
     6  
     7  - name: less
     8    set:
     9        val: 10000001232
    10  
    11  - name: same
    12    set:
    13        val: 10000001233
    14  
    15  - name: more
    16    set:
    17        val: 10000001234
    18  
    19  - name: receipient
    20    set:
    21        val: 6A3AFFB16BFB95AA547930572D71C460EFBCD857
    22  
    23  - name: sendTxTest1
    24    send:
    25        destination: 58FD1799AA32DED3F6EAC096A1DC77834A446B9C
    26        amount: $val1
    27  
    28  - name: sendTxTest2
    29    send:
    30        destination: $receipient
    31        amount: $val1
    32  
    33  - name: sendTxTest3
    34    send:
    35        destination: $key2
    36        amount: $val1
    37  
    38  - name: sendTxQuery1
    39    query-account:
    40        account: $receipient
    41        field: balance
    42  
    43  - name: sendTxQuery2
    44    query-account:
    45        account: 58FD1799AA32DED3F6EAC096A1DC77834A446B9C
    46        field: balance
    47  
    48  - name: sendTxQuery3
    49    query-account:
    50        account: $key2
    51        field: balance
    52  
    53  - name: sendTxAssert1
    54    assert:
    55        key: $sendTxQuery1
    56        relation: eq
    57        val: $val1
    58  
    59  - name: sendTxAssert2
    60    assert:
    61        key: $sendTxQuery2
    62        relation: eq
    63        val: $val1
    64  
    65  # first test using "wordy" syntax, then symbol-y syntax
    66  - name: sendTxAssert3
    67    assert:
    68        key: $sendTxQuery3
    69        relation: eq
    70        val: $same
    71  
    72  - name: sendTxAssert4
    73    assert:
    74        key: $sendTxQuery3
    75        relation: ne
    76        val: $more
    77  
    78  - name: sendTxAssert5
    79    assert:
    80        key: $sendTxQuery3
    81        relation: gt
    82        val: $less
    83  
    84  - name: sendTxAssert6
    85    assert:
    86        key: $sendTxQuery3
    87        relation: ge
    88        val: $same
    89  
    90  - name: sendTxAssert7
    91    assert:
    92        key: $sendTxQuery3
    93        relation: ge
    94        val: $less
    95  
    96  - name: sendTxAssert8
    97    assert:
    98        key: $sendTxQuery3
    99        relation: lt
   100        val: $more
   101  
   102  - name: sendTxAssert9
   103    assert:
   104        key: $sendTxQuery3
   105        relation: le
   106        val: $same
   107  
   108  - name: sendTxAssert10
   109    assert:
   110        key: $sendTxQuery3
   111        relation: le
   112        val: $more
   113  
   114  # second test using "symbol-y" syntax
   115  - name: sendTxAssert11
   116    assert:
   117        key: $sendTxQuery3
   118        relation: ==
   119        val: $same
   120  
   121  - name: sendTxAssert12
   122    assert:
   123        key: $sendTxQuery3
   124        relation: "!="
   125        val: $more
   126  
   127  - name: sendTxAssert13
   128    assert:
   129        key: $sendTxQuery3
   130        relation: ">"
   131        val: $less
   132  
   133  - name: sendTxAssert14
   134    assert:
   135        key: $sendTxQuery3
   136        relation: ">="
   137        val: $same
   138  
   139  - name: sendTxAssert15
   140    assert:
   141        key: $sendTxQuery3
   142        relation: ">="
   143        val: $less
   144  
   145  - name: sendTxAssert16
   146    assert:
   147        key: $sendTxQuery3
   148        relation: <
   149        val: $more
   150  
   151  - name: sendTxAssert17
   152    assert:
   153        key: $sendTxQuery3
   154        relation: <=
   155        val: $same
   156  
   157  - name: sendTxAssert18
   158    assert:
   159        key: $sendTxQuery3
   160        relation: <=
   161        val: $more