Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 239d7c236b | |
Derrick Hammer | 2de960ce28 | |
Derrick Hammer | ec8402714f |
|
@ -1,3 +1,10 @@
|
||||||
|
# [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)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* if startPeriod is greater than genesisPeriod, try to use latestCommittee falling back to genesisCommittee ([ec84027](https://git.lumeweb.com/LumeWeb/libethsync/commit/ec8402714f6f9c7ec405c465ea6cc965eabacad5))
|
||||||
|
|
||||||
# [0.1.0-develop.53](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.52...v0.1.0-develop.53) (2023-09-16)
|
# [0.1.0-develop.53](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.52...v0.1.0-develop.53) (2023-09-16)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libethsync",
|
"name": "@lumeweb/libethsync",
|
||||||
"version": "0.1.0-develop.53",
|
"version": "0.1.0-develop.54",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/libethsync",
|
"name": "@lumeweb/libethsync",
|
||||||
"version": "0.1.0-develop.53",
|
"version": "0.1.0-develop.54",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chainsafe/as-sha256": "^0.3.1",
|
"@chainsafe/as-sha256": "^0.3.1",
|
||||||
"@chainsafe/bls": "7.1.1",
|
"@chainsafe/bls": "7.1.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libethsync",
|
"name": "@lumeweb/libethsync",
|
||||||
"version": "0.1.0-develop.53",
|
"version": "0.1.0-develop.54",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -304,7 +304,10 @@ export default abstract class BaseClient extends EventEmitter {
|
||||||
startPeriod = this.latestPeriod,
|
startPeriod = this.latestPeriod,
|
||||||
): Promise<Uint8Array[]> {
|
): Promise<Uint8Array[]> {
|
||||||
const currentPeriod = this.getCurrentPeriod();
|
const currentPeriod = this.getCurrentPeriod();
|
||||||
let startCommittee = this.genesisCommittee;
|
let startCommittee =
|
||||||
|
startPeriod > this.genesisPeriod
|
||||||
|
? this.latestCommittee ?? this.genesisCommittee
|
||||||
|
: this.genesisCommittee;
|
||||||
console.debug(
|
console.debug(
|
||||||
`Sync started from period(${startPeriod}) to period(${currentPeriod})`,
|
`Sync started from period(${startPeriod}) to period(${currentPeriod})`,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue