docs: multi-chain deployment patterns — Mainnet/Gnosis/Arbitrum/Base#310
Open
lgahdl wants to merge 2 commits into
Open
docs: multi-chain deployment patterns — Mainnet/Gnosis/Arbitrum/Base#310lgahdl wants to merge 2 commits into
lgahdl wants to merge 2 commits into
Conversation
…124) New docs/deployment/multi-chain.md covering the verbatim M5 grant deliverable: per-chain [chains.<id>] + env-var wiring, CoW orderbook URL slugs per network, per-chain contract addresses (CREATE2-stable vs EthFlow per-network caveat), the [[subscription]] duplication pattern with twap-monitor and ethflow-watcher examples, event topic reference, and resource sizing guidance. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfSsJPYDQ1GQGbnSVFxATx
Collaborator
|
Following up on the Wonder if this line could mislead operators who only have an HTTP endpoint available. Maybe it could be reworded to something like "WebSocket gives lower-latency streaming, but HTTP works for both block and log subscriptions via polling." |
jean-neiverth
approved these changes
Jul 10, 2026
…ents Review catches: - The EthFlow section claimed the address is per-network and told operators to hunt for a different mainnet address. The current production deployment is address-identical on every supported chain (cowprotocol's ETH_FLOW_PRODUCTION, from networks.prod.json) - the old text would have steered a mainnet port toward the legacy v1.0.0 deployment and missed every OrderPlacement event. The real caveat is narrower and now stated as such: sameness is not a CREATE2 guarantee, legacy per-version deployments exist, verify on version bumps. - "every chain the orderbook supports" was false (the Chain enum also carries BNB, Polygon, Avalanche, Linea, Plasma); the table is scoped to the chains this repo's modules target. - Dropped the unsupported "Gnosis volume roughly equal to Mainnet" claim; require_ws violations are an ERROR log, not a warning; the RPC recommendation names a rate requirement instead of a specific provider's free tier. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfSsJPYDQ1GQGbnSVFxATx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #124
Verbatim M5 grant deliverable: adds
docs/deployment/multi-chain.md.What's covered
engine.tomlwiring —[chains.<id>]blocks,${VAR}env-var substitution,require_ws = falseopt-out for poll-only chains[extensions.cow.orderbook_urls]override pattern for staging/mockscowprotocol/ethflowcontractnetworks.prod.json[[subscription]]duplication pattern — annotatedtwap-monitorandethflow-watcherexamples spanning two chains eachSource verification
All contract addresses, orderbook slugs, and barn eligibility are derived directly from
cowprotocol-primitives-0.1.0(already a workspace dependency) and the existingmodule.tomlmanifests — no manual lookup.🤖 Generated with Claude Code
https://claude.ai/code/session_01TfSsJPYDQ1GQGbnSVFxATx