Skip to content

Instantly share code, notes, and snippets.

@fortmarek
Created February 28, 2020 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fortmarek/dd24e3cd33ac8dc704664f69bc5b143d to your computer and use it in GitHub Desktop.
Save fortmarek/dd24e3cd33ac8dc704664f69bc5b143d to your computer and use it in GitHub Desktop.
Update store
private func updateStore(of contract: String) {
tezosClient.rateContract(at: contract)
.statusPublisher()
.map(\.storage)
// Do something with the synced storage
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment