We are creating the uint8Array for the signed transaction in this way:
writeU32(senderAdrresLength) // 32
writeU32(payloadType) // 2 for program
writeNumberOfArgumentsForProgram() // 2
writeArgumentType() // 0 for amount
writeArgumentType() // 1 for address
writeU32(receiverAddressLength) // 32
writeU32(0) // no modules so length 0
writeU64(1000000) // maxGasAmount
writeU64(0) // gasUnitPrice
Now we have a RawTransaction and we create a public key and we create a signature from this transaction. These we add to the Uint8Array.
The generated Uint8Array is a signed transaction which we set in the proto SignedTransaction. Now we submit it for transfer. All seems fine as the signature is correct and when we change gas settings we can get the response that the gaslimit is to low. As said we are currently stuck at the majorStatus 11 error.
We have checked everything but we do not know what is causing this error. We are using the creatInsecure() setting for the grpc connection, but that used to work fine. I hope someone can shed a light on thing.