Skip to content

Rpc: missing field on L1 messages transactions #239

Open
@greged93

Description

@greged93

Describe the bug

When querying a L1 message transaction on the Reth node, the returned result is missing the nonce field, which should be set to 0 by default for L1 messages.

Steps to reproduce

  1. Run Scroll reth locally: RUST_LOG=debug c run --bin scroll-reth --features skip-state-root-validation --manifest-path ./crates/scroll/bin/scroll-reth/Cargo.toml -- node --chain scroll-mainnet --debug.tip 0xbe3fae5d963f81f550c0e6bc2b7a2b9c5016c6f302438c28cf516520fdfe5305 --http
  2. Query a L1 message: ETH_RPC_URL=http://127.0.0.1:8545 cast tx 0x751a03a3b7e10d3b136acad34a64f6cdeb28514a03f42f83c2e77df752a3a524 --json
  3. Query the same L1 message from a geth node: ETH_RPC_URL=https://1rpc.io/scroll cast tx 0x751a03a3b7e10d3b136acad34a64f6cdeb28514a03f42f83c2e77df752a3a524 --json

The result from Reth will be missing the nonce field.

Node logs


Platform(s)

Mac (Apple Silicon)

Container Type

Not running in a container

What version/commit are you on?

Latest commit

What database version are you on?

NA

Which chain / network are you on?

NA

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions