Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 457c20616a | |
Derrick Hammer | bfb02263ef | |
Derrick Hammer | 3a48a52a53 |
|
@ -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)
|
# [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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libethclient",
|
"name": "@lumeweb/libethclient",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/libethclient",
|
"name": "@lumeweb/libethclient",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.4",
|
||||||
"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.3",
|
"version": "0.1.0-develop.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -28,7 +28,6 @@ export default abstract class BaseClient {
|
||||||
protected booted = false;
|
protected booted = false;
|
||||||
private syncMutex = new Mutex();
|
private syncMutex = new Mutex();
|
||||||
protected options: BaseClientOptions;
|
protected options: BaseClientOptions;
|
||||||
protected;
|
|
||||||
|
|
||||||
constructor(options: BaseClientOptions) {
|
constructor(options: BaseClientOptions) {
|
||||||
this.options = options;
|
this.options = options;
|
||||||
|
@ -86,6 +85,10 @@ export default abstract class BaseClient {
|
||||||
this.syncMutex.release();
|
this.syncMutex.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get store(): IStore {
|
||||||
|
return this.options.store as IStore;
|
||||||
|
}
|
||||||
|
|
||||||
// committee and prover index of the first honest prover
|
// committee and prover index of the first honest prover
|
||||||
protected abstract syncFromGenesis(): Promise<Uint8Array[]>;
|
protected abstract syncFromGenesis(): Promise<Uint8Array[]>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue