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

     1  jobs:
     2  
     3  - name: deployStorageK
     4    deploy:
     5        contract: storage.sol
     6  
     7  # first run
     8  - name: setStorageBaseString1
     9    set:
    10        val: hello world the marmots are here
    11  
    12  - name: setStorageString1
    13    call:
    14        destination: $deployStorageK
    15        function: setString 
    16        data:
    17          - $setStorageBaseString1
    18  
    19  - name: queryStorageString1
    20    query-contract:
    21        destination: $deployStorageK
    22        function: getString
    23  
    24  - name: assertStorageString1
    25    assert:
    26        key: $queryStorageString1
    27        relation: eq
    28        val: $setStorageBaseString1
    29  
    30  # second run
    31  - name: setStorageBaseString2
    32    set:
    33        val: hello world the marmots are here hello world the marmots are here
    34  
    35  - name: setStorageString2
    36    call:
    37        destination: $deployStorageK
    38        function: setString 
    39        data:
    40          - $setStorageBaseString2
    41  
    42  - name: queryStorageString2
    43    query-contract:
    44        destination: $deployStorageK
    45        function: getString
    46  
    47  - name: assertStorageString2
    48    assert:
    49        key: $queryStorageString2
    50        relation: eq
    51        val: $setStorageBaseString2
    52  
    53  # third run
    54  - name: setStorageBaseString3
    55    set:
    56        val: hello world the marmots are here hello world the marmots are here hello world the marmots are here
    57  
    58  - name: setStorageString3
    59    call:
    60        destination: $deployStorageK
    61        function: setString 
    62        data: 
    63          - $setStorageBaseString3
    64  
    65  - name: queryStorageString3
    66    query-contract:
    67        destination: $deployStorageK
    68        function: getString
    69  
    70  - name: assertStorageString3
    71    assert:
    72        key: $queryStorageString3
    73        relation: eq
    74        val: $setStorageBaseString3
    75  
    76  # fourth run
    77  - name: setStorageBaseString4
    78    set:
    79        val: hello world the marmots are here hello world the marmots are here hello world the marmots are here hello world the marmots are here
    80  
    81  - name: setStorageString4
    82    call:
    83        destination: $deployStorageK
    84        function: setString
    85        data:
    86          - $setStorageBaseString4
    87  
    88  - name: queryStorageString4
    89    query-contract:
    90        destination: $deployStorageK
    91        function: getString
    92  
    93  - name: assertStorageString4
    94    assert:
    95        key: $queryStorageString4
    96        relation: eq
    97        val: $setStorageBaseString4
    98  
    99  # fifth run
   100  - name: setStorageBaseString5
   101    set:
   102        val: |
   103          hello world the marmots are here
   104          hello world the marmots are here
   105          hello world the marmots are here
   106          hello world the marmots are here
   107          hello world the marmots are here
   108  
   109  - name: setStorageString5
   110    call:
   111        destination: $deployStorageK
   112        function: setString
   113        data:
   114          - $setStorageBaseString5
   115  
   116  - name: queryStorageString5
   117    query-contract:
   118        destination: $deployStorageK
   119        function: getString
   120  
   121  - name: assertStorageString5
   122    assert:
   123        key: $queryStorageString5
   124        relation: eq
   125        val: $setStorageBaseString5