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(ETH transport & heartbeats): various enhancements/features #2058

Merged
merged 55 commits into from
Feb 26, 2024

Commits on Jan 26, 2024

  1. implement bare types for websocket transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    f02fd9b View commit details
    Browse the repository at this point in the history
  2. ws transport support and removal of eth::web3 field

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    7977a72 View commit details
    Browse the repository at this point in the history
  3. implement fn prepare for websocket_transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    2734cd1 View commit details
    Browse the repository at this point in the history
  4. save dev state

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    6973845 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. partial design of handling request and socket events

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    37324bc View commit details
    Browse the repository at this point in the history
  2. fix WASM errors

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    1de6a3f View commit details
    Browse the repository at this point in the history
  3. implement keepalive for ws connections

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b969898 View commit details
    Browse the repository at this point in the history
  4. save dev state

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b6f7c6d View commit details
    Browse the repository at this point in the history
  5. add TODO

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    4d02fb0 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. make the websocket transport working

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    d06c195 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. improve websocket_transport performance by a lot

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    059971e View commit details
    Browse the repository at this point in the history
  2. add some doc-comments

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    d770af9 View commit details
    Browse the repository at this point in the history
  3. make the connection loop continious

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    f89191e View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. implement memory deallication on map pointer

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    d336dbf View commit details
    Browse the repository at this point in the history
  2. add todo note

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    73d71fb View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. implement ExpirableEntry common module

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    1e0cba4 View commit details
    Browse the repository at this point in the history
  2. fixed-TODO: clear disconnected/outdated channels

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    95152b5 View commit details
    Browse the repository at this point in the history
  3. fix comma

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    ca790a4 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. add client rotation on eth

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    648832c View commit details
    Browse the repository at this point in the history
  2. add TODO task

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    b045e8d View commit details
    Browse the repository at this point in the history
  3. unify with_polling and with_socket

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    3c2313a View commit details
    Browse the repository at this point in the history
  4. use event handlers in websocket transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    277aa75 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. implement proper node rotation on ETH

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    19cfad7 View commit details
    Browse the repository at this point in the history
  2. fix the leftover TODO

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    20179d1 View commit details
    Browse the repository at this point in the history
  3. use break instead of return

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    acaada4 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. fix gui_auth related changes

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    3ddf62a View commit details
    Browse the repository at this point in the history
  2. support komodo-defi-proxy in new websocket transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    03eb60a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. implement heartbeat event

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    3da4c34 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. fix eth get_live_client for ws transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    d9c0a5b View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. cleanup leftovers from dev

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    febad66 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. remove EthClient abstraction

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    3e47db6 View commit details
    Browse the repository at this point in the history
  2. update websocket_transport module doc

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    df6682c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    498025d View commit details
    Browse the repository at this point in the history
  4. add new error type HeartbeatEventInitFailed

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    0fe4e9a View commit details
    Browse the repository at this point in the history
  5. merge expirable map values

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    1e7a610 View commit details
    Browse the repository at this point in the history
  6. increase readibility in websocket_transport connection logic

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d389c51 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. improve node rotation and nit fixes

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    fb96d95 View commit details
    Browse the repository at this point in the history
  2. shared ref on web3_instances

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    09a7ba7 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. simplify last_request_failed handling

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    751ba29 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. implement temporary connections for websocket transport

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    aab065e View commit details
    Browse the repository at this point in the history
  2. use incremental timeouts

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    5c0606f View commit details
    Browse the repository at this point in the history
  3. switch info log into debug

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    93589e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. improve how we handle last_request_failed

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    c5177ea View commit details
    Browse the repository at this point in the history
  2. seperate select functions controlled by callers

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    272a0b6 View commit details
    Browse the repository at this point in the history
  3. remove redundant comments

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    0d6656b View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. revert Arc on web3_instances

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    5e5c2e0 View commit details
    Browse the repository at this point in the history
  2. create eth_rpc abstraction module

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    a8440e8 View commit details
    Browse the repository at this point in the history
  3. add doc-comments to eth_rpc module

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6a2ec70 View commit details
    Browse the repository at this point in the history
  4. prefer pub(crate)

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b8d9c85 View commit details
    Browse the repository at this point in the history
  5. update outdated logs

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6b7267c View commit details
    Browse the repository at this point in the history
  6. Merge branch 'dev' of github.com:KomodoPlatform/komodo-defi-framework…

    … into eth-ws-and-heartbeats
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    7107275 View commit details
    Browse the repository at this point in the history
  7. fix WASM error

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    df48248 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. apply various improvements

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    665dc2f View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. send responses through notifier channel

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9de616c View commit details
    Browse the repository at this point in the history
  2. clear outdated entries before sending response

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    537a020 View commit details
    Browse the repository at this point in the history