forked from ethereum/btcrelay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfullTestDeploy.yaml
144 lines (138 loc) · 4.05 KB
/
fullTestDeploy.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# -
# set:
# NameReg: "0x72ba7d8e73fe8eb666ea66babc8116a41bfb10e2"
# Deploy contracts
-
deploy:
BtcRelay:
contract: btcrelay.py
gas: 100000
wait: True
-
deploy:
BtcEth:
contract: btc-eth.py
gas: 100000
endowment: 64
wait: True
-
transact:
SetTrustedBtcRelay:
gas: 100000
to: $BtcEth
fun_name: setTrustedBtcRelay
sig: i
data:
- $BtcRelay
wait: True
# Register with NameReg
# -
# transact:
# RegisterBtcRelay:
# to: $NameReg
# fun_name: register
# sig: i
# data:
# - $BtcRelay
# gas: 10000
# gas_price: 10000000000000
# value: 0
# wait: True
# -
# transact:
# RegisterBtcEth:
# to: $NameReg
# fun_name: register
# sig: i
# data:
# - $BtcEth
# gas: 10000
# gas_price: 10000000000000
# value: 0
# wait: True
# Set up
-
transact:
TestingOnlySetGenesis:
to: $BtcRelay
fun_name: setInitialParent
sig: i
data:
- 0x000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250
wait: True
# If pyepm complains that the data below
# run a Python console in the directory where this file is, and run these:
# import yaml
# stream = open(<YAML filename>, 'r')
# print yaml.load(stream)
# Then try running pyepm again
-
transact:
StoreBlock100K:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00P\x12\x01\x19\x17*a\x04!\xa6\xc3\x01\x1d\xd30\xd9\xdf\x07\xb66\x16\xc2\xcc\x1f\x1c\xd0\x02\x00\x00\x00\x00\x00fW\xa9%*\xac\xd5\xc0\xb2\x94\t\x96\xec\xff\x95"(\xc3\x06|\xc3\x8dH\x85\xef\xb5\xa4\xacBG\xe9\xf37"\x1bML\x86\x04\x1b\x0f+W\x10
wait: True
-
transact:
StoreB1:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00\x06\xe53\xfd\x1a\xda\x869\x1f?l42\x04\xb0\xd2x\xd4\xaa\xec\x1c\x0b \xaa\'\xba\x03\x00\x00\x00\x00\x00j\xbb\xb3\xeb=s:\x9f\xe1\x89g\xfd}L\x11~L\xcb\xba\xc5\xbe\xc4\xd9\x10\xd9\x00\xb3\xae\x07\x93\xe7\x7fT$\x1bML\x86\x04\x1b@\x89\xcc\x9b
wait: True
-
transact:
StoreB2:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00\x90\xf0\xa9\xf1\x10p/\x80\x82\x19\xeb\xea\x11s\x05`B\xa7\x14\xba\xd5\x1b\x91l\xb6\x80\x00\x00\x00\x00\x00\x00Ru(\x95X\xf5\x1c\x99fi\x94\x04\xae"\x94s\x0c<\x9f\x9b\xdaSR<\xe5\x0e\x9b\x95\xe5X\xda/\xdb&\x1bML\x86\x04\x1b\x1a\xb1\xbf\x93
wait: True
-
transact:
StoreB3:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00\xaf\xf7\xe0\xc7\xdc)\xd2\'H\x0c*\xa7\x95!A\x96@\xa1a\x02;Q\xcd\xb2\x8a;\x01\x00\x00\x00\x00\x007y\xfc\t\xd68\xc4\xc6\xda\x08@\xc4\x1f\xa6%\xa9\x0br\xb1%\x01_\xd0\'?pma\xf3\xbe\x17_\xaa\'\x1bML\x86\x04\x1b\x14-\xca\x82
wait: True
-
transact:
StoreB4:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00\xe1\xc5\xba:h\x17\xd578@\x9f^r)\xff\xd0\x98\xd4\x81\x14{\x00)A\xa7\xa0\x02\x00\x00\x00\x00\x00w\xed*\xf8z\xa4\xf9\xf4P\xf8\xdb\xd1R\x84r\x0c?\xd9oVZ\x13\xc9\xdeB\xa3\xc1D\x0b\x7f\xc6\xa5\x0e(\x1bML\x86\x04\x1b\x08\xae\xcd\xa2
wait: True
-
transact:
StoreB5:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00y\xcd\xa8V\xb1C\xd9\xdb,\x1c\xaf\xf0\x1d\x1a\xec\xc8c\r0b]\x10\xe8\xb4\xb8\xb0\x00\x00\x00\x00\x00\x00\xb5\x0c\xc0i\xd6\xa3\xe3>?\xf8J\\A\xd9\xd3\xfe\xbe|w\x0f\xdc\xc9k,?\xf6\n\xbe\x18O\x19cg)\x1bML\x86\x04\x1b\x8f\xa4]c
wait: True
-
transact:
StoreB6:
gas: 100000
to: $BtcRelay
fun_name: storeBlockHeader
sig: s
data:
- \x01\x00\x00\x00E\xdcXt3b\xfe\x8d\x88\x98\xa7Po\xaa\x81k\xae\xd7\xd3\x91\xc9\xbc\x0b\x13\xb0\xda\x00\x00\x00\x00\x00\x00!r\x8a/O\x97\\\xc8\x01\xcb<g\'G\xf1\xea\xd8\xa9F\xb2p+{\xd5/{\x86\xdd\x1a\xa0\xc9u\xc0*\x1bML\x86\x04\x1b{GTm
wait: True