Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 947e5d15c8 chore(release): 0.1.0-develop.55 [skip ci]
# [0.1.0-develop.55](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.54...v0.1.0-develop.55) (2023-09-16)

### Bug Fixes

* as a properly synced node may never hit the computed period at getCurrentPeriod... need to manually emit synced and call getLatestExecution ([19c59eb](19c59eb189))
2023-09-16 15:05:05 +00:00
Derrick Hammer e6ad5a13ed
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:04:15 -04:00
Derrick Hammer 19c59eb189
fix: as a properly synced node may never hit the computed period at getCurrentPeriod... need to manually emit synced and call getLatestExecution 2023-09-16 11:04:03 -04:00
4 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.55](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.54...v0.1.0-develop.55) (2023-09-16)
### Bug Fixes
* as a properly synced node may never hit the computed period at getCurrentPeriod... need to manually emit synced and call getLatestExecution ([19c59eb](https://git.lumeweb.com/LumeWeb/libethsync/commit/19c59eb18944bd6528983fec0f848143aed4742a))
# [0.1.0-develop.54](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.53...v0.1.0-develop.54) (2023-09-16) # [0.1.0-develop.54](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.53...v0.1.0-develop.54) (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.54", "version": "0.1.0-develop.55",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libethsync", "name": "@lumeweb/libethsync",
"version": "0.1.0-develop.54", "version": "0.1.0-develop.55",
"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.54", "version": "0.1.0-develop.55",
"type": "module", "type": "module",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -51,8 +51,9 @@ export default class Client extends BaseClient {
); );
this.latestCommittee = checkpoint.nextSyncCommittee.pubkeys; this.latestCommittee = checkpoint.nextSyncCommittee.pubkeys;
this.booted = true; this.booted = true;
this.emit("synced");
await super.sync(); await this.getLatestExecution(false);
} }
public async rpcCall(method: string, params: any) { public async rpcCall(method: string, params: any) {