question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for subscriptions

See original GitHub issue

We should expose some sort of subscription listener to the RestClient and use it in the CosmWasmConnection. In particular, for full bcp-compatibility, we need to implement:

  • watchBlockHeaders
  • watchAccount

And postTx could be done nicer with a subscription that with a poll.

I believe these are needed for dropping in CosmWasmConnection into the iov-wallet

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
webmaster128commented, Feb 12, 2020

What would also work is a hybrid, where you use a tendermint socker subscribtion to get notified about new data. When you receive a new transaction, you ignore the amino data and pull via REST.

0reactions
webmaster128commented, Jun 10, 2020

Closing since the BCP implementation is moving out of here and subscriptions will get their comeback in a couple of weeks when we successfully communicate with Tendermint.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Subscriptions and Billing - Official Apple Support
Manage your payment information. View payment methods on file, change the order of your payment method, or update your billing information. Change, add...
Read more >
Create and manage subscriptions - Play Console Help
Open Play Console and go to the Subscriptions page (Monetize > Products > Subscriptions). Click Create subscription. Enter your subscription details. Product ID ......
Read more >
Manage a Microsoft subscription
Select a link below for the help you need to manage your Microsoft subscription. Illustration for managing recurring billing. Turn on recurring billing....
Read more >
Setting up subscriptions - Shopify Help Center
From your Shopify admin, click Products. Click the product that you want to manage the subscription of. Select whether to sell the product...
Read more >
Get Started with Subscriptions in Dashboard and Point of Sale
Add the Billing details. Select the location for the subscription and the payment method. For existing customers, you can select from their saved...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found