Replies: 1 comment 2 replies
-
Hi @bigman212, thank you for creating the issue! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I am trying to replace Web3J method to sign transactions with the one from wallet-core. Signature from wallet-core is declined with the message from Web3 when calling sendRawTransaction:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Signatures are valid, Web3j can send signed transaction from trust-core
Additional context
I have created a simple test that allows to check behaviour:
example.txt
Where:
The first assert fails like this:
![Screenshot 2023-12-10 at 16 31 09](https://private-user-images.githubusercontent.com/25337696/289361547-6f1d7a9e-9472-4485-9540-61d123c58d6a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTkzOTgsIm5iZiI6MTcxOTE5OTA5OCwicGF0aCI6Ii8yNTMzNzY5Ni8yODkzNjE1NDctNmYxZDdhOWUtOTQ3Mi00NDg1LTk1NDAtNjFkMTIzYzU4ZDZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDAzMTgxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI2OWVjNWRmOTFjMjI0NzFlN2FhOTA1OTc2YjFkZDFlMDk5OGFlZTQ1MTgyMDAzMDg0ZDc1OGFjYTM3MDA1MGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.g-1SZ9pcBw2H04jFxi2PvaM3-UoIM_ptwrGPm5XLe_Q)
Also Web3J doens't require to pass in the tx type: transfer or erc20 transfer, but trust-core does. Maybe I don't correctly configure builders?
Beta Was this translation helpful? Give feedback.
All reactions