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

Support EVM legacy transactions #11

Open
EdsonAlcala opened this issue Oct 2, 2024 · 0 comments
Open

Support EVM legacy transactions #11

EdsonAlcala opened this issue Oct 2, 2024 · 0 comments

Comments

@EdsonAlcala
Copy link
Collaborator

EdsonAlcala commented Oct 2, 2024

Some ZKEVM chains still use legacy transactions.

We should support EVM legacy transactions.

My thoughts are in simply creating another building for that transaction type, then users can do:

let evm_tx = TransactionBuilder::new::<EvmLegacy>()
    .nonce(nonce)
    .to(to_address)
    .value(value)
    .input(data.clone())
    .gasprice(gas_price)
    .gas_limit(gas_limit)
    .chain_id(chain_id)
    .build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant