Commit Graph

64 Commits

Author SHA1 Message Date
semantic-release-bot 8993ba67d4 chore(release): 0.1.0-develop.64 [skip ci]
# [0.1.0-develop.64](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.63...v0.1.0-develop.64) (2023-10-29)

### Bug Fixes

* wrap sync in try/catch and unlock mutex in a finally ([0963794](09637948e7))
2023-10-29 01:59:29 +00:00
semantic-release-bot 780b2e4e4f chore(release): 0.1.0-develop.63 [skip ci]
# [0.1.0-develop.63](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.62...v0.1.0-develop.63) (2023-10-24)

### Bug Fixes

* args should not be var args ([32bf0a4](32bf0a42e2))
2023-10-24 00:46:10 +00:00
semantic-release-bot 89749d9a8f chore(release): 0.1.0-develop.62 [skip ci]
# [0.1.0-develop.62](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.61...v0.1.0-develop.62) (2023-10-24)

### Features

* add basic non-verifying eth_getLogs support ([b405ee2](b405ee2581))
2023-10-24 00:24:21 +00:00
semantic-release-bot e6b215be13 chore(release): 0.1.0-develop.61 [skip ci]
# [0.1.0-develop.61](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.60...v0.1.0-develop.61) (2023-09-16)

### Bug Fixes

* need to call our boot method ([b3f8dba](b3f8dba243))
2023-09-16 16:13:53 +00:00
semantic-release-bot 919cb0b1df chore(release): 0.1.0-develop.60 [skip ci]
# [0.1.0-develop.60](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.59...v0.1.0-develop.60) (2023-09-16)

### Features

* add method to reset the client ([87d8be6](87d8be615e))
2023-09-16 15:52:27 +00:00
semantic-release-bot bf35bdd954 chore(release): 0.1.0-develop.59 [skip ci]
# [0.1.0-develop.59](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.58...v0.1.0-develop.59) (2023-09-16)

### Bug Fixes

* if syncing manual, set latest period to value of getCurrentPeriod() before optimistic update ([e742ec8](e742ec8b64))
* send a dummy update event for chain progress ([417da9f](417da9f893))
2023-09-16 15:46:41 +00:00
semantic-release-bot 57d172b8f8 chore(release): 0.1.0-develop.58 [skip ci]
# [0.1.0-develop.58](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.57...v0.1.0-develop.58) (2023-09-16)

### Bug Fixes

* bad import ([5687e13](5687e13f9d))
2023-09-16 15:27:10 +00:00
semantic-release-bot 5d1a051714 chore(release): 0.1.0-develop.57 [skip ci]
# [0.1.0-develop.57](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.56...v0.1.0-develop.57) (2023-09-16)

### Bug Fixes

* need to init bls in manual ([d1e88ce](d1e88ce87f))
2023-09-16 15:21:15 +00: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
semantic-release-bot ebfd606a9d chore(release): 0.1.0-develop.23 [skip ci]
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-07-11)

### Reverts

* Revert "fix: ensure @ethereumjs/util matches the version required by @ethereumjs/evm" ([bad87ac](bad87ac7e1))
2023-07-11 12:49:48 +00:00
semantic-release-bot cfcbcb14ef chore(release): 0.1.0-develop.22 [skip ci]
# [0.1.0-develop.22](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.21...v0.1.0-develop.22) (2023-07-11)

### Bug Fixes

* ensure @ethereumjs/util matches the version required by @ethereumjs/evm ([0949e8d](0949e8d427))
2023-07-11 12:34:27 +00:00
semantic-release-bot 4e74fd7e8a chore(release): 0.1.0-develop.21 [skip ci]
# [0.1.0-develop.21](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.20...v0.1.0-develop.21) (2023-07-11)

### Bug Fixes

* @noble/curves import ([5c8394a](5c8394af2d))
2023-07-11 08:38:24 +00:00
semantic-release-bot 3cb2d95460 chore(release): 0.1.0-develop.20 [skip ci]
# [0.1.0-develop.20](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.19...v0.1.0-develop.20) (2023-07-11)
2023-07-11 08:28:13 +00:00
semantic-release-bot 14f58027bd chore(release): 0.1.0-develop.19 [skip ci]
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-07-11)

### Features

* add getter for provider ([b85e177](b85e1779ee))
2023-07-11 08:16:35 +00:00
semantic-release-bot 2f391770fc chore(release): 0.1.0-develop.18 [skip ci]
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-07-11)

### Bug Fixes

* update ProverRequestCallback type to return a promise ([0884030](08840308f8))
2023-07-11 08:14:58 +00:00
semantic-release-bot 75b23c225c chore(release): 0.1.0-develop.17 [skip ci]
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-07-11)

### Bug Fixes

* beacon url is not used on the client side ([f353b3e](f353b3e102))
2023-07-11 08:10:00 +00:00
semantic-release-bot d5e407a2cd chore(release): 0.1.0-develop.16 [skip ci]
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-07-11)

### Bug Fixes

* fix reference to isValidLightClientHeader ([0f8746d](0f8746dac2))
2023-07-11 07:44:17 +00:00
semantic-release-bot 26e29924ce chore(release): 0.1.0-develop.15 [skip ci]
# [0.1.0-develop.15](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.14...v0.1.0-develop.15) (2023-07-11)

### Bug Fixes

* implement isValidLightClientHeader ([6f07421](6f07421fe8))
2023-07-11 07:27:42 +00:00