Skip to content

Conversation

@clangenb
Copy link
Contributor

@clangenb clangenb commented Jun 3, 2020

worker

  • use lazy_static to get a global static reference to the node_url. With this, we no longer need to pass the url into the enclave.

enclave/stf

  • perform on-chain storage updates in get_state if needed

@clangenb clangenb merged commit 48f5199 into master Jun 3, 2020
brenzi pushed a commit to encointer/encointer-worker that referenced this pull request Sep 8, 2020
* [enclave] return preemptively if there are no worker_requests to be performed in state_update upon block import

* [worker] use lazy_static to create a global static reference to the node_url. No longer passing the node_url to the enclave needed.

* [enclave/stf] support on-chain storage access in get_state

* perform_ra: rename url -> w_url to prevent confusion with node_url

* clippy

* [enclave] ! fix: init-shard if it does not exist
@clangenb clangenb deleted the cl-allow-on-chain-read-in-get-state branch May 31, 2021 14:46
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