Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 5d1a051714 | |
Derrick Hammer | e7083618c6 | |
Derrick Hammer | d1e88ce87f |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.57](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.56...v0.1.0-develop.57) (2023-09-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* need to init bls in manual ([d1e88ce](https://git.lumeweb.com/LumeWeb/libethsync/commit/d1e88ce87fa908ca47c176937decd5be96456b0c))
|
||||
|
||||
# [0.1.0-develop.56](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.55...v0.1.0-develop.56) (2023-09-16)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.56",
|
||||
"version": "0.1.0-develop.57",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.56",
|
||||
"version": "0.1.0-develop.57",
|
||||
"dependencies": {
|
||||
"@chainsafe/as-sha256": "^0.3.1",
|
||||
"@chainsafe/bls": "7.1.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.56",
|
||||
"version": "0.1.0-develop.57",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -3,6 +3,7 @@ import { IProver, IVerifyingProviderConstructor } from "#interfaces.js";
|
|||
import { IClientVerifyingProvider } from "#client/verifyingProvider.js";
|
||||
import { LightClientUpdate } from "#types.js";
|
||||
import { computeSyncPeriodAtSlot } from "@lodestar/light-client/utils";
|
||||
import {init} from "@chainsafe/bls/switchable.js";
|
||||
|
||||
interface Config extends BaseClientOptions {
|
||||
prover: IProver;
|
||||
|
@ -53,6 +54,7 @@ export default class Client extends BaseClient {
|
|||
if (this._latestPeriod + 1 === this.getCurrentPeriod()) {
|
||||
this.booted = true;
|
||||
this.emit("synced");
|
||||
await init("herumi");
|
||||
|
||||
await this.getLatestExecution(false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue