Open
Description
{"message": "Jun 1 08:21:35 lilypad-vm-0 lilypad[475]: {\"level\":\"error\",\"error\":\"tipset height in future\",\"time\":\"2023-06-01T08:21:35.482244743Z\",\"caller\":\"/Users/simon/lilypad/pkg/bridge/contract.go:170\"}"}
Looks like we sometimes ask for blocks that haven't happened yet.
In this code:
https://github.com/bacalhau-project/lilypad/blob/7b6bfdf5fd9f854c35e8b8cf0af8a773b9da724e/pkg/bridge/contract.go#L167
We should probably be asking for system.Min(currentBlock, r.maxSeenBlock+1)
in case currentBlock > r.maxSeenBlock+1
?