File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,6 @@ func TestForkingAgainstTestnet(t *testing.T) {
170170
171171// TestForkingAgainstMainnet exercises the forking path with mainnet
172172func TestForkingAgainstMainnet (t * testing.T ) {
173- t .Skip ("remove after Forte release" )
174173 logger := zerolog .Nop ()
175174
176175 // Get remote latest sealed height to pin fork
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ const (
5151 maxDelay = 30 * time .Second
5252 jitterFactor = 0.1
5353 maxConcurrentRequests = 10 // Maximum concurrent requests to remote node
54+ blockBuffer = 10 // Buffer to allow for block propagation
5455)
5556
5657// isRateLimitError checks if the error is a rate limiting error
@@ -290,7 +291,7 @@ func (s *Store) initializeStartBlock(ctx context.Context) error {
290291 if err != nil {
291292 return fmt .Errorf ("could not get last block height: %w" , err )
292293 }
293- s .forkHeight = resp .Block .Height
294+ s .forkHeight = resp .Block .Height - blockBuffer
294295 }
295296
296297 s .logger .Info ().
You can’t perform that action at this time.
0 commit comments