feat: Remove referer functionality#2137
Merged
Merged
Conversation
Test Results 7 files ±0 128 suites ±0 34m 27s ⏱️ + 1m 43s Results for commit f774ba1. ± Comparison against base commit b6477b2. This pull request removes 4 tests.♻️ This comment has been updated with latest results. |
avitenzer
reviewed
Dec 8, 2025
45bc5dc to
e7c6fe9
Compare
There was a problem hiding this comment.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on January 23
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
83092d5 to
658670c
Compare
- Remove refererBackendAddressFlagName and refererMarkerFlagName flags - Remove RefererData struct and all related code - Remove referer route registrations from REST, JSON-RPC, and Tendermint RPC - Delete ConsumerReferrerClient implementation and tests - Update all function signatures to remove refererData parameters - Clean up unused imports and variables Related to PR #1210
- Remove refererMatchString field from ConsumerWebsocketManager struct - Remove RefererMatchString field from ConsumerWebsocketManagerOptions struct - Remove RefererMatchString parameter from jsonRPC and tendermintRPC websocket initialization
- Update NewConsumerWSSubscriptionManager calls in tests to remove refererData parameter - Update ServeRPCRequests calls in tests to remove refererData parameter - Fix code formatting with gofmt and gofumpt
adae27b to
f774ba1
Compare
NadavLevi
approved these changes
Jan 19, 2026
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.
Related to PR #1210
Description
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!in the type prefix if API or client breaking changemainbranchReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
Note
Eliminates referer support throughout the consumer stack and simplifies listener/manager APIs.
RefererDataand all referer logic (headers extraction, websocket/local storage,SendReferercalls) fromchainlib(JSON-RPC, Tendermint RPC, REST, gRPC) and websocket managersprotocol/metrics/consumer_referrer_client.*and related testsreferer-be-addressandreferer-marker; cleans config example by removing commentedreferer-be-addressNewChainListener,NewJrpcChainListener,NewTendermintRpcChainListener,NewRestChainListener,NewGrpcChainListener,ConsumerWSSubscriptionManager,ServeRPCRequests) and adjusts all callersWritten by Cursor Bugbot for commit f774ba1. This will update automatically on new commits. Configure here.