Created
December 13, 2019 17:14
-
-
Save papacarp/b261815fdde2f33af549c28dcee6796c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ip-172-31-24-115:~/nightly/Alternate-Jormungandr-Testnet/scripts/jormu-helper-scripts$ ./delegate-owner.sh ed25519e_sk1drg... 1 | |
81f99b950f9b5b430047694c64e51f42f8b1fc68775a0e866136a40a3e7b1eb | |
================DELEGATE ACCOUNT================= | |
REST_URL: http://localhost:5001/api | |
ACCOUNT_SK: ed25519e_sk1drg... | |
BLOCK0_HASH: 9409af111b04896c756c1cee3b7f9bae8b9ed1843c9e0a5f07d92ab9b62f6f78 | |
FEE_CONSTANT: 200000 | |
FEE_COEFFICIENT: 100000 | |
FEE_CERTIFICATE: | |
================================================== | |
##1. Create the delegation certificate for the Account address | |
./delegate-owner.sh: line 60: 200000 + 100000 + : syntax error: operand expected (error token is "+ ") | |
##2. Create the offline delegation transaction for the Account address | |
##3. Add input account to the transaction | |
error: Invalid value for '<value>': cannot parse integer from empty string | |
##4. Add the certificate to the transaction | |
##5. Finalize the transaction | |
transaction has owner stake delegation, but has 0 inputs, should have 1 | |
##6. Create the witness | |
##7. Add the witness to the transaction | |
adding witness to balancing transaction is not valid | |
##8. Show the transaction info | |
--- | |
balance: 200000 | |
fee: 200000 | |
input: 0 | |
inputs: [] | |
num_inputs: 0 | |
num_outputs: 0 | |
num_witnesses: 0 | |
output: 0 | |
outputs: [] | |
sign_data_hash: 6f7083f102379eb611f5d9e95bfd1fd38f6b35c9468a6738004dc9e969bb0970 | |
status: balancing | |
##9. Finalize the transaction and send it to the blockchain | |
sealing balancing transaction is not valid | |
cannot get message from transaction in balancing state | |
input is not a valid fragment | |
|-> failed to fill whole buffer | |
##Waiting for new block to be created (timeout = 200 blocks = 400s) | |
New block was created - 1af5dd3680c6496f44241b49acce3887a735d960eda1af540a534e6832766ea2 | |
##10. Check the account's delegation status | |
--- | |
counter: 1 | |
delegation: | |
pools: [] | |
last_rewards: | |
epoch: 0 | |
reward: 0 | |
value: 99499700000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment