Skip to content

Conversation

@notV4l
Copy link
Contributor

@notV4l notV4l commented Oct 18, 2024

No description provided.

src/wasm/mod.rs Outdated
let mut stream = stream.take_until_if(tripwire.clone());

while let Some(Ok(event)) = stream.next().await {
// subscription_id_clone.store(id, Ordering::SeqCst);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove these lines, since starknet event subscriptions dont have subscription IDs.

src/wasm/mod.rs Outdated

// Spawn a new task to handle the stream and reconnections
let client = self.inner.clone();
// let subscription_id_clone = Arc::clone(&subscription_id);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove these lines, since starknet event subscriptions dont have subscription IDs.

@notV4l notV4l force-pushed the on_starknet_event branch from 6926511 to c238adc Compare October 18, 2024 15:15
@notV4l notV4l marked this pull request as ready for review October 18, 2024 15:37
@notV4l notV4l force-pushed the on_starknet_event branch 2 times, most recently from 15354e6 to f375d20 Compare October 25, 2024 15:02
@notV4l notV4l force-pushed the on_starknet_event branch from 7d802ef to 896c2f5 Compare October 25, 2024 15:24
@Larkooo Larkooo merged commit 74c22aa into dojoengine:main Oct 25, 2024
2 of 3 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.

2 participants