Derrick Hammer
|
5e426327ff
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-13 12:45:53 -04:00 |
Derrick Hammer
|
8677bc1294
|
fix: parse from u, not u.data
|
2023-07-13 12:45:49 -04:00 |
semantic-release-bot
|
f76fc9b9e8
|
chore(release): 0.1.0-develop.36 [skip ci]
# [0.1.0-develop.36](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.35...v0.1.0-develop.36) (2023-07-13)
### Bug Fixes
* need to use concat not push ([b87017e ](b87017eb67 ))
* Revert "fix: create fixSerializedUint8Array helper method to deal with weird quirk of ssz serialize" ([6ef18db ](6ef18dbc05 ))
* temporarily disable block hash check as it is bugged ([91144cb ](91144cb5a2 ))
* use byteArrayEquals ([157811b ](157811b234 ))
|
2023-07-13 16:27:45 +00:00 |
Derrick Hammer
|
91144cb5a2
|
fix: temporarily disable block hash check as it is bugged
|
2023-07-13 12:26:41 -04:00 |
Derrick Hammer
|
157811b234
|
fix: use byteArrayEquals
|
2023-07-13 12:25:21 -04:00 |
Derrick Hammer
|
b87017eb67
|
fix: need to use concat not push
|
2023-07-13 12:23:33 -04:00 |
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 |