Skip to content

Support EVM legacy transactions #11

Open
@EdsonAlcala

Description

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();

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions