bitshares / python-bitshares

Fully featured client-side library for the BitShares Blockchain - written entirely in python.
http://docs.pybitshares.com/
MIT License
163 stars 167 forks source link

added credit offer to operations.py #317

Closed litepresence closed 1 year ago

litepresence commented 1 year ago

additional work needs to be done for full implementation

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

xeroc commented 1 year ago

It's quite easy to write unittests for those operations in tests/test_transactions.py. You copy&paste an existing block, fill in your operation with some random data. you doit(True) with a True in argument, then run the unittest. It will break but print out the hex string that you can use for self.cm. Then remove the True and run the test again.

doit tests against the cm variable as well as against a fixed public RpC node

litepresence commented 1 year ago

pull 319 over rides this one, adds samet fund, makes small indexing change, removed two errant Optional() classes

closing 317