Phala-Network / phala-blockchain

The Phala Network Blockchain, pRuntime and the bridge.
https://phala.network
Apache License 2.0
332 stars 149 forks source link

pruntime: Allow HTTP proxy to sidevm when syncing chain state #1579

Closed kvinwang closed 2 months ago

kvinwang commented 2 months ago

It will return an error if the runtime is syncing chain state while an incoming HTTP request to SideVM arrives. This behavior is unnecessary. This PR fixes the issue.