-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvalid-exit.yml
33 lines (33 loc) · 935 Bytes
/
invalid-exit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
key: challenge-invalid-exits
steps:
- type: trigger
key: invalid-exit
instance:
src: https://github.com/mesg-foundation/service-plasma-omisego-watcher
eventKey: invalid_exit
- type: task
key: challenge-data
instance:
src: https://github.com/mesg-foundation/service-plasma-omisego-watcher
taskKey: getChallengeData
inputs:
utxo_pos:
stepKey: invalid-exit
key: utxo_pos
- type: task
instance:
src: https://github.com/mesg-foundation/service-ethereum-contract
env:
- PROVIDER_ENDPOINT=$(env:PROVIDER_ENDPOINT)
- BLOCK_CONFIRMATIONS=0
- CONTRACT_ADDRESS=$(env:PLASMA_ADDRESS)
- CONTRACT_ABI=$(env:PLASMA_ABI)
taskKey: execute
inputs:
method: challengeStandardExit
privateKey: "$(env:PRIVATE_KEY)"
inputs:
- key: exit_id
- key: txbytes
- key: input_index
- key: sig