kakarot-ssj icon indicating copy to clipboard operation
kakarot-ssj copied to clipboard

feat: add nonce to eth_call

Open enitrat opened this issue 1 year ago • 2 comments

see https://github.com/kkrt-labs/kakarot/pull/997

enitrat avatar Mar 06 '24 09:03 enitrat

@enitrat may i be assigned to this issue?

TAdev0 avatar Mar 06 '24 09:03 TAdev0

nonce already included in eth_call parameters:

 fn eth_call(
        self: @TContractState, origin: EthAddress, tx: EthereumTransaction

with :

enum EthereumTransaction {
    LegacyTransaction: LegacyTransaction,
    AccessListTransaction: AccessListTransaction,
    FeeMarketTransaction: FeeMarketTransaction
}

each enum variant has an associated struct that includes the nonce

I think this issue can be closed

TAdev0 avatar Mar 06 '24 10:03 TAdev0