Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

FAIL: test_player_roll_dice on Android #77

Closed
AndreMiras opened this issue May 6, 2018 · 1 comment
Closed

FAIL: test_player_roll_dice on Android #77

AndreMiras opened this issue May 6, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@AndreMiras
Copy link
Owner

AndreMiras commented May 6, 2018

This is the subtask of #74, the following test is failing on Android.

======================================================================
FAIL: test_player_roll_dice (tests.test_pyetheroll.TestEtheroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/test_pyetheroll.py", line 534, in test_player_roll_dice
    self.assertEqual(m_signTransaction.call_args_list, expected_calls)
AssertionError: [call({'chainId': 1, 'gas': 310000, 'gasPr[294 chars]]*')] != [(({'nonce': 0, 'chainId': 1, 'to': '0x048[293 chars]'),)]
@AndreMiras AndreMiras added the bug Something isn't working label May 6, 2018
@AndreMiras
Copy link
Owner Author

Expected:

[call({'chainId': 1, 'gas': 310000, 'gasPrice': 4000000000, 'nonce': 0, 'value': 100000000000000000, 'to': '0x048717Ea892F23Fb0126F00640e2b18072efd9D2', 'data': '0xdc6dd1520000000000000000000000000000000000000000000000000000000000000032'}, b'\x05\x80\xaf\x81S]T\x8cp\x1cE!l\x8c\xc1%\x8e\x1c\xa1`\x82\xa3\x05\x9c\xd2\x10\xf0XM\x1a:?')]

Actual:

[call({'chainId': 1, 'gas': 310000, 'gasPrice': 4000000000, 'nonce': 0, 'value': 100000000000000010, 'to': '0x048717Ea892F23Fb0126F00640e2b18072efd9D2', 'data': '0xdc6dd1520000000000000000000000000000000000000000000000000000000000000032'}, b'\x05\x80\xaf\x81S]T\x8cp\x1cE!l\x8c\xc1%\x8e\x1c\xa1`\x82\xa3\x05\x9c\xd2\x10\xf0XM\x1a:?')]

The value field some to change, expected is 100000000000000000 and actual 100000000000000010.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant