We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b23dc80 + b0b3a4c commit 0b5077aCopy full SHA for 0b5077a
bootstrap/bootstrap.go
@@ -141,13 +141,17 @@ func (b *Bootstrap) StartEventIngestion(ctx context.Context) error {
141
142
chainID := b.config.FlowNetworkID
143
144
+ // the event subscriber takes the first block to sync from the Access node, which is the block
145
+ // after the latest cadence block
146
+ nextCadenceHeight := latestCadenceHeight + 1
147
+
148
// create event subscriber
149
subscriber := ingestion.NewRPCEventSubscriber(
150
b.logger,
151
b.client,
152
chainID,
153
b.keystore,
- latestCadenceHeight,
154
+ nextCadenceHeight,
155
)
156
157
callTracerCollector, err := replayer.NewCallTracerCollector(b.logger)
0 commit comments