Skip to content

Rollup RPC Namespace Test Coverage #524

@tynes

Description

@tynes

Describe the bug
The rollup RPC namespace in geth is not fully covered. The main method right now is rollup_getInfo

The implementation is found here:

func (api *PublicRollupAPI) GetInfo(ctx context.Context) rollupInfo {

There is a known bug where the L1BlockNumber that is returned is incorrect, see #522 (comment)

To Reproduce
Steps to reproduce the behavior:

  1. Start up a replica using Document running a replica #473
  2. Send the RPC request rollup_getInfo
  3. The blocknumber does not accurately match the EVM NUMBER opcode if a transaction were to execute at that moment

Expected behavior
All fields returned by the RPC are correct and tested

Metadata

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