gnosis / dex-services

Off-chain services for the Gnosis Protocol v1.
33 stars 9 forks source link

Use custom GPv1 deployement block #1649

Closed fleupold closed 3 years ago

fleupold commented 3 years ago

This PR addresses an alert we are seeing with the latest geth nodes that by default do not contain tx inclusion logs for more than one year. Since our GPv1 Settlement contract was deployed more than a year ago, we run into issues fetching all events (which tries to get the block number from the deployment tx).

We fix this by manually specifying the block numbers for the the three main deployments:

Due to some version incompatibilities stemming from the new ethcontract-rs version, I had to remove the Cargo.lock file and recreate it from scratch.

Test Plan

CI.