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

     1  jobs:
     2  
     3  - name: setStorageBase
     4    set:
     5        val: -5
     6  
     7  - name: deployStorageK
     8    deploy:
     9        contract: storage.sol
    10        data:
    11          - $setStorageBase
    12  
    13  - name: queryStorage
    14    query-contract:
    15        destination: $deployStorageK
    16        function: x
    17  
    18  - name: assertStorage
    19    assert:
    20        key: $queryStorage
    21        relation: eq
    22        val: $setStorageBase
    23  
    24  # Second time!
    25  - name: setStorageBaseSecond
    26    set:
    27        val: -867676543
    28  
    29  - name: setStorageSecond
    30    call:
    31        destination: $deployStorageK
    32        function: setX
    33        data:
    34          - $setStorageBaseSecond
    35  
    36  - name: queryStorageSecond
    37    query-contract:
    38        destination: $deployStorageK
    39        function: x
    40  
    41  - name: assertStorageSecond
    42    assert:
    43        key: $queryStorageSecond
    44        relation: eq
    45        val: $setStorageBaseSecond
    46  
    47  # Third time!
    48  - name: setStorageBaseThird
    49    set:
    50        val: -457654789753436542135
    51  
    52  - name: setStorageThird
    53    call:
    54        destination: $deployStorageK
    55        function: setX
    56        data:
    57          - $setStorageBaseThird
    58  
    59  - name: queryStorageThird
    60    query-contract:
    61        destination: $deployStorageK
    62        function: x
    63  
    64  - name: assertStorageThird
    65    assert:
    66        key: $queryStorageThird
    67        relation: eq
    68        val: $setStorageBaseThird
    69  
    70  - name: setStorageNegativeArray
    71    call:
    72        destination: $deployStorageK
    73        function: setNegativeArray
    74        data:
    75          - -18793874234
    76          - -2
    77  
    78  - name: queryNegativeArray
    79    query-contract:
    80        destination: $deployStorageK
    81        function: getNegativeArray
    82  
    83  - name: assertNegativeArray
    84    assert:
    85        key: $queryNegativeArray
    86        relation: eq
    87        val: "[-18793874234,-2]"