diff --git a/.changeset/thirty-years-look.md b/.changeset/thirty-years-look.md new file mode 100644 index 000000000000..bf8435446302 --- /dev/null +++ b/.changeset/thirty-years-look.md @@ -0,0 +1,5 @@ +--- +'@eth-optimism/data-transport-layer': minor +--- + +Define L1 Starting block via OwnershipTransferred (occurring on block 1) rather than AddressSet (occuring on block 2 onwards) diff --git a/packages/data-transport-layer/src/services/l1-ingestion/service.ts b/packages/data-transport-layer/src/services/l1-ingestion/service.ts index 62ca2bd38fef..ad8894c8db5c 100644 --- a/packages/data-transport-layer/src/services/l1-ingestion/service.ts +++ b/packages/data-transport-layer/src/services/l1-ingestion/service.ts @@ -423,7 +423,7 @@ export class L1IngestionService extends BaseService { for (let i = 0; i < currentL1Block; i += 1000000) { const events = await this.state.contracts.Lib_AddressManager.queryFilter( - this.state.contracts.Lib_AddressManager.filters.AddressSet(), + this.state.contracts.Lib_AddressManager.filters.OwnershipTransferred(), i, Math.min(i + 1000000, currentL1Block) )