Commit Graph

155 Commits

Author SHA1 Message Date
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
Derrick Hammer 835669a0a0
Merge remote-tracking branch 'origin/develop' into develop 2023-07-12 17:44:28 -04:00
Derrick Hammer 6408098050
refactor: heavily simplify and consolidate implementations to just use light sync updates and not the optimistic_update endpoint, and use a generic callback interface 2023-07-12 17:40:59 -04: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
Derrick Hammer cc6f53e6e8
Merge remote-tracking branch 'origin/develop' into develop 2023-07-12 02:09:42 -04:00
Derrick Hammer 30c7caace7
refactor: store latest optimistic update in the node client class to be referenced 2023-07-12 02:09:35 -04: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
Derrick Hammer 822b0b46b6
fix: syncFromGenesis was a no-op 2023-07-11 16:54:13 -04: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
Derrick Hammer e229c6246b
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 04:37:33 -04:00
Derrick Hammer 4f45d0ac24
chore: cleanup imports 2023-07-11 04:37:27 -04:00
Derrick Hammer 5c8394af2d
fix: @noble/curves import 2023-07-11 04:36:56 -04: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
Derrick Hammer 3e9c3c4b7a
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 04:27:15 -04:00
Derrick Hammer 2a27a16c25
refactor: create the IClientVerifyingProvider child interface and add rpcCall to the client Client instead of exposing the provider in a getter 2023-07-11 04:27:11 -04: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
Derrick Hammer 5dd99f24e9
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 04:15:46 -04:00
Derrick Hammer b85e1779ee
feat: add getter for provider 2023-07-11 04:15:35 -04: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
Derrick Hammer 9ef95b339e
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 04:13:51 -04:00
Derrick Hammer 08840308f8
fix: update ProverRequestCallback type to return a promise 2023-07-11 04:13:44 -04: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
Derrick Hammer 2a2bd1d8cc
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 04:08:50 -04:00
Derrick Hammer f353b3e102
fix: beacon url is not used on the client side 2023-07-11 04:08:46 -04:00