Comments (2)
Oh this brings up an interesting point. In the latest master of helios we have set the sync to function asynchronously. Because of this the helios.sync()
call does not actually block until helios syncs, so any proceeding calls in the code will throw this error.
We didn't notice it because helios is mostly used via cli where this issue won't crop up.
I think the best solution is to add a wait_sycned
function to helios which will block until helios syncs.
Thanks for pointing this out.
from helios.
I also have this error.
@ncitron Where should I add the wait_sycned
?
from helios.
Related Issues (20)
- config example shows unable to interpret `strict_checkpoint_age`, `load_external_fallback`, and `data_dir` from ~/.helios/helios.toml HOT 1
- invalid header hash found HOT 1
- thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: rpc error on method: finality_update HOT 6
- Logging when building from source HOT 6
- rpc error on method: spec, message: error decoding response body: expected value at line 1 column 1 HOT 2
- could not fetch bootstrap HOT 3
- feat: add database that uses browser local storage for caching checkpoints HOT 1
- feat: transaction simulation endpoint HOT 2
- feat: expose wait_synced with helios-ts HOT 1
- feat: support tracking consensus updates in helios-ts HOT 4
- Can't build execution v0.5.1 in Rust project HOT 1
- refactor: seperate protocol verification from RPC logic HOT 2
- invalid: cannot get environment variable when run example/call
- version `GLIBC_2.32' not found
- cannot get earlier transactions and blocks HOT 8
- The block synchronization information always lagging by about 2 blocks
- Crash on rpc error(s) HOT 1
- Can verify_logs() catch cases of eth_getLogs not returning all matching logs? HOT 3
- Helios as a library: compilation has a type error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helios.