steemit / steem-python

The official Python (3) library for the Steem Blockchain.
https://steem.io
MIT License
153 stars 98 forks source link

account_create_with_delegation / max_block_age issue #218

Open roadscape opened 6 years ago

roadscape commented 6 years ago

Unclear if this might be an appbase issue, but since the @steem faucet is using the same op/endpoint it doesn't seem likely. Let's add a test for the account_create_with_delegation op and see if we can reproduce. User reported that this error occurred on 100% of attempts.

Error:

something happened
10 assert_exception: Assert Exception
!check_max_block_age( _max_block_age ):
    {}
    th_a  api.cpp:224 broadcast_transaction

    {"call.method":"call","call.params":["network_broadcast_api","broadcast_transaction",[{"ref_block_num":43852,"operations":[["account_create_with_delegation",{"delegation":"0.000000 VESTS","json_metadata":"","creator":"agorian","active":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM7YppRJK86gLYSadLA2r3p7Lhd6grPF6syXF23j8NotgC3jVM4w","1"]]},"memo_key":"STM6fUUZSWgviFWLBfsTpPGktBydr8omcKW8SjPJ3CWq2zNzEHgNu","extensions":[],"new_account_name":"testingacct","fee":"3.000 STEEM","posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM621qgaiMytXoCtp26gNGJpcMN8n54KtuZvTdWWiguat1ddNfzn","1"]]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM8Sxt8bdafQwLaEj1bnm2jgnTj3PpXb5KuZxtUWvfLdGcTgEYQ8","1"]]}}]],"expiration":"2018-04-16T20:26:30","extensions":[],"ref_block_prefix":70995517,"signatures":["1f05eb8a9590ba53fe411e659b2c08d01c702c312dbf1bebe9431e2594704883590c6120f65c1a654ac8402e26bc2a486d7ae1612f3c57203e7aef5fcb0e87127c"]}]]}
    th_a  websocket_api.cpp:124 on_message

eventually stopped getting errors when I started using the buildteam API endpoint. Not sure what was causing it

Today I started seeing a Bad Cast error instead of the max block age error though

(^ possibly due to verify_authority workaround)