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) # [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", "name": "@lumeweb/libethsync",
"version": "0.1.0-develop.56", "version": "0.1.0-develop.57",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libethsync", "name": "@lumeweb/libethsync",
"version": "0.1.0-develop.56", "version": "0.1.0-develop.57",
"dependencies": { "dependencies": {
"@chainsafe/as-sha256": "^0.3.1", "@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/bls": "7.1.1", "@chainsafe/bls": "7.1.1",

View File

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

View File

@ -3,6 +3,7 @@ import { IProver, IVerifyingProviderConstructor } from "#interfaces.js";
import { IClientVerifyingProvider } from "#client/verifyingProvider.js"; import { IClientVerifyingProvider } from "#client/verifyingProvider.js";
import { LightClientUpdate } from "#types.js"; import { LightClientUpdate } from "#types.js";
import { computeSyncPeriodAtSlot } from "@lodestar/light-client/utils"; import { computeSyncPeriodAtSlot } from "@lodestar/light-client/utils";
import {init} from "@chainsafe/bls/switchable.js";
interface Config extends BaseClientOptions { interface Config extends BaseClientOptions {
prover: IProver; prover: IProver;
@ -53,6 +54,7 @@ export default class Client extends BaseClient {
if (this._latestPeriod + 1 === this.getCurrentPeriod()) { if (this._latestPeriod + 1 === this.getCurrentPeriod()) {
this.booted = true; this.booted = true;
this.emit("synced"); this.emit("synced");
await init("herumi");
await this.getLatestExecution(false); await this.getLatestExecution(false);
} else { } else {