示例#1
0
def root_chain_got_the_start_exit_record_from_double_spending_challenge(context):
    root_chain = container.get_root_chain()
    assert has_value(root_chain.functions.exits(uid).call({'from': userC}))
示例#2
0
def root_chain_got_userB_start_exit(context, amount):
    root_chain = container.get_root_chain()
    assert has_value(root_chain.functions.exits(uid).call())
示例#3
0
def the_challenge_is_successful_and_root_chain_cancels_the_exit(context):
    root_chain = container.get_root_chain()
    assert not has_value(root_chain.functions.exits(uid).call({'from': userB}))
示例#4
0
def root_chain_got_the_start_deposit_exit_record(context):
    root_chain = container.get_root_chain()
    assert has_value(root_chain.functions.exits(uid).call({'from': userA}))