Commit Graph

51 Commits

Author SHA1 Message Date
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
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
Derrick Hammer 4066193846
refactor: Revert "refactor: downgrade ethereum libraries due to bundling issues"
This reverts commit 23d54062
2023-07-11 08:48:52 -04:00
Derrick Hammer bad87ac7e1
Revert "fix: ensure @ethereumjs/util matches the version required by @ethereumjs/evm"
This reverts commit 0949e8d427.
2023-07-11 08:47:35 -04: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
Derrick Hammer 0949e8d427
fix: ensure @ethereumjs/util matches the version required by @ethereumjs/evm 2023-07-11 08:33:24 -04:00
Derrick Hammer 23d54062af
refactor: downgrade ethereum libraries due to bundling issues 2023-07-11 08:24:59 -04: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
semantic-release-bot 23d0f91eac chore(release): 0.1.0-develop.14 [skip ci]
# [0.1.0-develop.14](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.13...v0.1.0-develop.14) (2023-07-11)

### Bug Fixes

* further chainConfig fixes ([8b11911](8b1191165a))
2023-07-11 07:17:38 +00:00
semantic-release-bot 253be43db6 chore(release): 0.1.0-develop.13 [skip ci]
# [0.1.0-develop.13](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.12...v0.1.0-develop.13) (2023-07-11)

### Bug Fixes

* use call to getDefaultClientConfig to get chain config ([948d4d6](948d4d6109))
2023-07-11 07:08:16 +00:00
semantic-release-bot ff83ba0994 chore(release): 0.1.0-develop.12 [skip ci]
# [0.1.0-develop.12](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.11...v0.1.0-develop.12) (2023-07-11)

### Bug Fixes

* fix usage of deserializeSyncCommittee ([80fdc45](80fdc45ccd))
2023-07-11 06:43:59 +00:00
semantic-release-bot a4f5631176 chore(release): 0.1.0-develop.11 [skip ci]
# [0.1.0-develop.11](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.10...v0.1.0-develop.11) (2023-07-11)

### Bug Fixes

* return data property from update ([a5c0153](a5c01533fe))
2023-07-11 06:34:35 +00:00
semantic-release-bot fd789c8133 chore(release): 0.1.0-develop.10 [skip ci]
# [0.1.0-develop.10](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.9...v0.1.0-develop.10) (2023-07-11)
2023-07-11 06:22:43 +00:00
semantic-release-bot 4ac5b109a2 chore(release): 0.1.0-develop.9 [skip ci]
# [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-07-11)

### Bug Fixes

* getConsensusOptimisticUpdate does not return ([67827c3](67827c3776))
2023-07-11 05:54:55 +00:00
semantic-release-bot c39ba96760 chore(release): 0.1.0-develop.8 [skip ci]
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-07-11)
2023-07-11 05:52:12 +00:00
semantic-release-bot 6ff730c97a chore(release): 0.1.0-develop.7 [skip ci]
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-07-11)

### Bug Fixes

* export RPC types ([bfa5d22](bfa5d227a0))
2023-07-11 05:36:47 +00:00
semantic-release-bot ac54298fa0 chore(release): 0.1.0-develop.6 [skip ci]
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-07-11)
2023-07-11 05:31:18 +00:00
semantic-release-bot 6520bba0c3 chore(release): 0.1.0-develop.5 [skip ci]
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-07-11)

### Bug Fixes

* add missing methods to IStore interface ([52aca21](52aca21b78))
2023-07-11 05:10:41 +00:00
semantic-release-bot 457c20616a chore(release): 0.1.0-develop.4 [skip ci]
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-07-11)

### Bug Fixes

* add getter for store in baseclient ([3a48a52](3a48a52a53))
2023-07-11 05:02:10 +00:00
semantic-release-bot 2923e91d18 chore(release): 0.1.0-develop.3 [skip ci]
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-07-11)

### Bug Fixes

* export all interfaces ([a50271e](a50271ec5b))
2023-07-11 04:32:00 +00:00
semantic-release-bot 908e82a8a3 chore(release): 0.1.0-develop.2 [skip ci]
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-11)

### Bug Fixes

* trigger release ([0bc05bf](0bc05bf6ca))
2023-07-11 04:24:48 +00:00
semantic-release-bot 416c6a1b74 chore(release): 0.1.0-develop.1 [skip ci]
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.0.1...v0.1.0-develop.1) (2023-07-11)

### Bug Fixes

* add missing repository to package.json ([127b1aa](127b1aa0d7))
* export createDefaultClient ([5d1bdec](5d1bdec620))

### Features

* Initial version ([24cd98b](24cd98bb3c))
* Initial version ([5843acb](5843acb79b))
2023-07-11 04:20:11 +00:00
Derrick Hammer 127b1aa0d7
fix: add missing repository to package.json 2023-07-11 00:19:07 -04:00
Derrick Hammer 24cd98bb3c
feat: Initial version 2023-07-10 16:48:01 -04:00