Unable to submit a transaction in Net Core Client

Hello guys, I’m trying to make a Net Core Client for Libra.
Basically what I’m trying to do is, submit a transaction between to accounts. This was working the past month, but now is not working anymore probably there was a change in the Libra Core.

I updated the proto files, since I notice that had several changes in them.

As it seems in the image the admision control return like the transaction is accepted. But when I want to query it is like it was not signed.

The SignedTransactionWithProof is comming null, so my guess is something wrong with the signature.

Please if anybody know about a change in the signature or any change that could be a breaking change in my code I really appreciate the help´.

Leave my code if anyone want to check it.

Thanks all in advance!

hi!
transaction bytecode was changed:
PtPTrxBytecode = new byte { 76, 73, 66, 82, 65, 86, 77, 10, 1, 0, 7, 1, 74, 0, 0, 0, 4, 0, 0, 0, 3, 78, 0, 0, 0, 6, 0, 0, 0, 12, 84, 0, 0, 0, 6, 0, 0, 0, 13, 90, 0, 0, 0, 6, 0, 0, 0, 5, 96, 0, 0, 0, 41, 0, 0, 0, 4, 137, 0, 0, 0, 32, 0, 0, 0, 7, 169, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 1, 3, 0, 2, 0, 2, 4, 2, 0, 3, 0, 3, 2, 4, 2, 6, 60, 83, 69, 76, 70, 62, 12, 76, 105, 98, 114, 97, 65, 99, 99, 111, 117, 110, 116, 4, 109, 97, 105, 110, 15, 112, 97, 121, 95, 102, 114, 111, 109, 95, 115, 101, 110, 100, 101, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 4, 0, 12, 0, 12, 1, 17, 1, 0, 2 };

I have already developed libra sdk for C# https://github.com/Rio-dapp/libra-csharp-sdk

Join me and lets develop it together! Libra team updates their blockchain all the time,so we need to support new functions. As it’s open-source sdk i think it would be better if we combine our efforts
:seedling: :beers:

I had already updated my bytecode and that was not the error.
Reviewing your code (thanks fo share it!) I notice that i was sending 0 to the expirationTime.

Adding

rawTx.ExpirationTime = (ulong)DateTimeOffset.UtcNow.AddSeconds(60).ToUnixTimeSeconds();

Fixed the problem :slight_smile:

Thanks!

1 Like