create account

Task request for beem: bug-hunting by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$21.10
Task request for beem: bug-hunting
### Repository
 https://github.com/holgern/beem
<center>![beem-logo.png](https://cdn.utopian.io/posts/d563a408c062506aed88befbe7781399184fbeem-logo.png)</center>

### About beem
beem is an unofficial python library for steem, which I created from scratch by forking [python-bitshares](https://github.com/bitshares/python-bitshares). The library name is derived from a beam maschine, similar to the analogy between steem and steam. A documentation about beem can be found here: http://beem.readthedocs.io/en/latest/.

I pushed the first commit on the  14 Feb. 2018 to github. Since then, the code base was growing from 5288 lines of python code to 18232 lines of code.
<center>
![image.png](https://ipfs.busy.org/ipfs/QmQzUFJXpTJ3kfcuz8oQE7c7HWcgT1FoPyiuHdL6vYjWD1)
</center>

The current version is 0.19.35 and it contains the following features:

* RPC interface (ttps and websocket) for full API nodes
* Node failure handling
* Support for almost all steem API calls
* JSON-based blockchain objects (accounts, votes, comments, blocks, prices, markets, etc)
* a simple to use yet powerful API
* transaction construction and signing
* appbase ready
* steemconnect v2 integration
* it’s own (bip32-encrypted) wallet for key and token storage
* command line tool beempy

Although the total test coverage is on a good level (78% currently), it is not everything covered. High code coverage does also not mean that the code cannot contain bugs anymore. It shows that the code can run without error and returns the predefined output for certain input data.
<center>
![image.png](https://ipfs.busy.org/ipfs/QmVWxrN9fZBfGnevMVXdZ27DxAqLw8vPu94ofm1ngbe8Sm)
</center>

Manual testing remains very important for beem, due to the high number of code lines and the huge functionality which beem has to offer. So, I'm asking everyone to help me improving beem, by finding bugs in beem.

### Details /  Components
This task request is about finding bugs inside the python library beem. 
This includes all function inside the following python modules:
* beem
* beemapi
* beembase
* beemgraphenebase

The request is not about errors that occurred in installing dependent python libraries (e.g. scrypt). 



### Content of a good bug hunting post
A good bug hunting post must contain the following sections:

#### Expected behavior
Please describe in detail about the expected behavior. "It must return a value", or similar platitudes are not sufficient. After reading this section, it must be clear, what the expected behavior is. This helps me to understand the described error. 

*  Example (not related to beem):
The `int_sum` function should return the sum of two `integer` numbers.

#### Actual behavior
Please describe shortly about the current situation. "It does not work", is not sufficient.

* Example (not related to beem):
When one number is zero, the `int_sum` function returns zero instead of the other non-zero number.

#### How to reproduce
A python script with output, which is able to reproduce the described error, helps a lot in finding the source of the error.
* Example (not related to beem):
```
import int_sum
x = int_sum(0, 1)
print(x)
```
Output:
```
0
```
#### Environment
The used python and beem version is important for repoducing the error (Different behavior for unicode strings on python 2.7 and 3.6, for example).
The beem version can be obtained by `beempy --version`.


### Creating an issue on https://github.com/holgern/beem
After writing a utopian-io post about a bug, a new issue should be created in the beem github repo: https://github.com/holgern/beem/issues/new. This is important for collecting all bug reports in one place and for mention it when fixing it.

#### Deadline
This task request has no deadline, as it will stay open.

#### Communication
For more information please visit the beem discord server: https://discord.gg/4HM592V

#### Github
https://github.com/holgern
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 27 others
properties (23)
authorholger80
permlinktask-request-for-beem-bug-hunting
categoryutopian-io
json_metadata"{"community": "busy", "app": "beempy/0.23.10", "format": "markdown", "links": ["https://github.com/holgern/beem", "https://github.com/bitshares/python-bitshares", "http://beem.readthedocs.io/en/latest/", "https://github.com/holgern/beem", "https://github.com/holgern/beem/issues/new", "https://discord.gg/4HM592V", "https://github.com/holgern"], "tags": ["utopian-io", "task-bug-hunting", "beem", "python", "busy"], "canonical_url": "https://hive.blog/utopian-io/@holger80/task-request-for-beem-bug-hunting"}"
created2018-06-04 09:50:39
last_update2020-05-23 14:34:18
depth0
children3
last_payout2018-06-11 09:50:39
cashout_time1969-12-31 23:59:59
total_payout_value16.867 HBD
curator_payout_value4.228 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,905
author_reputation358,857,509,568,825
root_title"Task request for beem: bug-hunting"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,179,121
net_rshares5,822,680,875,545
author_curate_reward""
vote details (91)
@eroche ·
I plan on building a GUI for upvoting content that will integrate beem. If I come across any bugs I'll let you know.
properties (22)
authoreroche
permlinkre-holger80-task-request-for-beem-bug-hunting-20180604t095723344z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-06-04 09:57:24
last_update2018-06-04 09:57:24
depth1
children0
last_payout2018-06-11 09:57:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length116
author_reputation70,759,290,299,941
root_title"Task request for beem: bug-hunting"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,179,845
net_rshares0
@sachincool ·
Hello @holger80,
Thank you for submitting this task request and bringing your project open with Utopian. 
* Your report is well-defined.
* Proper Steps and requirements are provided
* what you expect is the bug-report is clearly stated in this task
* This task is open for as long as required.
 
Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/11/332111).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
properties (22)
authorsachincool
permlinkre-holger80-task-request-for-beem-bug-hunting-20180604t162715428z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["holger80"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/11/332111","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-06-04 16:27:15
last_update2018-06-04 16:27:15
depth1
children0
last_payout2018-06-11 16:27:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length785
author_reputation18,548,631,010,973
root_title"Task request for beem: bug-hunting"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,230,631
net_rshares0
@utopian-io ·
Hey @holger80
**Thanks for contributing on Utopian**.
We’re already looking forward to your next task request!

**Contributing on Utopian**
Learn how to contribute on <a href='https://join.utopian.io'>our website</a> or by watching <a href='https://www.youtube.com/watch?v=8S1AtrzYY1Q'>this tutorial</a> on Youtube.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlinkre-task-request-for-beem-bug-hunting-20180605t095509z
categoryutopian-io
json_metadata"{"app": "beem/0.19.29"}"
created2018-06-05 09:55:09
last_update2018-06-05 09:55:09
depth1
children0
last_payout2018-06-12 09:55:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length505
author_reputation152,955,367,999,756
root_title"Task request for beem: bug-hunting"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,347,980
net_rshares0