def test_sixten(): s = tester.state() c = decode_hex('1231231231231234564564564564561231231231') s.block.set_code(c, serpent.compile_lll(sixten_code)) o1 = s.send(tester.k0, c, 0) assert utils.big_endian_to_int(o1) == 610
def test_sixten(): s = tester.state() c = decode_hex('1231231231231234564564564564561231231231') s.block.set_code(c, serpent.compile_lll(sixten_code)) o1 = s.send(tester.k0, c, 0) assert utils.big_endian_to_int(o1) == 610
def test_sixten(): c = tester.Chain() addr = decode_hex('1231231231231234564564564564561231231231') c.head_state.set_code(addr, serpent.compile_lll(sixten_code)) o1 = c.tx(tester.k0, addr, 0) assert utils.big_endian_to_int(o1) == 610