Closed rllola closed 1 year ago
Here the .ros file
create_account(1){
create{
network = {"network":"cosmoshub-4 ", "blockchain":"Cosmos"};
key = generate_key({"curve_type": "secp256k1"});
account = derive({
"network_identifier": {{network}},
"public_key": {{key.public_key}}
});
// If the account is not saved, the key will be lost!
save_account({
"account_identifier": {{account.account_identifier}},
"keypair": {{key}}
});
}
}
I didn't write this so I assume it was working before...
This is an example from ethereum.ros, and here is the instruction of how to write *.ros
, you may use them as reference
You may wait for your chain to sync to tip then give a try, if this issue still exists you may use the debugger to deep dive what actually happen in the *.ros
I found the issue. It is because it is required to have at least 2 workflows : request and create.
It is written in the documentation
I don't know if there is a way to improve the error message or to quickly check the .ros file to be sure it include those 2.
Thanks for bringing this up, I am gonna improve the error message for this
I am still trying to run
check:construction
and now that I have increased the tip_delay so it can start, I have this error message.I have no clue why it is shutting down on its own like this. Any ideas?