## Developers, developers, developers, developers, developers! https://www.youtube.com/watch?v=V-FkalybggA If anyone understood the value of developers, it's good old Steve Ballmer. While Steemit developers are busy with various projects, many bugs remain unaddressed (less priority?). I was happily writing a new tool for you, my fellow witnesses, in steem-js, when I stumbled upon a bug that halted my project. I was disappointed after spending hours writing the tool, I couldn't go any further and share it with you. <center></center> <center>https://cdn.pixabay.com/photo/2013/07/12/15/01/fly-swatter-149265_640.png</center> When trying to broadcast the signing key to disable the witness, I get this: `Error: transaction.operations = witness_update,[object Object] cause: witness_update.block_signing_key = STM1111111111111111111111111111111114T1Anm cause: Invalid sequence tag` The bug has already been submitted last month https://github.com/steemit/steem-js/issues/267, without any fix yet. The same bug also affects golos-js https://github.com/GolosChain/golos-js/issues/12. <center><h3>I'm offering a 20 STEEM for anyone who can fix it within a week. So get crackin'.</h3></center> Maybe add a condition in the code to skip the encryption checks on that particular key. Let us repeat Steve Ballmer's mantra to give you some inspiration, may his legendary sweating force guide you on this adventure. <center><h4>Developers, developers, developers, developers, developers!</h4></center> *** <center> Check out [Steemian.Info](https://steemian.info), the concise information resource about the Steem blockchain</center> *** <center>https://steemitimages.com/DQmVbnfDz8PuMrhwVRYQ9iEwVyfTnwFL1v8eVXcZrhBzD9s/painter-161318_640-128x119.png Are you a visual artist? Join the Steem Artists Guild. We are on Discord at https://discord.gg/CY9u65g *** <sub>Proud member and delegator of the @minnowsupport project. Join us on https://discord.gg/GpHEEhV</sub> [](https://steemit.com/@minnowsupport)[](https://discord.gg/GpHEEhV )</center> *** <center>[](https://steemit.com/@drakos) *** #### Available & Reliable. I am your Witness. I want to represent You. ##### 🗳 If you like what I do, consider voting for me 🗳 [](https://steemit.com/~witnesses) ###### If you never voted before, I wrote a detailed guide about [Voting for Witnesses](https://steemit.com/witness-category/@drakos/tips-and-guidelines-voting-for-witnesses). <sub>Go to https://steemit.com/~witnesses. My name is listed in the Top 50. Click the upvote symbol.</sub> ###### Alternatively, <sub>with cli_wallet : **`vote_for_witness "YOURACCOUNT" "drakos" true true`** with steem-python: **`steempy approvewitness drakos --account YOURACCOUNT`**</sub> </center>
author | drakos | ||||||
---|---|---|---|---|---|---|---|
permlink | offering-20-steem-reward-to-fix-a-bug-in-steem-js | ||||||
category | witness-category | ||||||
json_metadata | {"tags":["witness-category","steem","steemjs","javascript","programming"],"users":["minnowsupport"],"image":["https://img.youtube.com/vi/V-FkalybggA/0.jpg","https://steemitimages.com/DQmUHbZBom5R9LrSWDDUpCCKVvQmuRqVJEJrx5FjrXyvhUy/witnesstool.png","https://cdn.pixabay.com/photo/2013/07/12/15/01/fly-swatter-149265_640.png","https://steemitimages.com/DQmYYCLPqwcEXBj1XXxeYJty6xyRXB6TQxMzfaaxBeoXiBk/Logo%202%20Steemit-200x200.png","https://steemitimages.com/DQmVbnfDz8PuMrhwVRYQ9iEwVyfTnwFL1v8eVXcZrhBzD9s/painter-161318_640-128x119.png","https://steemitimages.com/DQmcbTzxUwUFKPSn59dbVWMo19SBG391na3Z1TxR2KD4Mi3/MSP%20by%20zeartul-200x172.png","https://steemitimages.com/DQmWeczB7vBt4jTVGxwVLc85RrZuJds7usar4bsc15APBrM/PAL-200x260.png","https://steemitimages.com/DQmZkyG7SyJiSNN6qkxJ9n9darqn51RjWpDnJCKYKEhx3D4/BlueArt.gif","https://steemitimages.com/DQmfRx7jNSrFAnRZPrKRHLDxR22gRFYTBnKr2uLNdVty3MG/drakos-witness-thanks.gif"],"links":["https://www.youtube.com/watch?v=V-FkalybggA","https://github.com/steemit/steem-js/issues/267","https://github.com/GolosChain/golos-js/issues/12","https://steemian.info","https://discord.gg/CY9u65g","https://discord.gg/GpHEEhV","https://steemit.com/@minnowsupport","https://steemit.com/@drakos","https://steemit.com/~witnesses","https://steemit.com/witness-category/@drakos/tips-and-guidelines-voting-for-witnesses"],"app":"steemit/0.1","format":"markdown"} | ||||||
created | 2017-11-24 20:10:21 | ||||||
last_update | 2017-11-24 20:20:27 | ||||||
depth | 0 | ||||||
children | 11 | ||||||
last_payout | 2017-12-01 20:10:21 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 11.979 HBD | ||||||
curator_payout_value | 2.079 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 3,406 | ||||||
author_reputation | 112,280,226,665,329 | ||||||
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 21,423,288 | ||||||
net_rshares | 6,332,324,340,130 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
berkah | 0 | 20,655,624,849 | 10% | ||
mrs.agsexplorer | 0 | 14,329,316,378 | 4% | ||
pnc | 0 | 27,711,119,799 | 10% | ||
patrice | 0 | 78,482,036,854 | 100% | ||
teamsteem | 0 | 1,326,527,594,414 | 10% | ||
isteemit | 0 | 1,507,923,695 | 0.1% | ||
good-karma | 0 | 192,374,975,526 | 1% | ||
hitmeasap | 0 | 1,177,943,259 | 5% | ||
eggstraordinair | 0 | 1,312,331,080 | 100% | ||
ausbitbank | 0 | 2,471,904,943,710 | 22% | ||
timcliff | 0 | 938,507,309,796 | 64% | ||
lamech-m | 0 | 946,717,478 | 10% | ||
shadowspub | 0 | 423,446,495 | 0.1% | ||
darkflame | 0 | 491,304,168 | 0.1% | ||
cardinalkennedy | 0 | 151,837,644 | 20% | ||
jamzed | 0 | 6,352,299,591 | 100% | ||
meysam | 0 | 545,120,669 | 0.5% | ||
steemcenterwiki | 0 | 6,058,725,402 | 100% | ||
greenstar | 0 | 3,948,978,162 | 10% | ||
mkt | 0 | 42,337,523,728 | 100% | ||
lexiconical | 0 | 68,721,019,615 | 5% | ||
natra | 0 | 199,649,888 | 0.3% | ||
isaria | 0 | 10,569,963,712 | 5% | ||
malik.roxane | 0 | 12,772,484,842 | 100% | ||
sircork | 0 | 4,486,445,166 | 100% | ||
amvanaken | 0 | 5,362,486,329 | 22% | ||
drakos | 0 | 386,717,546,949 | 100% | ||
evie5el | 0 | 343,194,070 | 79% | ||
sieses | 0 | 143,370,705 | 1% | ||
spectrumecons | 0 | 9,994,915,514 | 3% | ||
siragrays | 0 | 8,765,966,950 | 100% | ||
thinknzombie | 0 | 1,257,508,815 | 0.5% | ||
eturnerx | 0 | 117,809,152,492 | 100% | ||
droida | 0 | 624,150,830 | 100% | ||
msp-lovebot | 0 | 53,194,336,452 | 15% | ||
msp-creativebot | 0 | 125,309,882,596 | 9% | ||
techtek | 0 | 9,583,135,945 | 35% | ||
rino81 | 0 | 395,494,311 | 100% | ||
ohreally | 0 | 208,078,851 | 1% | ||
mefov | 0 | 382,777,209 | 100% | ||
turymenecier | 0 | 70,141,072 | 30% | ||
buckydurddle | 0 | 340,574,590 | 1% | ||
joshtristram | 0 | 4,347,896,216 | 100% | ||
msp-canada | 0 | 11,687,125,575 | 20% | ||
chaatah | 0 | 16,438,113,429 | 95% | ||
msp-mods | 0 | 343,189,307,556 | 100% | ||
socialspace | 0 | 953,364,435 | 1% | ||
smitop | 0 | 0 | 0% | ||
astromaniak | 0 | 105,586,832 | 100% | ||
infinitavariedad | 0 | 203,680,325 | 100% | ||
shannonmccann | 0 | 76,454,972 | 100% | ||
gamedevers | 0 | 696,325,526 | 60% | ||
trendingupdates | 0 | 234,497,523 | 100% | ||
kaw | 0 | 609,279,551 | 100% | ||
brownspectre | 0 | 783,358,590 | 100% |
Well not sure about bug reported, but I always do this and it works! <code> steem.api.getWitnessByAccount("drakos", function(err, res){ console.log(res); if (res) { steem.broadcast.witnessUpdate("5ACTIVEPRIVATEKEY", "drakos", "https://steemit.com/@drakos", "STM1111111111111111111111111111111114T1Anm", res.props, "0.000 STEEM", function(err, result) { console.log('steem_witness_updated'); }); } }); </code>
author | good-karma |
---|---|
permlink | re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t201957763z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-24 20:19:57 |
last_update | 2017-11-24 20:19:57 |
depth | 1 |
children | 1 |
last_payout | 2017-12-01 20:19:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 413 |
author_reputation | 656,223,454,697,932 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,423,864 |
net_rshares | 0 |
No luck. Tried your exact code on the latest steem-js v0.6.7 with added `console.log(err, result);` for testing, still the same error π
author | drakos |
---|---|
permlink | re-good-karma-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t210546584z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-24 21:06:51 |
last_update | 2017-11-24 21:06:51 |
depth | 2 |
children | 0 |
last_payout | 2017-12-01 21:06:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 136 |
author_reputation | 112,280,226,665,329 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,426,690 |
net_rshares | 0 |
I have not been able to vote for a witness since I started Steemit :(
author | simgirl |
---|---|
permlink | re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t201302792z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-24 20:13:06 |
last_update | 2017-11-24 20:13:06 |
depth | 1 |
children | 2 |
last_payout | 2017-12-01 20:13:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 69 |
author_reputation | 25,946,610,333,190 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,423,465 |
net_rshares | 0 |
It's really easy, check this guide https://steemian.info/voting
author | drakos |
---|---|
permlink | re-simgirl-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t201440758z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"links":["https://steemian.info/voting"],"app":"steemit/0.1"} |
created | 2017-11-24 20:15:45 |
last_update | 2017-11-24 20:15:45 |
depth | 2 |
children | 0 |
last_payout | 2017-12-01 20:15:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 63 |
author_reputation | 112,280,226,665,329 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,423,633 |
net_rshares | 0 |
https://v2.steemconnect.com/sign/account-witness-vote?witness=netuoso&approve=1 Try the link above and see how it works for you. It does require your Active key to vote for witnesses
author | netuoso | ||||||
---|---|---|---|---|---|---|---|
permlink | re-simgirl-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171125t032551952z | ||||||
category | witness-category | ||||||
json_metadata | {"tags":["witness-category"],"links":["https://v2.steemconnect.com/sign/account-witness-vote?witness=netuoso&approve=1"],"app":"steemit/0.1"} | ||||||
created | 2017-11-25 03:25:51 | ||||||
last_update | 2017-11-25 03:25:51 | ||||||
depth | 2 | ||||||
children | 0 | ||||||
last_payout | 2017-12-02 03:25:51 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 2.857 HBD | ||||||
curator_payout_value | 1.001 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 183 | ||||||
author_reputation | 151,901,967,807,285 | ||||||
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 21,447,214 | ||||||
net_rshares | 1,720,544,100,482 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
msp3k | 0 | 1,720,544,100,482 | 100% |
Appears to be a function forcing all signatures to be valid.
author | smitop | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t19423762z | ||||||||||||
category | witness-category | ||||||||||||
json_metadata | {"app":"chainbb/0.4","namespace":false,"format":"markdown+html","tags":["witness"]} | ||||||||||||
created | 2017-11-25 00:04:27 | ||||||||||||
last_update | 2017-11-25 00:30:54 | ||||||||||||
depth | 1 | ||||||||||||
children | 1 | ||||||||||||
last_payout | 2017-12-02 00:04:27 | ||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||
total_payout_value | 0.000 HBD | ||||||||||||
curator_payout_value | 0.000 HBD | ||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||
promoted | 0.000 HBD | ||||||||||||
body_length | 60 | ||||||||||||
author_reputation | 1,622,694,571,233 | ||||||||||||
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" | ||||||||||||
beneficiaries |
| ||||||||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||||||||
percent_hbd | 10,000 | ||||||||||||
post_id | 21,436,317 | ||||||||||||
net_rshares | 0 |
Yup, elliptic curve library. From what I understood, it checks the validity of the key, and since STM1111111111111111111111111111111114T1Anm is not a valid key, it spits out the error. I've checked steem and steem-python for the "Invalid sequence tag" string and there's no sign of it. Only in steem-js.
author | drakos |
---|---|
permlink | re-smitop-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t19423762z-20171125t002336783z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-25 00:24:39 |
last_update | 2017-11-25 00:36:09 |
depth | 2 |
children | 0 |
last_payout | 2017-12-02 00:24:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 303 |
author_reputation | 112,280,226,665,329 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,437,465 |
net_rshares | 93,815,256 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
smitop | 0 | 93,815,256 | 7.77% |
I made a PR to fix this, see [#288](https://github.com/steemit/steem-js/pull/288). It treats the block_signing_key as a string, not a public_key.
author | smitop | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171124t195147687z | ||||||||||||
category | witness-category | ||||||||||||
json_metadata | {"app":"chainbb/0.4","namespace":"witness","format":"markdown+html","tags":["witness"]} | ||||||||||||
created | 2017-11-25 00:51:51 | ||||||||||||
last_update | 2017-11-25 00:51:51 | ||||||||||||
depth | 1 | ||||||||||||
children | 3 | ||||||||||||
last_payout | 2017-12-02 00:51:51 | ||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||
total_payout_value | 0.000 HBD | ||||||||||||
curator_payout_value | 0.000 HBD | ||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||
promoted | 0.000 HBD | ||||||||||||
body_length | 146 | ||||||||||||
author_reputation | 1,622,694,571,233 | ||||||||||||
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" | ||||||||||||
beneficiaries |
| ||||||||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||||||||
percent_hbd | 10,000 | ||||||||||||
post_id | 21,438,951 | ||||||||||||
net_rshares | 193,493,966 | ||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
smitop | 0 | 193,493,966 | 17% |
Didn't work, now it gives this error: ``` Unhandled rejection Error: 3010000 tx_missing_active_auth: missing required active authority Missing Active Authority drakos ```
author | drakos |
---|---|
permlink | re-smitop-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171125t030000986z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-25 03:01:03 |
last_update | 2017-11-25 03:04:51 |
depth | 2 |
children | 2 |
last_payout | 2017-12-02 03:01:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 170 |
author_reputation | 112,280,226,665,329 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,445,818 |
net_rshares | 0 |
Are you sure youβre using your active key (*not* your signing key, posting key, or memo key) in the first argument to the updateWitness function?
author | smitop |
---|---|
permlink | re-drakos-re-smitop-re-drakos-offering-20-steem-reward-to-fix-a-bug-in-steem-js-20171125t114707362z |
category | witness-category |
json_metadata | {"tags":["witness-category"],"app":"steemit/0.1"} |
created | 2017-11-25 11:47:06 |
last_update | 2017-11-25 12:01:33 |
depth | 3 |
children | 1 |
last_payout | 2017-12-02 11:47:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 145 |
author_reputation | 1,622,694,571,233 |
root_title | "Offering 20 STEEM Reward to Fix a Bug in Steem-JS" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 21,476,199 |
net_rshares | 0 |