steemit / tinman

Testnet management scripts
8 stars 20 forks source link

TN: Erorr when creating durable accounts #158

Closed inertia186 closed 6 years ago

inertia186 commented 6 years ago

Error:

'Assert Exception:o.fee == wso.median_props.account_creation_fee: Must pay the exact account creation fee. paid: {\"amount\":\"250000000\",\"precision\":3,\"nai\":\"@@000000021\"} fee: {\"amount\":\"0\",\"precision\":3,\"nai\":\"@@000000021\"}'

Full error:

Oct 17 18:43:22 ip-172-31-61-144 eeb14de89bc9[3631]: ["submit_transaction", {"tx": {"ref_block_prefix": 1330284274, "signatures": ["2065afe15dd23e362624ed36fc9baa9fa4d534d3b0f206fd85d22eae8f67a67bc02cc9330353eee636bcaaa59c4a363b490848776e165bd4a77bbafe61d5556d01"], "expiration": "2018-10-17T18:44:21", "ref_block_num": 54305, "operations": [{"value": {"creator": "initminer", "new_account_name": "tn-seven", "owner": {"account_auths": [], "key_auths": [["TST6iHzPNMqJzoUZmkFnJ5SP5XXoFptBjsZrBMYdjDsQziAnkN7EH", 1]], "weight_threshold": 1}, "active": {"account_auths": [], "key_auths": [["TST8fD1tKm9NsbbeBdSNzQbrqUuCaJQvVJvVxH1hot81X4Ypm1CTC", 1]], "weight_threshold": 1}, "json_metadata": "", "posting": {"account_auths": [], "key_auths": [["TST536RveE6XwxMTmD33M3F41AmAKSbbBEMXPmiV3iedZ39j4bEnp", 1]], "weight_threshold": 1}, "memo_key": "TST6iG2nkLtjvfJYPB9pc4LERZDoReuw53AsZxVpFvaSxc4RCBDF7", "fee": {"amount": "250000000", "nai": "@@000000021", "precision": 3}}, "type": "account_create_operation"}]}}, "OrderedDict([('jsonrpc', '2.0'), ('error', OrderedDict([('code', -32000), ('message', 'Assert Exception:o.fee == wso.median_props.account_creation_fee: Must pay the exact account creation fee. paid: {\"amount\":\"250000000\",\"precision\":3,\"nai\":\"@@000000021\"} fee: {\"amount\":\"0\",\"precision\":3,\"nai\":\"@@000000021\"}'), ('data', OrderedDict([('code', 10), ('name', 'assert_exception'), ('message', 'Assert Exception'), ('stack', [OrderedDict([('context', OrderedDict([('level', 'error'), ('file', 'steem_evaluator.cpp'), ('line', 334), ('method', 'do_apply'), ('hostname', ''), ('timestamp', '2018-10-17T18:43:22')])), ('format', 'o.fee == wso.median_props.account_creation_fee: Must pay the exact account creation fee. paid: ${p} fee: ${f}'), ('data', OrderedDict([('p', OrderedDict([('amount', '250000000'), ('precision', 3), ('nai', '@@000000021')])), ('f', OrderedDict([('amount', '0'), ('precision', 3), ('nai', '@@000000021')]))]))]), OrderedDict([('context', OrderedDict([('level', 'warn'), ('file', 'database.cpp'), ('line', 3485)

Fix is similar to how txgen deals with account creation: https://github.com/steemit/tinman/issues/125