Commit Graph

196 Commits

Author SHA1 Message Date
Derrick Hammer 5687e13f9d
fix: bad import 2023-09-16 11:26:08 -04:00
Derrick Hammer e7083618c6
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:20:23 -04:00
Derrick Hammer d1e88ce87f
fix: need to init bls in manual 2023-09-16 11:20:14 -04:00
semantic-release-bot 57965ef9cd chore(release): 0.1.0-develop.56 [skip ci]
# [0.1.0-develop.56](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.55...v0.1.0-develop.56) (2023-09-16)

### Bug Fixes

* if we are within 1 period of getCurrentPeriod manually call sync actions, otherwise call parent sync ([6500219](65002190b8))
2023-09-16 15:13:32 +00:00
Derrick Hammer dc35711a75
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:12:22 -04:00
Derrick Hammer 65002190b8
fix: if we are within 1 period of getCurrentPeriod manually call sync actions, otherwise call parent sync 2023-09-16 11:12:18 -04:00
semantic-release-bot 947e5d15c8 chore(release): 0.1.0-develop.55 [skip ci]
# [0.1.0-develop.55](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.54...v0.1.0-develop.55) (2023-09-16)

### Bug Fixes

* as a properly synced node may never hit the computed period at getCurrentPeriod... need to manually emit synced and call getLatestExecution ([19c59eb](19c59eb189))
2023-09-16 15:05:05 +00:00
Derrick Hammer e6ad5a13ed
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 11:04:15 -04:00
Derrick Hammer 19c59eb189
fix: as a properly synced node may never hit the computed period at getCurrentPeriod... need to manually emit synced and call getLatestExecution 2023-09-16 11:04:03 -04:00
semantic-release-bot 239d7c236b chore(release): 0.1.0-develop.54 [skip ci]
# [0.1.0-develop.54](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.53...v0.1.0-develop.54) (2023-09-16)

### Bug Fixes

* if startPeriod is greater than genesisPeriod, try to use latestCommittee falling back to genesisCommittee ([ec84027](ec8402714f))
2023-09-16 04:40:47 +00:00
Derrick Hammer 2de960ce28
Merge remote-tracking branch 'origin/develop' into develop 2023-09-16 00:39:42 -04:00
Derrick Hammer ec8402714f
fix: if startPeriod is greater than genesisPeriod, try to use latestCommittee falling back to genesisCommittee 2023-09-16 00:39:38 -04:00
semantic-release-bot fc23b3cdba chore(release): 0.1.0-develop.53 [skip ci]
# [0.1.0-develop.53](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.52...v0.1.0-develop.53) (2023-09-16)

### Bug Fixes

* bad import ([b9b8b26](b9b8b26ea4))
2023-09-16 02:58:57 +00:00
Derrick Hammer 908d508c05
Merge remote-tracking branch 'origin/develop' into develop 2023-09-15 22:58:11 -04:00
Derrick Hammer b9b8b26ea4
fix: bad import 2023-09-15 22:58:05 -04:00
semantic-release-bot 9bf3aaf07b chore(release): 0.1.0-develop.52 [skip ci]
# [0.1.0-develop.52](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.51...v0.1.0-develop.52) (2023-09-16)

### Features

* add syncFromCheckpoint method ([ccaca65](ccaca65a90))
2023-09-16 02:44:50 +00:00
Derrick Hammer 746e76ecfc
Merge remote-tracking branch 'origin/develop' into develop 2023-09-15 22:43:53 -04:00
Derrick Hammer ccaca65a90
feat: add syncFromCheckpoint method 2023-09-15 22:43:46 -04:00
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