A bunch of bugs this morning.

in #steem6 years ago (edited)

We hit the SBD debt cap a few hours ago, and unsurprisingly it's led to a bunch of strange behaviors. Fortunately most of them seem to be bugs in the front ends, rather than the blockchain itself, and so far I haven't seen one that urgently needs to be fixed.

There is one potential blockchain bug that might actually be causing all the other ones: the chain appears to be reporting the debt ratio "magic number" as the feed price rather than getting it from the witness feed. I'm not 100% sure of this one yet, and I haven't been assiduously tracking it down because it doesn't really matter. The only side effect of this misreporting, if that is what's happening, is that the USD values given to post payouts will be incorrect. That would matter if we were paying out SBD, but even with the wrong feed price number we're so close to the cap that we're paying out a very minimal amount of SBD. Steem payouts are both multiplied and divided by the feed price so it cancels out.

Edit: This is apparently expected behavior as described in this post by @eonwarped. I don't think it was very well thought through, since the feed price is used for all sorts of things besides conversions, even if they're mostly cosmetic. But it's a design bug not a code bug.

It does matter to vote-selling services that use USD value in their calculations, like SmartMarket and MinnowBooster, but I haven't thought through in which direction yet. Their operators should be concerned but it won't make much difference to anyone else.

The other bugs that you're seeing are front-end bugs, not blockchain bugs, and they only really matter to the display. Steemit.com has gotten it into its head that each Steem is worth about 121 gigawatts million dollars, which is why everyone's account value is ridiculous. This is also why pending post payouts are zero; Steemit.com is grabbing the USD value of the post from the chain and then dividing by 121 million to get its estimate of payout. The payouts themselves happen on the chain side and appear to be happening correctly.

This all happened overnight before a national holiday in the US, probably the worst time for Steem to be cropping up bugs, and I'm just glad that none of them seem to be huge.

Steem.png

Sort:  

Haha, I wish it were true! All of us Steemians could solve world hunger and some other problems!

You have collected your daily Power Ups!
Learn how to power up smart here!

each Steem is worth about 121 million dollars

Not a bug. The flux capacitor sent a message from the future back for us to see.

That is exactly what is happening.

the chain appears to be reporting the debt ratio "magic number" as the feed price rather than getting it from the witness feed.

ha, now I understand why the account values are so high - thanks for the pointer! get_feed_history now reports the current_median_history as a price feed with the Steem supply as quote, not "1 STEEM" as before. Condenser seems to assume the median price feed base as equal to 1 USD, multiplying all values by 122M...

That would matter if we were paying out SBD

I think it would not even matter for SBD payout, since the price feed value, as the quotient of base and quote, is still correct. I think only USD-equivalents are affected, which, as you said already, happens only on the interfaces.

Hm, I suppose you're right that it doesn't matter for SBD payout, since the system has sort of reconfigured what it thinks $1 is rather than what it thinks SBD should be.

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

I noticed something else. Pending payouts have no value in steem/sp

Posted using Partiko Android

This is also why pending post payouts are zero; Steemit.com is grabbing the USD value of the post from the chain and then dividing by 121 million to get its estimate of payout. The payouts themselves happen on the chain side and appear to be happening correctly.

SteemWorld is still showing the accurate value of posts, so their calculator must be using a different feed. Thanks for explaining why Steemit believes I am a multi-billionaire now, lol.

For a musician trying to code, you and Eon are quite a rock stars hahaha. I'm focusing in front-end right now, so I'm so far to put my brain into learn php, phyton and linux. Beside that, I always enjoy alot reading post about it. Thanks for work so hard for the platform @tcpolymath.

Hi @tcpolymath!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 4.682 which ranks you at #1552 across all Steem accounts.
Your rank has dropped 1 places in the last three days (old rank 1551).

In our last Algorithmic Curation Round, consisting of 305 contributions, your post is ranked at #77.

Evaluation of your UA score:
  • Some people are already following you, keep going!
  • The readers like your work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

I wanted to show my girlfriend that I was a billionaire now but she would believe me. Upon finding out I am lying, she would never believe in the value of crypto again because I showed her a bug and she would be convinced that this is all make believe :P