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

Accept WebSockets provider for fee contract proxy check #2254

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

jbearer
Copy link
Member

@jbearer jbearer commented Nov 5, 2024

Fixes an issue where the new WebSockets functionality for the L1 client is unusable, because the sequencer takes the same ESPRESSO_SEQUENCER_L1_PROVIDER URL and passes it to a client that only accepts HTTP, for the fee contract proxy check.

This PR:

  • Changes the fee contract proxy check to use L1Client (which accepts HTTP or WS) instead of `Provider1
  • Changes the local demo to run some nodes with WS L1 providers and others with HTTP

@jbearer jbearer merged commit a8d5245 into main Nov 5, 2024
18 checks passed
@jbearer jbearer deleted the jb/fix-ws branch November 5, 2024 01:32
@@ -37,6 +37,7 @@ ESPRESSO_SEQUENCER_GENESIS_FILE=/genesis/demo.toml
ESPRESSO_SEQUENCER_L1_PORT=8545
ESPRESSO_SEQUENCER_L1_WS_PORT=8546
ESPRESSO_SEQUENCER_L1_PROVIDER=http://demo-l1-network:${ESPRESSO_SEQUENCER_L1_PORT}
ESPRESSO_SEQUENCER_L1_WS_PROVIDER=http://demo-l1-network:${ESPRESSO_SEQUENCER_L1_WS_PORT}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@jbearer is this http:// on purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants