Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyManagerSignEthTX does not seem to handle property .from #674

Closed
RobertoSnap opened this issue Aug 23, 2021 · 0 comments · Fixed by #675
Closed

keyManagerSignEthTX does not seem to handle property .from #674

RobertoSnap opened this issue Aug 23, 2021 · 0 comments · Fixed by #675
Assignees
Labels
bug Something isn't working

Comments

@RobertoSnap
Copy link
Contributor

Bug severity
4

Describe the bug
Providing a transaction with a from property.

To Reproduce
Example

{"data":"0xa35ed4d6393138393137313630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e424c4f434b4252494447452041530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003424c4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a4cf045df8f8555af93e2ca94d33d07e2a286a6b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000006aaf7c8516d0c0000","to":"0x114e6B3D7A94D16813246590d6D7CF12f46A6ca1","from":"0xa4CF045df8f8555aF93E2ca94d33d07E2A286a6b","gasPrice":"0x01343d9e","nonce":0,"gasLimit":"0x7feb26","chainId":421611}

Observed behaviour
ERROR [Error: invalid object key - from (argument="transaction:from", value={"data":"0xa35ed4d6393138393137313630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e424c4f434b4252494447452041530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003424c4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a4cf045df8f8555af93e2ca94d33d07e2a286a6b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000006aaf7c8516d0c0000","to":"0x114e6B3D7A94D16813246590d6D7CF12f46A6ca1","from":"0xa4CF045df8f8555aF93E2ca94d33d07E2A286a6b","gasPrice":"0x01343d9e","nonce":0,"gasLimit":"0x7feb26","chainId":421611}, code=INVALID_ARGUMENT, version=properties/5.4.0)]
23-08-2021 at 22 30 52

Expected behaviour

  1. Handle from as a check that correct key is choosen.
  2. (maybe) choose key kid based on from.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants