-
Notifications
You must be signed in to change notification settings - Fork 84
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
dev: refactor decode_legacy_tx
for consistency with typed transactions
#979
Comments
decode_legacy_tx
to use for consistency with typed transactionsdecode_legacy_tx
for consistency with typed transactions
🙋🏽♂️ |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello i am a frontend dev and blockchain developer How I plan on tackling this issueHere’s a summarized version of the refactor task for decode_legacy_tx: Locate decode_legacy_tx in the transaction.cairo file. |
@enitrat Please can I take on this instead |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello, I'm Daniel Calderón! How I plan on tackling this issue
|
This comment was marked as abuse.
This comment was marked as abuse.
@ooochoche how are things going? |
@enitrat I should be done within the next 48hrs |
Hi @ooochoche, it's been a week now - if you do not have any time to allocate to this, please let this be worked on by other contributors |
I am creating a PR now |
kakarot-ssj/crates/utils/src/eth_transaction/transaction.cairo
Line 236 in 5352614
Refactor this function two explicitly split the two steps, as performed in
decode_enveloped_typed_transaction
decode_enveloped_typed_transaction
, we getrlp_decoded_data
from decoding theencoded_tx_data
and perform various checks on itdecode_fields
to build theTxLegacy
instance.The
decode_fields
part must be moved tocrates/utils/src/eth_transaction/legacy.cairo
where, similarly toeip2930.cairo
, we will implement a trait with the implementation of decode_fieldsThe text was updated successfully, but these errors were encountered: