Author Topic: Private TESTNET - Cannot create accounts via GUI  (Read 2155 times)

0 Members and 1 Guest are viewing this topic.

Offline JohnWave

  • Newbie
  • *
  • Posts: 5
    • View Profile
Ok so I think I am very close.

I am able to create the blockchain as per the instructions here:

https://neura-sx.gitbooks.io/graphene-book/content/book/testnets/tutorial-private-testnet.html

The piece I need help on is how to import the balances to my account.

I specified the "nathan" private key and is said there are no balances to import.

Does anyone know how to import the initial set of tokens via the BitShares GUI?

Offline JohnWave

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hello there!

So I am literally following the steps outlined here:

http://docs.bitshares.org/testnet/private-testnet.html#

I performed the following steps:

set the wallet password
unlock the wallet
upgrade the nathan account
create a new account names "account01"
transfer nathan account01 2000000000 BTS "transfer from nathan to account01" true

I then setup the BitShares GUI to connect to my testnet and connect successfully. I see the blockchain numbers incrementing.

I then try to create an account - this where it fails.

Could you recommend any steps to remediate the issue?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Assert Exception operations.size() > 0: A transaction must have at least one operation

What calls do you run in the cli-wallet?

Offline JohnWave

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hello there!

SHORT VERSION:
----------------------------

I am trying to create a private tesnet and connect to it via the Bitshares GUI by specfying my testnet IP Address and port in the Bitshares Client settings and am unable to create any accounts.

LONG VERSION:
-------------------------

I used this reference as my guide: http://docs.bitshares.org/testnet/private-testnet.html#

So I successfully compiled and have a fully functioning Graphene testnet blockchain on my cloud server.

I have functional versions of:

witness_node
cli_wallet

I made the following changes in the /data/config.ini file:

rpc-endpoint = my_public_ip_address:11011
genesis-json = my-genesis.json
enable-stale-production = true

witness-id = "1.6.1"
witness-id = "1.6.2"
witness-id = "1.6.3"
witness-id = "1.6.4"
witness-id = "1.6.5"
witness-id = "1.6.6"
witness-id = "1.6.7"
witness-id = "1.6.8"
witness-id = "1.6.9"
witness-id = "1.6.10"
witness-id = "1.6.11"

I created the wallet using cli_wallet
I imported the nathan balance
I upgraded nathan's account so that I could create additional accounts
i created an account named "account01"
I transferred   2000000000 BTS from nathan to account01 and it was succesfull

I know downloaded the bitshares wallet and configured it to connect to my testnets public facing IP address on port 11011

1) It recognizes that there is an "account01" but it wont accept the private key as a password
2) When I go to create a new account altogether I get the following error:

When I try to create a new account I keep getting errors:

Failed to create account: john-test - 0 exception: unspecified 10 assert_exception: Assert Exception operations.size() > 0: A transaction must have at least one operation {"trx":{"ref_block_num":12260,"ref_block_prefix":2906561686,"expiration":"2017-11-30T00:15:21","operations":[],"extensions":[]}} th_a transaction.cpp:57 validate {"call.method":"call","call.params":[3,"broadcast_transaction",[{"ref_block_num":12260,"ref_block_prefix":2906561686,"expiration":"2017-11-30T00:15:21","operations":[],"extensions":[],"signatures":[]}]]} th_a websocket_api.cpp:121 on_message {"error":"10 assert_exception: Assert Exception\noperations.size() > 0: A transaction must have at least one operation\n {\"trx\":{\"ref_block_num\":12260,\"ref_block_prefix\":2906561686,\"expiration\":\"2017-11-30T00:15:21\",\"operations\":[],\"extensions\":[]}}\n th_a transaction.cpp:57 validate\n\n {\"call.method\":\"call\",\"call.params\":[3,\"broadcast_transaction\",[{\"ref_block_num\":12260,\"ref_block_prefix\":2906561686,\"expiration\":\"2017-11-30T00:15:21\",\"operations\":[],\"extensions\":[],\"signatures\":[]}]]}\n th_a websocket_api.cpp:121 on_message","data":{"id":97003,"error":{"code":1,"message":"10 assert_exception: Assert Exception\noperations.size() > 0: A transaction must have at least one operation\n {\"trx\":{\"ref_block_num\":12260,\"ref_block_prefix\":2906561686,\"expiration\":\"2017-11-30T00:15:21\",\"operations\":[],\"extensions\":[]}}\n th_a transaction.cpp:57 validate\n\n {\"call.method\":\"call\",\"call.params\":[3,\"broadcast_transaction\",[{\"ref_block_num\":12260,\"ref_block_prefix\":2906561686,\"expiration\":\"2017-11-30T00:15:21\",\"operations\":[],\"extensions\":[],\"signatures\":[]}]]}\n th_a websocket_api.cpp:121 on_message","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"transaction.cpp","line":57,"method":"validate","hostname":"","thread_name":"th_a","timestamp":"2017-11-30T00:14:51"},"format":"operations.size() > 0: A transaction must have at least one operation","data":{"trx":{"ref_block_num":12260,"ref_block_prefix":2906561686,"expiration":"2017-11-30T00:15:21","operations":[],"extensions":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":121,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2017-11-30T00:14:51"},"format":"","data":{"call.method":"call","call.params":[3,"broadcast_transaction",[{"ref_block_num":12260,"ref_block_prefix":2906561686,"expiration":"2017-11-30T00:15:21","operations":[],"extensions":[],"signatures":[]}]]}}]}}}} th_a state.cpp:38 handle_reply
×