Commit Graph

178 Commits

Author SHA1 Message Date
semantic-release-bot 8470d578a5 chore(release): 0.1.0-develop.51 [skip ci]
# [0.1.0-develop.51](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.50...v0.1.0-develop.51) (2023-09-16)

### Bug Fixes

* IStore should extend EventEmitter ([9f00d8f](9f00d8fec8))
2023-09-16 02:11:37 +00:00
Derrick Hammer 178df36f93
Merge remote-tracking branch 'origin/develop' into develop 2023-09-15 22:10:44 -04:00
Derrick Hammer 9f00d8fec8
fix: IStore should extend EventEmitter 2023-09-15 22:10:36 -04:00
semantic-release-bot 2d4f911249 chore(release): 0.1.0-develop.50 [skip ci]
# [0.1.0-develop.50](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.49...v0.1.0-develop.50) (2023-09-16)

### Features

* have Store extend EventEmitter so that it can emit set on adding an update and pass the serialized data ([295aed0](295aed0845))
2023-09-16 02:07:44 +00:00
Derrick Hammer 97510bd892
Merge remote-tracking branch 'origin/develop' into develop 2023-09-15 22:06:45 -04:00
Derrick Hammer 295aed0845
feat: have Store extend EventEmitter so that it can emit set on adding an update and pass the serialized data 2023-09-15 22:06:40 -04:00
semantic-release-bot 000d03e8a9 chore(release): 0.1.0-develop.49 [skip ci]
# [0.1.0-develop.49](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.48...v0.1.0-develop.49) (2023-07-25)

### Bug Fixes

* add try/catch with mutex release on optimisticUpdateCallback ([7075966](7075966227))
2023-07-25 00:08:22 +00:00
Derrick Hammer 7075966227
fix: add try/catch with mutex release on optimisticUpdateCallback 2023-07-24 20:07:04 -04:00
semantic-release-bot 72a4975ba9 chore(release): 0.1.0-develop.48 [skip ci]
# [0.1.0-develop.48](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.47...v0.1.0-develop.48) (2023-07-24)

### Bug Fixes

* don't release lock when we have cached optimistic update data, as we never locked it ([d3664c8](d3664c8d23))
2023-07-24 15:13:57 +00:00
Derrick Hammer cd468b335c
Merge remote-tracking branch 'origin/develop' into develop 2023-07-24 11:13:05 -04:00
Derrick Hammer d3664c8d23
fix: don't release lock when we have cached optimistic update data, as we never locked it 2023-07-24 11:12:52 -04:00
semantic-release-bot c26d67f57f chore(release): 0.1.0-develop.47 [skip ci]
# [0.1.0-develop.47](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.46...v0.1.0-develop.47) (2023-07-24)

### Bug Fixes

* incorporate upstream https://github.com/lightclients/patronum/pull/23 ([8b7c85d](8b7c85dd61))
2023-07-24 14:45:36 +00:00
Derrick Hammer d6f327385f
Merge remote-tracking branch 'origin/develop' into develop 2023-07-24 10:44:39 -04:00
Derrick Hammer 8b7c85dd61
fix: incorporate upstream https://github.com/lightclients/patronum/pull/23
reverts 91144cb5a2
2023-07-24 10:44:25 -04:00
semantic-release-bot c9d3b0d2e0 chore(release): 0.1.0-develop.46 [skip ci]
# [0.1.0-develop.46](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.45...v0.1.0-develop.46) (2023-07-23)

### Features

* add synced event ([0321136](0321136ac0))
2023-07-23 16:02:09 +00:00
Derrick Hammer a7f556f998
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 12:01:18 -04:00
Derrick Hammer 0321136ac0
feat: add synced event 2023-07-23 12:01:10 -04:00
semantic-release-bot 1d391cca89 chore(release): 0.1.0-develop.45 [skip ci]
# [0.1.0-develop.45](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.44...v0.1.0-develop.45) (2023-07-23)

### Bug Fixes

* change argument to be the current update, not the 0 index ([87e7533](87e7533dcf))
2023-07-23 14:19:29 +00:00
Derrick Hammer db18efb245
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 10:18:35 -04:00
semantic-release-bot f0415992a5 chore(release): 0.1.0-develop.44 [skip ci]
# [0.1.0-develop.44](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.43...v0.1.0-develop.44) (2023-07-23)
2023-07-23 14:18:19 +00:00
Derrick Hammer 87e7533dcf
fix: change argument to be the current update, not the 0 index 2023-07-23 10:18:16 -04:00
Derrick Hammer 259c64bcea
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 10:17:11 -04:00
Derrick Hammer 02412ba934
refactor: change update event to just pass currently processed event and the total number 2023-07-23 10:17:08 -04:00
semantic-release-bot ed3cb23388 chore(release): 0.1.0-develop.43 [skip ci]
# [0.1.0-develop.43](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.42...v0.1.0-develop.43) (2023-07-23)

