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

feat: Add event notifications #410

Merged
merged 25 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8fb8dd4
feat: go from websocket-server to json rpc websocket/http server
zeeshanlakhani Oct 31, 2023
42c122f
refactor: cleanup settings
zeeshanlakhani Oct 31, 2023
0370da6
refactor: testing around e2e websocket/jsonrpc, feature-fl
zeeshanlakhani Nov 2, 2023
083b743
chore: return of the retry
zeeshanlakhani Nov 3, 2023
b979a2d
chore: test setup
zeeshanlakhani Nov 3, 2023
ad13842
fix: subscription map, checks, multiple broadcasts
zeeshanlakhani Nov 6, 2023
24a8741
chore: fix tests
bgins Nov 2, 2023
598fecc
feat: Add event notification
bgins Nov 4, 2023
6de0b6b
chore: Add send notification utility
bgins Nov 4, 2023
2b11d60
test: Add notification json string roundtrip test
bgins Nov 4, 2023
25d2ede
chore: Add connection closed notification
bgins Nov 4, 2023
b449e98
chore: Improve notification send utility
bgins Nov 4, 2023
73da4a2
chore: Add connection error notifications
bgins Nov 4, 2023
5b5dcc3
chore: Add listening on notification
bgins Nov 4, 2023
1537365
refactor: Move serialization to event notification type
bgins Nov 5, 2023
7a12666
chore: Move swarm notification types into a module
bgins Nov 5, 2023
7086ef9
chore: Add comments
bgins Nov 5, 2023
4830813
chore: Update sent message format
bgins Nov 6, 2023
8207f2e
test: Add connection notifications test
bgins Nov 6, 2023
53345f2
test: Fix libp2p listens on address test
bgins Nov 6, 2023
46c78f3
chore: Rename to use typ
bgins Nov 6, 2023
18ee297
chore: Remove print line
bgins Nov 6, 2023
c531c2f
chore: Merge branch 'zl/jsonrpc' into bgins/libp2p-events-over-websocket
bgins Nov 7, 2023
df7b340
chore: Move receipt notification to event handler
bgins Nov 7, 2023
794d3c7
chore: Add network notification test configs
bgins Nov 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use_flake

export RUST_LOG=homestar=debug,homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug
export RUST_LOG=homestar=debug,homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug,jsonrpsee_server=debug
export RUST_BACKTRACE=full
export RUSTFLAGS="--cfg tokio_unstable"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ report.json
homestar.err
homestar.out
homestar.pid
homestar.log*

# locks
homestar-wasm/Cargo.lock
Expand Down
Loading
Loading