Draft
Conversation
Co-authored-by: xDarksome <22872975+xDarksome@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove create_topic RPC and watch API
Remove create_topic RPC and watch API
Feb 20, 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.
Removes the
wc_createTopicRPC method and theirn_watchRegister/irn_watchUnregisterwatch API, including all associated types, client methods, and the webhook example.relay_rpc
CreateTopic,CreateTopicErrorand all watch types (WatchRegister,WatchUnregister,WatchError,WatchRegisterResponse)Params::CreateTopic,Params::WatchRegister,Params::WatchUnregisterenum variantsrpc/watch.rsmodule entirelyrelay_client
http::Client::create_topic,watch_register,watch_register_behalf,watch_unregisterWatchRegisterRequest,WatchUnregisterRequest,HttpClientError::Jwtwebsocket::Client::create_topicoriginfield fromhttp::Client(was only populated to support watch JWT claims)root
examples/webhook.rsand removed its[[example]]entry andwarpdev-dependencyHow Has This Been Tested?
Existing unit tests pass (
cargo test -p relay_rpc -p relay_client).Due Diligence
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
binaries.soliditylang.org/home/REDACTED/work/reown-rust/reown-rust/target/debug/build/relay_rpc-c16ca19e5d190591/out/../../../../.foundry/bin/forge /home/REDACTED/work/reown-rust/reown-rust/target/debug/build/relay_rpc-c16ca19e5d190591/out/../../../../.foundry/bin/forge build --contracts=relay_rpc/contracts --cache-path /home/REDACTED/work/reown-rust/reown-rust/target/debug/build/relay_rpc-c16ca19e5d190591/out/../../../../.foundry/forge/cache --out /home/REDACTED/work/reown-rust/reown-rust/target/debug/build/relay_rpc-c16ca19e5d190591/out/../../../../.foundry/forge/out 8bff5/build_script_build-7f48b6ffb558bff5.25hh9b8cgpung0klf2eux2wr6.0yetwzb.rcgucfg(feature, values()) 8bff5/build_script_build-7f48b6ffb558bff5.26nxbzwnhj0jun2idwhmpp51o.0yetwzb.rcgu-C 8bff5/build_script_build-7f48b6ffb558bff5.26phwlp9tw2xm5fx3bo2yxwjg.0yetwzb.rcgu.o 8bff5/build_script_build-7f48b6ffb558bff5.2g06m1oemylgspsn6o6b9qqjd.0yetwzb.rcgu.o 8bff5/build_script_build-7f48b6ffb558bff5.2gwcqiuke1fkyot6v86n0v7s6.0yetwzb.rcgu.o 8bff�� 8bff5/build_script_build-7f48b6ffb558bff5.2nf96x6renfbnl12hu9nfhx9h.0yetwzb.rcgu.o 8bff5/build_script_build-7f48b6ffb558bff5.2xjdbkpd3hnfhi2pztm3bp85k.0yetwzb.rcgu.o de/node/bin/as c 826f7a68079e6751-E pointer os.358bef6722a45-Wall(dns block)/home/REDACTED/work/reown-rust/.codeql-scratch/dbs/rust/working/target/debug/build/relay_rpc-37c5f631bf17a953/out/../../../../.foundry/bin/forge /home/REDACTED/work/reown-rust/.codeql-scratch/dbs/rust/working/target/debug/build/relay_rpc-37c5f631bf17a953/out/../../../../.foundry/bin/forge build --contracts=relay_rpc/contracts --cache-path /home/REDACTED/work/reown-rust/.codeql-scratch/dbs/rust/working/target/debug/build/relay_rpc-37c5f631bf17a953/out/../../../../.foundry/forge/cache --out /home/REDACTED/work/reown-rust/.codeql-scratch/dbs/rust/working/target/debug/build/relay_rpc-37c5f631bf17a953/out/../../../../.foundry/forge/out /home/REDACTED/work/reown-rust/.codeql-scratch/dbs/rust/working/target/debug/deps/libsyn-e1c96a7797b61fd0.rlib futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.0.rcgu.o futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.1.rcgu.o futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.2.rcgu.o futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.3.rcgu.o futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.4.rcgu.o futures_macro-3927f55cf91621ae.futures_macro.450e5fcfc49ae9a8-cgu.5.rcgu.o /home/REDACTED/wor--json=diagnostic-rendered-ansi,artifacts,future-incompat futures_macro-3927f55cf91621ae.5ch9vxvn74xfbsh7re80ie1oa.rcgu.o 7543991641147detcc deql-scratch/dbs-Wl,--version-script=/tmp/rustcpflWNT/list libsyn-e1c96a7797b61fd0.rlib libquote-819bddae12a512e2.rlib(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.