github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/tests/jobs_fixtures/app52-proposal-execute/deploy.yaml (about) 1 no-parallel: true 2 3 jobs: 4 - name: foobar 5 deploy: 6 contract: contract.sol 7 8 - name: foobar2 9 deploy: 10 contract: test.sol 11 12 - name: SystemAccount 13 update-account: 14 target: new() 15 native: 3001234 16 permissions: ["all"] 17 18 - name: AssertSystemAccountCreated 19 assert: 20 key: $SystemAccount.address 21 relation: ne 22 val: "" 23 24 - name: DeployerAccount 25 update-account: 26 target: new() 27 native: 3001234 28 permissions: ["all"] 29 30 - name: AssertDeployerAccountCreated 31 assert: 32 key: $DeployerAccount.address 33 relation: ne 34 val: "" 35 36 - name: Propose Calling stuff 37 proposal: 38 name: CallFooBarProposal 39 description: I say we should call addFoobar() twice 40 source: $SystemAccount.address 41 jobs: 42 - name: CallFoobar 43 call: 44 source: $DeployerAccount.address 45 destination: $foobar 46 function: addFoobar 47 bin: foo 48 data: [ 2 ] 49 - name: CallFoobar2 50 call: 51 source: $DeployerAccount.address 52 destination: $foobar 53 function: addFoobar 54 bin: foo 55 data: [ 3 ] 56 - name: NameReg 57 register: 58 source: $DeployerAccount.address 59 name: FOO 60 data: bar 61 amount: 5000 62 fee: 2000 63 - name: deployBar 64 deploy: 65 contract: bar.bin 66 - name: CallBar 67 call: 68 source: $DeployerAccount.address 69 destination: $deployBar 70 function: addFoobar 71 bin: bar 72 data: [ 3 ] 73 74 - name: getFoobar 75 call: 76 destination: $foobar 77 function: getFoobar 78 79 - name: checkFoobar 80 assert: 81 key: $getFoobar 82 relation: eq 83 val: 5 84 85 - name: FOO 86 query-name: 87 name: FOO 88 field: data 89 90 - name: checkFOO 91 assert: 92 key: $FOO 93 relation: eq 94 val: bar 95