Skip to content

Conversation

@troian
Copy link
Member

@troian troian commented Mar 29, 2025

fixes issue with server side of websocket closing subscription due to client not reading events fast. this happens when block has substantial amount of txs thus events count can be > 1000. this implementation now just waits for event with block header then queries block info and parses events.

@troian troian requested a review from a team as a code owner March 29, 2025 22:43
fixes issue with server side of websocket closing subscription
due to client not reading events fast. this happens when block has
substantial amount of txs thus events count can be > 1000.
this implementation now just waits for event with block header
then queries block info and parses events.

Signed-off-by: Artur Troian <troian@users.noreply.github.com>
@troian troian merged commit 5c5f8f6 into main Mar 29, 2025
17 checks passed
@troian troian deleted the events branch March 29, 2025 22:59
vigneshv-ocl pushed a commit to akash-network/helm-charts that referenced this pull request Mar 31, 2025
… fix, bid visibility workaround (#377)

This PR cherry-picks critical updates from `devel` into `main`,
preparing for the upcoming stable release.

### 🔧 Changes included:

- **Provider version:** `0.6.11-rc1`
- Build against Akash node `v0.38.2-rc0`, which
[implements](akash-network/node#1978) a
workaround for the spam TX issue.
- The provider now watches blocks and parses events locally, improving
bid visibility when the network is congested.

- **Gas price adjustment:** `AKASH_GAS_PRICES=0.025uakt`
- Aligns the provider with the new network-wide minimum gas price
enforced by validators.

- **Broadcast timeout extended:** `AKASH_TX_BROADCAST_TIMEOUT=60s`
  - Addresses issues with `akash-provider` hitting RPC timeouts:
    ```
"RPC error -32603 - Internal error: timed out waiting for tx to be
included in a block"
    ```

> 🔖 Note: While the Helm chart currently references the `0.6.11-rc1`
version of the provider, a stable release will be cut off of this same
version later this week. This version has already been tested and is
considered safe for promotion.
---

These changes were carefully cherry-picked to avoid bringing over
RC-specific workflows or other development-only logic from `devel`.

✅ Safe for merge into `main`. Reviewed and tested in the devel branch.

---------

Co-authored-by: Zeke <105066639+Zblocker64@users.noreply.github.com>
ghost pushed a commit to akash-network/helm-charts that referenced this pull request Mar 31, 2025
Includes:
- akash-network/node#1978: event: parse events after querying block results (0.38.2-rc0)
- akash-network/node#1976: query: add pagination support (0.38.1)
vigneshv-ocl pushed a commit to akash-network/helm-charts that referenced this pull request Mar 31, 2025
#378)

Includes:
- akash-network/node#1978: event: parse events after querying block
results (0.38.2-rc0)
- akash-network/node#1976: query: add pagination support (0.38.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants