Skip to content

Commit 064f950

Browse files
committed
fix resolve
1 parent 4a759c3 commit 064f950

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration_tests/test_ica_precompile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,14 @@ def wait_for_status_change(tcontract, channel_id, seq):
174174

175175
def check_status():
176176
status = tcontract.caller.getStatus(channel_id, seq)
177-
print("current", status)
178177
return status
179178

180179
wait_for_fn("current status", check_status)
181180

182181

183182
def wait_for_packet_log(event, channel_id, seq, status):
184183
print("wait for log arrive", seq, status)
185-
expected = AttributeDict({"channel_id": channel_id, "seq": seq, "status": status})
184+
expected = AttributeDict({"packetSrcChannel": channel_id, "seq": seq, "status": status})
186185

187186
def check_log():
188187
logs = event.getLogs()
@@ -355,7 +354,7 @@ def submit_msgs_ro(func, str):
355354
)
356355
last_seq = tcontract.caller.getLastSeq()
357356
wait_for_status_change(tcontract, last_seq)
358-
status = tcontract.caller.statusMap(last_seq)
357+
status = tcontract.caller.getStatus(channel_id, last_seq)
359358
assert expected_seq == last_seq
360359
assert status == Status.SUCCESS
361360
# wait for ack to add log from call evm

0 commit comments

Comments
 (0)