Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 57965ef9cd | |
Derrick Hammer | dc35711a75 | |
Derrick Hammer | 65002190b8 |
|
@ -1,3 +1,10 @@
|
|||
# [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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* if we are within 1 period of getCurrentPeriod manually call sync actions, otherwise call parent sync ([6500219](https://git.lumeweb.com/LumeWeb/libethsync/commit/65002190b834c5a31c5c8ca1dcf0f5953f83594d))
|
||||
|
||||
# [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)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.55",
|
||||
"version": "0.1.0-develop.56",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.55",
|
||||
"version": "0.1.0-develop.56",
|
||||
"dependencies": {
|
||||
"@chainsafe/as-sha256": "^0.3.1",
|
||||
"@chainsafe/bls": "7.1.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.55",
|
||||
"version": "0.1.0-develop.56",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -50,10 +50,14 @@ export default class Client extends BaseClient {
|
|||
checkpoint.attestedHeader.beacon.slot,
|
||||
);
|
||||
this.latestCommittee = checkpoint.nextSyncCommittee.pubkeys;
|
||||
if (this._latestPeriod + 1 === this.getCurrentPeriod()) {
|
||||
this.booted = true;
|
||||
this.emit("synced");
|
||||
|
||||
await this.getLatestExecution(false);
|
||||
} else {
|
||||
await super.sync();
|
||||
}
|
||||
}
|
||||
|
||||
public async rpcCall(method: string, params: any) {
|
||||
|
|
Loading…
Reference in New Issue