2 min read

Bug Hunting: Another Error of Steem Post Size

原文链接: steemit, cnsteem, busy, chainbb, steemdb, steemd, busy, markdown

The Issue

It was reported by @nationalpark that an article with a table that has more than 2,000 rows could not be posted on steemit.com, while he finally posted a table with 1,000 rows. However, I found that an article with only about 400 lines cannot be posted on steemit.com, unless I reduced it to 150 lines.

The behavior of Steemit.com

When I pasted this article to the default editor interface of steemit.com and clicked the post button, an error in red appeared at the bottom of the editor:

fc::raw::pack_size(trx) <= (get_dynamic_global_properties().maximum_block_size - 256):

and it failed to post.

I removed some lines and tested many times, but the same error message appeared again and again. Finally, I posted the first 150 lines successfully.

Expected behavior

Steemit.com should check the text limit when the user type something in the default editor, or show a online counter displaying how many characters the user can type. If it excesses the limit, a warning message should appear. This warning message should be readable and understandable.

How to reproduce

Copy the text here and paste to the default online editor of steemit.com, and click the post button.


Windows 7 + Firefox 56

Posted on Utopian.io - Rewarding Open Source Contributors