onflow/flow-java-client-example

mainnet test issue

Opened this issue · 5 comments

another issue,
when I test in mainnet
I got null return for createaccount:
image
image
image

anyone knows the reason? thanks

ERROR MESSAGE:

FlowTransactionResult(status=SEALED, statusCode=1, errorMessage=[Error Code: 1006] invalid proposal key: public key 3 on account xxxxxxxxx does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 3 on account xxxxxxxxxxxx does not have a valid signature: signature is not valid, events=[])

BUT, I CHECK MY PRIVATE KEY IS RIGHT, HOW IT RUNS? HOW CAN I GET THE RIGHT signature?

Try commenting out payload signature, instead of envelope.

If there is one signature it has to be envelope

Try commenting out payload signature, instead of envelope.

If there is one signature it has to be envelope

I have tried, but envelope doesn't work too

Try commenting out payload signature, instead of envelope.

If there is one signature it has to be envelope

emulator is ok ,but mainnet failed

if the pub key Curve is ECDSA_secp256k1, if there is one signature,it will be failed:
ERROR MESSAGE:

FlowTransactionResult(status=SEALED, statusCode=1, errorMessage=[Error Code: 1006] invalid proposal key: public key 3 on account xxxxxxxxx does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 3 on account xxxxxxxxxxxx does not have a valid signature: signature is not valid, events=[])

Because the flow-jvm-sdk can not support it by default, only support ECDSA_P256