Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 5d1a051714 chore(release): 0.1.0-develop.57 [skip ci]
# [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](d1e88ce87f))
2023-09-16 15:21:15 +00:00
Derrick Hammer e7083618c6
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:20:23 -04:00
Derrick Hammer d1e88ce87f
fix: need to init bls in manual 2023-09-16 11:20:14 -04:00
4 changed files with 12 additions and 3 deletions

View File

@ -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)

4
npm-shrinkwrap.json generated
View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libethsync",
"version": "0.1.0-develop.56",
"version": "0.1.0-develop.57",
"type": "module",
"repository": {
"type": "git",

View File

@ -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 {