Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@tomusdrw
Copy link
Contributor

@tomusdrw tomusdrw commented Aug 3, 2018

Currently when you subscribe to either newHeads or storage you only get updates (so after next block is imported).

Dapps workflow usually involves first displaying current state and then subscribing to incoming changes.
To simplify this we send the initial values as the first notification in the subscription.

Also introduces BlockBuilderExt to simplify building test blocks using test_client + test_runtime

@tomusdrw tomusdrw added A0-please_review Pull request needs code review. M6-rpcapi labels Aug 3, 2018
@gavofyork gavofyork added A8-looksgood and removed A0-please_review Pull request needs code review. labels Aug 3, 2018
@gavofyork gavofyork merged commit 31b0e6b into master Aug 3, 2018
@gavofyork gavofyork deleted the td-subscriptionsinitial branch August 3, 2018 17:38
dvdplm added a commit that referenced this pull request Aug 5, 2018
* master:
  --version commit hash - style improvement (#496)
  Send initial values with subscription. (#493)
  Improve docker image size with a 2 stages image (#463)
liuchengxu pushed a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants