Compare commits

..

4 Commits

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

### Bug Fixes

* if syncing manual, set latest period to value of getCurrentPeriod() before optimistic update ([e742ec8](e742ec8b64))
* send a dummy update event for chain progress ([417da9f](417da9f893))
2023-09-16 15:46:41 +00:00
Derrick Hammer 5a5c320a25
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:45:51 -04:00
Derrick Hammer 417da9f893
fix: send a dummy update event for chain progress 2023-09-16 11:45:45 -04:00
Derrick Hammer e742ec8b64
fix: if syncing manual, set latest period to value of getCurrentPeriod() before optimistic update 2023-09-16 11:42:24 -04:00
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,11 @@
# [0.1.0-develop.59](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.58...v0.1.0-develop.59) (2023-09-16)
### Bug Fixes
* if syncing manual, set latest period to value of getCurrentPeriod() before optimistic update ([e742ec8](https://git.lumeweb.com/LumeWeb/libethsync/commit/e742ec8b6482d63469381670ae3f70653757a4fc))
* send a dummy update event for chain progress ([417da9f](https://git.lumeweb.com/LumeWeb/libethsync/commit/417da9f89302bded91066ab33722fc89adfbd76e))
# [0.1.0-develop.58](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.57...v0.1.0-develop.58) (2023-09-16) # [0.1.0-develop.58](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.57...v0.1.0-develop.58) (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.58", "version": "0.1.0-develop.59",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libethsync", "name": "@lumeweb/libethsync",
"version": "0.1.0-develop.58", "version": "0.1.0-develop.59",
"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.58", "version": "0.1.0-develop.59",
"type": "module", "type": "module",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -55,6 +55,8 @@ export default class Client extends BaseClient {
this.booted = true; this.booted = true;
this.emit("synced"); this.emit("synced");
await init("herumi"); await init("herumi");
this._latestPeriod = this.getCurrentPeriod();
this.emit("update", 1, 1);
await this.getLatestExecution(false); await this.getLatestExecution(false);
} else { } else {