Closed litepresence closed 11 months ago
Good work. Would you mind adding some unittests for them?
Its super easy, really.
tests/test_transactions.py
True
to self.doit()
as argument self.doit(True)
which will print the serialized output in the commandline.python3 -m pytest tests/test_transactions.py
. Your unittest will break but you will see a long hex string which is what you copy paste into self.cm = ""
and remove the True
again.Some tests are failing due to an issue in python-graphenelib, see https://github.com/xeroc/python-graphenelib/pull/188 for a potential fix.
Shouldn't the kwargs in Credit_offer_update for delta_amount be the same (link to code)?
("delta_amount", Optional(Asset(kwargs["fee"]))),
Shouldn't the kwargs in Credit_offer_update for delta_amount be the same (link to code)?
("delta_amount", Optional(Asset(kwargs["fee"]))),
See https://github.com/bitshares/python-bitshares/pull/325/commits/e640dc35ffe86f04aee763cfe2891a7acaf29386 . BTW I guess we can close this PR now.
this pull over rides 317 to include samet ops and deal with some bugs in the first pull; indexing error and errant usage of Optional() during credit deal create