Derrick Hammer
|
6ef18dbc05
|
fix: Revert "fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize"
This reverts commit d8430b4a11 .
|
2023-07-13 10:40:25 -04:00 |
semantic-release-bot
|
20b6d56c23
|
chore(release): 0.1.0-develop.35 [skip ci]
# [0.1.0-develop.35](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.34...v0.1.0-develop.35) (2023-07-13)
### Bug Fixes
* need to disable useClones in node cache ([07845bf ](07845bf4d0 ))
|
2023-07-13 12:28:06 +00:00 |
Derrick Hammer
|
2540970887
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 08:27:05 -04:00 |
Derrick Hammer
|
07845bf4d0
|
fix: need to disable useClones in node cache
|
2023-07-13 08:26:58 -04:00 |
semantic-release-bot
|
5f5c665aed
|
chore(release): 0.1.0-develop.34 [skip ci]
# [0.1.0-develop.34](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.33...v0.1.0-develop.34) (2023-07-13)
### Bug Fixes
* create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize ([d8430b4 ](d8430b4a11 ))
|
2023-07-13 12:09:59 +00:00 |
Derrick Hammer
|
cbc652ccb1
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 08:09:06 -04:00 |
Derrick Hammer
|
d8430b4a11
|
fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize
|
2023-07-13 08:09:00 -04:00 |
semantic-release-bot
|
3bf72603bb
|
chore(release): 0.1.0-develop.33 [skip ci]
# [0.1.0-develop.33](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.32...v0.1.0-develop.33) (2023-07-13)
|
2023-07-13 11:12:58 +00:00 |
Derrick Hammer
|
75ed669eb7
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 07:11:55 -04:00 |
Derrick Hammer
|
cfa1462505
|
refactor: handle case where returned items are less than the total requested and loop until we have them all
|
2023-07-13 07:10:48 -04:00 |
semantic-release-bot
|
d1a133d859
|
chore(release): 0.1.0-develop.32 [skip ci]
# [0.1.0-develop.32](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.31...v0.1.0-develop.32) (2023-07-13)
### Features
* add getCurrentBlock and getLastBlock methods ([661e146 ](661e146636 ))
|
2023-07-13 08:36:38 +00:00 |
Derrick Hammer
|
6eaf874e44
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:35:37 -04:00 |
Derrick Hammer
|
e567d5017d
|
refactor: call getLatestExecution in sync and add an arg to getLatestExecution to skip syncing
|
2023-07-13 04:35:29 -04:00 |
Derrick Hammer
|
f68688ab61
|
refactor: have isSynced check the period and the block
|
2023-07-13 04:32:18 -04:00 |
Derrick Hammer
|
661e146636
|
feat: add getCurrentBlock and getLastBlock methods
|
2023-07-13 04:31:55 -04:00 |
semantic-release-bot
|
253a677695
|
chore(release): 0.1.0-develop.31 [skip ci]
# [0.1.0-develop.31](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.30...v0.1.0-develop.31) (2023-07-13)
|
2023-07-13 08:06:29 +00:00 |
Derrick Hammer
|
256f29b692
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:05:38 -04:00 |
Derrick Hammer
|
93ab07c5c3
|
refactor: make getLatestExecution public
|
2023-07-13 04:05:34 -04:00 |
semantic-release-bot
|
f767ed6bb4
|
chore(release): 0.1.0-develop.30 [skip ci]
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-07-13)
|
2023-07-13 08:02:04 +00:00 |
Derrick Hammer
|
2281fa8f35
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 04:00:48 -04:00 |
Derrick Hammer
|
391a4f968a
|
refactor: if we have a _latestOptimisticUpdate, check the estimated current block against the block we have, and return it as cached data if we don't need to fetch again. Also use a mutex to prevent race conditions
|
2023-07-13 04:00:42 -04:00 |
Derrick Hammer
|
36f9f4c910
|
tidy: unneeded var
|
2023-07-13 03:47:44 -04:00 |
Derrick Hammer
|
c5a2dc86e1
|
refactor: don't run automatic optimistic updates
|
2023-07-13 03:35:33 -04:00 |
semantic-release-bot
|
d9ad98f694
|
chore(release): 0.1.0-develop.29 [skip ci]
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-07-13)
|
2023-07-13 07:22:26 +00:00 |
Derrick Hammer
|
232f5ba730
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 03:21:34 -04:00 |
Derrick Hammer
|
11791ff08b
|
refactor: split subscribe into syncToLatestBlock
|
2023-07-13 03:18:05 -04:00 |
Derrick Hammer
|
4836ddb32e
|
style: reformat
|
2023-07-13 03:14:06 -04:00 |
Derrick Hammer
|
b3e5607132
|
refactor: store optimistic update back into _latestOptimisticUpdate with a getter.
|
2023-07-13 03:13:22 -04:00 |
Derrick Hammer
|
a7786fa21c
|
style: fix typos
|
2023-07-13 03:12:49 -04:00 |
semantic-release-bot
|
87e85b2387
|
chore(release): 0.1.0-develop.28 [skip ci]
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-07-13)
### Bug Fixes
* add optimisticUpdateCallback to client factory ([c3b47e6 ](c3b47e67e7 ))
* add optimisticUpdateCallback to options ([464fb21 ](464fb21095 ))
* pass client to prover after creating client in factory. don't try to parse thr messages ([481757e ](481757e019 ))
* simplify logic and use LightClientUpdate.fromJson ([17cb002 ](17cb00231c ))
* use _client not client ([76e22fa ](76e22fa342 ))
|
2023-07-13 06:55:11 +00:00 |
Derrick Hammer
|
c3b47e67e7
|
fix: add optimisticUpdateCallback to client factory
|
2023-07-13 02:53:23 -04:00 |
Derrick Hammer
|
977d33b768
|
refactor: make optimisticUpdateCallback a dedicated type
|
2023-07-13 02:53:00 -04:00 |
Derrick Hammer
|
4b9aca2086
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 02:43:34 -04:00 |
Derrick Hammer
|
464fb21095
|
fix: add optimisticUpdateCallback to options
|
2023-07-13 02:33:07 -04:00 |
Derrick Hammer
|
4be6c339c7
|
chore: cleanup imports
|
2023-07-13 02:32:46 -04:00 |
Derrick Hammer
|
51d6d23942
|
refactor: getLatestExecution needs to actually call optimistic update, but add a callback in the client options to avoid creating a subclass
|
2023-07-13 02:25:05 -04:00 |
Derrick Hammer
|
5aa37d4a61
|
refactor: don't use un-needed for loop
|
2023-07-13 01:46:45 -04:00 |
Derrick Hammer
|
17cb00231c
|
fix: simplify logic and use LightClientUpdate.fromJson
|
2023-07-13 01:45:43 -04:00 |
Derrick Hammer
|
76e22fa342
|
fix: use _client not client
|
2023-07-13 01:44:26 -04:00 |
Derrick Hammer
|
481757e019
|
fix: pass client to prover after creating client in factory. don't try to parse thr messages
|
2023-07-13 01:44:25 -04:00 |
semantic-release-bot
|
03fe02cd09
|
chore(release): 0.1.0-develop.27 [skip ci]
# [0.1.0-develop.27](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.26...v0.1.0-develop.27) (2023-07-12)
### Bug Fixes
* fix import ([baa9562 ](baa9562749 ))
|
2023-07-12 22:01:26 +00:00 |
Derrick Hammer
|
816bd93e80
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-12 18:00:11 -04:00 |
Derrick Hammer
|
baa9562749
|
fix: fix import
|
2023-07-12 17:59:56 -04:00 |
semantic-release-bot
|
b8028c70c1
|
chore(release): 0.1.0-develop.26 [skip ci]
# [0.1.0-develop.26](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.25...v0.1.0-develop.26) (2023-07-12)
|
2023-07-12 21:45:29 +00:00 |
Derrick Hammer
|
835669a0a0
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-12 17:44:28 -04:00 |
Derrick Hammer
|
6408098050
|
refactor: heavily simplify and consolidate implementations to just use light sync updates and not the optimistic_update endpoint, and use a generic callback interface
|
2023-07-12 17:40:59 -04:00 |
semantic-release-bot
|
07569eaa04
|
chore(release): 0.1.0-develop.25 [skip ci]
# [0.1.0-develop.25](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.24...v0.1.0-develop.25) (2023-07-12)
|
2023-07-12 06:10:33 +00:00 |
Derrick Hammer
|
cc6f53e6e8
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-12 02:09:42 -04:00 |
Derrick Hammer
|
30c7caace7
|
refactor: store latest optimistic update in the node client class to be referenced
|
2023-07-12 02:09:35 -04:00 |
semantic-release-bot
|
7f2db6f381
|
chore(release): 0.1.0-develop.24 [skip ci]
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-07-11)
### Bug Fixes
* syncFromGenesis was a no-op ([822b0b4 ](822b0b46b6 ))
|
2023-07-11 20:55:07 +00:00 |