Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 457c20616a chore(release): 0.1.0-develop.4 [skip ci]
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-11)

### Bug Fixes

* add getter for store in baseclient ([3a48a52](3a48a52a53))
2023-07-11 05:02:10 +00:00
Derrick Hammer bfb02263ef
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 01:01:21 -04:00
Derrick Hammer 3a48a52a53
fix: add getter for store in baseclient 2023-07-11 01:01:10 -04:00
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-11)
### Bug Fixes
* add getter for store in baseclient ([3a48a52](https://git.lumeweb.com/LumeWeb/libethsync/commit/3a48a52a5397b6ae02406a05e90a623fc920b875))
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-07-11)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libethclient",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libethclient",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.4",
"dependencies": {
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/bls": "7.1.1",

View File

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

View File

@ -28,7 +28,6 @@ export default abstract class BaseClient {
protected booted = false;
private syncMutex = new Mutex();
protected options: BaseClientOptions;
protected;
constructor(options: BaseClientOptions) {
this.options = options;
@ -86,6 +85,10 @@ export default abstract class BaseClient {
this.syncMutex.release();
}
public get store(): IStore {
return this.options.store as IStore;
}
// committee and prover index of the first honest prover
protected abstract syncFromGenesis(): Promise<Uint8Array[]>;