Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express lane timeboost remove express lane calling sequencer #2762

Conversation

Tristan-Wilson
Copy link
Member

This PR removes the need for the expressLaneService to call the sequencer RPC directly. The reason that it was doing so previously was that our contract bindings require a ContractBackend interface passed in, which was previously only implemented by ethclient.Client. This PR makes an adapter for the ContractBackend interface that provides implementations of the methods needed by expressLaneService to make read only calls on the ExpressLaneAuction contract and to watch for events.

This PR is addressing @tsahee 's comment on #2561 (comment)

Testing done

go test -v -count=1 -run TestSequencerFeed_ExpressLaneAuction_ExpressLaneTxsHaveAdvantage ./system_tests

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Oct 29, 2024
Copy link
Contributor

@ganeshvanahalli ganeshvanahalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@eljobe eljobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…ress-lane-timeboost-remove-express-lane-calling-sequencer
@Tristan-Wilson Tristan-Wilson merged commit b13c89a into express-lane-timeboost Nov 20, 2024
3 of 9 checks passed
@Tristan-Wilson Tristan-Wilson deleted the express-lane-timeboost-remove-express-lane-calling-sequencer branch November 20, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants