Skip to content

Commit

Permalink
feat(eventindexer): rm assignmenthook for latest protocol changes (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey authored Jun 23, 2024
1 parent 31175b8 commit d461fed
Show file tree
Hide file tree
Showing 18 changed files with 450 additions and 3,294 deletions.
257 changes: 65 additions & 192 deletions packages/eventindexer/TaikoL1.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"internalType": "uint64"
},
{
"name": "maxBlocksToVerifyPerProposal",
"name": "maxBlocksToVerify",
"type": "uint64",
"internalType": "uint64"
},
Expand All @@ -125,13 +125,64 @@
"internalType": "uint96"
},
{
"name": "blockSyncThreshold",
"name": "stateRootSyncInternal",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "checkEOAForCalldataDA",
"type": "bool",
"internalType": "bool"
}
]
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "getLastSyncedBlock",
"inputs": [],
"outputs": [
{
"name": "blockId_",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "blockHash_",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "stateRoot_",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getLastVerifiedBlock",
"inputs": [],
"outputs": [
{
"name": "blockId_",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "blockHash_",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "stateRoot_",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
Expand Down Expand Up @@ -652,19 +703,6 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "resetGenesisHash",
"inputs": [
{
"name": "_genesisBlockHash",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "resolve",
Expand Down Expand Up @@ -718,91 +756,6 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "slotA",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple",
"internalType": "struct TaikoData.SlotA",
"components": [
{
"name": "genesisHeight",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "genesisTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "lastSyncedBlockId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "lastSynecdAt",
"type": "uint64",
"internalType": "uint64"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "slotB",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple",
"internalType": "struct TaikoData.SlotB",
"components": [
{
"name": "numBlocks",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "lastVerifiedBlockId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "provingPaused",
"type": "bool",
"internalType": "bool"
},
{
"name": "__reservedB1",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "__reservedB2",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "__reservedB3",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "lastUnpausedAt",
"type": "uint64",
"internalType": "uint64"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "state",
Expand Down Expand Up @@ -1447,56 +1400,6 @@
],
"anonymous": false
},
{
"type": "event",
"name": "StateVariablesUpdated",
"inputs": [
{
"name": "slotB",
"type": "tuple",
"indexed": false,
"internalType": "struct TaikoData.SlotB",
"components": [
{
"name": "numBlocks",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "lastVerifiedBlockId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "provingPaused",
"type": "bool",
"internalType": "bool"
},
{
"name": "__reservedB1",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "__reservedB2",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "__reservedB3",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "lastUnpausedAt",
"type": "uint64",
"internalType": "uint64"
}
]
}
],
"anonymous": false
},
{
"type": "event",
"name": "TransitionContested",
Expand Down Expand Up @@ -1794,6 +1697,16 @@
"name": "L1_ALREADY_PROVED",
"inputs": []
},
{
"type": "error",
"name": "L1_BATCH_TRANSFER_FAILED",
"inputs": []
},
{
"type": "error",
"name": "L1_BATCH_TRANSFER_FAILED",
"inputs": []
},
{
"type": "error",
"name": "L1_BLOB_NOT_AVAILABLE",
Expand Down Expand Up @@ -1859,11 +1772,6 @@
"name": "L1_INVALID_CONFIG",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_CONFIG",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_GENESIS_HASH",
Expand All @@ -1874,16 +1782,6 @@
"name": "L1_INVALID_GENESIS_HASH",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_HOOK",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_HOOK",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_PARAM",
Expand All @@ -1899,16 +1797,6 @@
"name": "L1_INVALID_PAUSE_STATUS",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_PROVER",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_PROVER",
"inputs": []
},
{
"type": "error",
"name": "L1_INVALID_SIG",
Expand Down Expand Up @@ -1946,7 +1834,7 @@
},
{
"type": "error",
"name": "L1_LIVENESS_BOND_NOT_RECEIVED",
"name": "L1_NOT_ASSIGNED_PROVER",
"inputs": []
},
{
Expand All @@ -1956,7 +1844,7 @@
},
{
"type": "error",
"name": "L1_NOT_ASSIGNED_PROVER",
"name": "L1_NO_HOOKS",
"inputs": []
},
{
Expand All @@ -1974,11 +1862,6 @@
"name": "L1_TOO_LATE",
"inputs": []
},
{
"type": "error",
"name": "L1_TOO_LATE",
"inputs": []
},
{
"type": "error",
"name": "L1_TOO_MANY_BLOCKS",
Expand Down Expand Up @@ -2009,16 +1892,6 @@
"name": "L1_TRANSITION_NOT_FOUND",
"inputs": []
},
{
"type": "error",
"name": "L1_UNAUTHORIZED",
"inputs": []
},
{
"type": "error",
"name": "L1_UNAUTHORIZED",
"inputs": []
},
{
"type": "error",
"name": "L1_UNEXPECTED_PARENT",
Expand Down
Loading

0 comments on commit d461fed

Please sign in to comment.