Welcome Back! -- Post HF21 Crash

in hardfork21 •  22 days ago  (edited)

Welcome Back -- Post HF21 Crash


Steem is back up!

So another hardfork, and another crash. This is probably not new to you if you have been around the Steemiverse for any period of time. As usual, however, the witnesses and SteemIt development team worked together to find the issue and deploy a fix as soon as possible so that you can read this post right now.

What really happened?

The exact code that was affected can be seen here

util::manabar_params params( ( effective_vests * gpo.downvote_pool_percent ) / STEEM_100_PERCENT, STEEM_VOTING_MANA_REGENERATION_SECONDS );

Notice the ( effective_vests * gpo.downvote_pool_percent ). This will potentially result in a massive number depending on the size of your account stake and your delegations. Since effective_vests was typed as int64_t, the maximum value it could store was 9,223,372,036,854,775,807. The solution that was decided was to cast the intermediary number to uint128_t which is about 340,282,366,920,938,000,000,000,000,000,000,000,000 and THEN to cast the final number to the required int64_t.

Note: This is likely just a temporary workaround to ensure the chain would return online as soon as possible. There will possibly be another fix that is later released after the chain has been observed to be working as expected.

Did anything bad happen?

Quite the opposite. The blockchain performed its necessary checks and measures to ensure that the offending transaction did not make its way onto the ledger. This is a good thing because you would much rather have the system block a problematic transaction and halt so you can address the issue instead of going on unnoticed.

Want to chat more?

Swing by the SteemDevs Discord Server and join the conversation.

Vote for @netuoso as witness

I am providing you this update as a volunteer that wants to help keep the community informed. If you appreciate this information, be sure to vote for @netuoso as witness or support this post with a vote/comment.


Now go enjoy HF21 and your free downvotes!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for the info @netuoso , I have been trying to Post for few hours now but returning error message!

Posted using Partiko Android

For anyone else having issues, I went to https://beta.steemconnect.com and set my broadcasting node as https://anyx.io -- That allowed me to setup and login to busy.org and post

I got this from your reply on Steemit Twitter post, thanks for the update.
I have tried to vote for your witness but not sure if it has been cast.

I will confirm the vote tomorrow when Steemit is also functional!!

Any ETA when steemit.com will be usable?:)

Should be good now.

Aye, working good :)

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.

Thank brutha.. good info!

I was getting a 'voting within the 3 seconds' warning minutes after voting.. then the whole thing said 'busy'..

Stoopid mana resource credits crash again lol.

This post has been included in the latest edition of The Steem News - a compilation of the key news stories on the Steem blockchain.