Skip to content

After sepolia testnet reorg, events query no longer returns correct result #2925

@sistemd

Description

@sistemd

Query:

{
  "jsonrpc": "2.0",
  "method": "starknet_getEvents",
  "params": {
    "filter": {
      "from_block": {"block_number": 1495811},
      "to_block": {"block_number": 1495813},
      "address": "0x0099b63f39f0cabb767361de3d8d3e97212351a51540e2687c2571f4da490dbe",
      "chunk_size": 1000,
      "keys": [
        [
          "0x02a30df350e21df42fd7acac45dcadf3d6735f494a121d947f77c783dcfdd3d8",
          "0x01d6a9af40a4f4ea9f74b7219b3e6503feae55bec1dfb7eefb3699043f873c50"
        ],
        [
          "0x037d0597c4c9875f1eb2066111716d5d9f86251f08e15dff3d2743cfc9575634"
        ]
      ]
    }
  },
  "id": 1
}

Expected result:

{
  "jsonrpc": "2.0",
  "method": "starknet_getTransactionReceipt",
  "params": ["0x06537d49f0fedcf2c4aafa08d71774400ce88aa8888982c361c8be6173a16a89"],
  "id": 1
}

Actual result is empty.

The reorg that happened is in the following range:

Just before the reorg we were at some block X > 1495912, (I don't recall X but I could try to find it out), then the blocks in inclusive range [1495913, X] were deleted.

Metadata

Metadata

Assignees

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