-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Component
Cast
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.0.0-dev
What version of Foundryup are you on?
foundryup: 0.3.3
What command(s) is the bug in?
cast mktx
Operating System
Windows
Describe the bug
cast mktx --help does not mention --raw-unsigned flag as a feature, maybe it should be added here.
Along with that, this is what i wish to achieve using foundry tools
https://medium.com/@LucasJennings/a-step-by-step-guide-to-generating-raw-ethereum-transactions-c3292ad36ab4
I understood that, from the raw rlp transaction here, we can sign it using cast wallet sign <hash(raw unsigned txn)> (making sure the --from address is same as the account signed with), append this signature to the raw tx, and directly publish the txn using cast publish
I was in the impression that this flow will work, but i tried to verify the signed tx using cast mktx without --raw-unsigned flag for the same transaction data, and the bytes did not match
Is there some gaps in my understanding? Would greatly appreciate help here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status