### Features

* use event emitter and emit "update" on every light client update processed ([232af83](232af830c9))
2023-07-23 14:07:58 +00:00
Derrick Hammer 432d4937a1
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	npm-shrinkwrap.json
2023-07-23 10:06:39 -04:00
Derrick Hammer 232af830c9
feat: use event emitter and emit "update" on every light client update processed 2023-07-23 10:06:18 -04:00
semantic-release-bot f5680f6230 chore(release): 0.1.0-develop.42 [skip ci]
# [0.1.0-develop.42](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.41...v0.1.0-develop.42) (2023-07-15)
2023-07-15 04:22:33 +00:00
Derrick Hammer 5197131b77
Merge remote-tracking branch 'origin/develop' into develop 2023-07-15 00:21:30 -04:00
Derrick Hammer 11367b9803
refactor: add block cron to node client, but ensure it only runs on boot 2023-07-15 00:21:24 -04:00
Derrick Hammer fbfb9c1e06
refactor: remove block check from isSynced 2023-07-15 00:18:15 -04:00
semantic-release-bot f44be464c2 chore(release): 0.1.0-develop.41 [skip ci]
# [0.1.0-develop.41](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.40...v0.1.0-develop.41) (2023-07-14)

### Features

* add loggerInfo and loggerErr callbacks to client options ([a901ee7](a901ee76f4))
2023-07-14 15:19:05 +00:00
Derrick Hammer e49de4e907
Merge remote-tracking branch 'origin/develop' into develop 2023-07-14 11:18:12 -04:00
Derrick Hammer 45b3e884f9
fix; add syncDelay to client factory 2023-07-14 11:18:05 -04:00
Derrick Hammer a901ee76f4
feat: add loggerInfo and loggerErr callbacks to client options 2023-07-14 11:16:38 -04:00
semantic-release-bot 1895495520 chore(release): 0.1.0-develop.40 [skip ci]
# [0.1.0-develop.40](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.39...v0.1.0-develop.40) (2023-07-14)

### Bug Fixes

* add a sync delay option so that the bls verification does not hog cpu ([824dcd9](824dcd9633))
2023-07-14 13:23:17 +00:00
Derrick Hammer 8582db4eb3
Merge remote-tracking branch 'origin/develop' into develop 2023-07-14 09:22:09 -04:00
Derrick Hammer 824dcd9633
fix: add a sync delay option so that the bls verification does not hog cpu 2023-07-14 09:21:52 -04:00
semantic-release-bot b1c33bb81d chore(release): 0.1.0-develop.39 [skip ci]
# [0.1.0-develop.39](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.38...v0.1.0-develop.39) (2023-07-13)

### Bug Fixes

* compare code against codehash ([dc4c6b3](dc4c6b3f36))
2023-07-13 17:18:26 +00:00
Derrick Hammer 8aa7c11f09
Merge remote-tracking branch 'origin/develop' into develop 2023-07-13 13:17:33 -04:00
Derrick Hammer dc4c6b3f36
fix: compare code against codehash 2023-07-13 13:17:27 -04:00
semantic-release-bot 1b0bf2944c chore(release): 0.1.0-develop.38 [skip ci]
# [0.1.0-develop.38](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.37...v0.1.0-develop.38) (2023-07-13)

### Bug Fixes

* add map to return data property ([3e27281](3e27281a35))
2023-07-13 16:52:34 +00:00
Derrick Hammer 39b1dac32a
Merge remote-tracking branch 'origin/develop' into develop 2023-07-13 12:51:39 -04:00
Derrick Hammer 3e27281a35
fix: add map to return data property 2023-07-13 12:51:34 -04:00
semantic-release-bot 42d167d575 chore(release): 0.1.0-develop.37 [skip ci]
# [0.1.0-develop.37](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.36...v0.1.0-develop.37) (2023-07-13)

### Bug Fixes

* parse from u, not u.data ([8677bc1](8677bc1294))
2023-07-13 16:46:48 +00:00
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