Skip to content

fix: pass world address as array to arcadeAtom subscription#280

Merged
MartianGreed merged 2 commits intomainfrom
fix/arcade-atom-world-address
Feb 19, 2026
Merged

fix: pass world address as array to arcadeAtom subscription#280
MartianGreed merged 2 commits intomainfrom
fix/arcade-atom-world-address

Conversation

@MartianGreed
Copy link
Collaborator

Problem

arcadeAtom subscription wasn't catching entity updates (order create/cancel).

Cause

createEntityQueryWithUpdatesAtom expects worldAddresses as string[] | null | undefined, but mainnetConfig.manifest.world.address (a plain string) was passed directly. This meant the underlying onEntityUpdated gRPC subscription wasn't properly filtering by world address, so live updates were silently dropped.

Fix

Wrap the world address in an array: [mainnetConfig.manifest.world.address]

Initial query was unaffected since ToriiQueryBuilder handles the address differently.

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arcade Ready Ready Preview Feb 19, 2026 2:05pm
arcade-storybook Ready Ready Preview Feb 19, 2026 2:05pm

Request Review

The worldAddresses parameter of createEntityQueryWithUpdatesAtom expects
string[] but was receiving a plain string. This caused onEntityUpdated
to not properly filter by world address, resulting in entity subscription
updates (order create/cancel) not being caught.
@MartianGreed MartianGreed force-pushed the fix/arcade-atom-world-address branch from 397f5d9 to 5ee5b05 Compare February 19, 2026 14:03
@MartianGreed MartianGreed merged commit ba60647 into main Feb 19, 2026
5 checks passed
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.

1 participant