Commit Graph

76 Commits

Author SHA1 Message Date
Derrick Hammer 30c7caace7
refactor: store latest optimistic update in the node client class to be referenced 2023-07-12 02:09:35 -04:00
Derrick Hammer 822b0b46b6
fix: syncFromGenesis was a no-op 2023-07-11 16:54:13 -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
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
Derrick Hammer b85e1779ee
feat: add getter for provider 2023-07-11 04:15:35 -04:00
Derrick Hammer 08840308f8
fix: update ProverRequestCallback type to return a promise 2023-07-11 04:13:44 -04:00
Derrick Hammer f353b3e102
fix: beacon url is not used on the client side 2023-07-11 04:08:46 -04:00
Derrick Hammer 0f8746dac2
fix: fix reference to isValidLightClientHeader 2023-07-11 03:43:12 -04:00
Derrick Hammer 6f07421fe8
fix: implement isValidLightClientHeader 2023-07-11 03:24:38 -04:00
Derrick Hammer 8b1191165a
fix: further chainConfig fixes 2023-07-11 03:16:39 -04:00
Derrick Hammer 948d4d6109
fix: use call to getDefaultClientConfig to get chain config 2023-07-11 03:07:18 -04:00
Derrick Hammer 80fdc45ccd
fix: fix usage of deserializeSyncCommittee 2023-07-11 02:42:54 -04:00
Derrick Hammer a6759ec243
refactor: temp use js only bls 2023-07-11 02:33:28 -04:00
Derrick Hammer a5c01533fe
fix: return data property from update 2023-07-11 02:32:41 -04:00
Derrick Hammer 208ca03e80
refactor: expose subscribe on the base client, with optional callback and call on child clients 2023-07-11 02:21:30 -04:00
Derrick Hammer 67827c3776
fix: getConsensusOptimisticUpdate does not return 2023-07-11 01:54:01 -04:00
Derrick Hammer f8eba3644b
refactor: export getConsensusOptimisticUpdate and getCommitteeHash 2023-07-11 01:51:05 -04:00
Derrick Hammer efc657b790
refactor: move optimistic_update fetch logic to utility function 2023-07-11 01:50:42 -04:00
Derrick Hammer bfa5d227a0
fix: export RPC types 2023-07-11 01:35:41 -04:00
Derrick Hammer f24fdc5489
refactor: remove use of getExecutionFromBlockRoot in node client 2023-07-11 01:30:22 -04:00
Derrick Hammer 52aca21b78
fix: add missing methods to IStore interface 2023-07-11 01:09:50 -04:00
Derrick Hammer 3a48a52a53
fix: add getter for store in baseclient 2023-07-11 01:01:10 -04:00
Derrick Hammer a50271ec5b
fix: export all interfaces 2023-07-11 00:30:59 -04:00
Derrick Hammer 5d1bdec620
fix: export createDefaultClient 2023-07-11 00:15:54 -04:00
Derrick Hammer 5843acb79b
feat: Initial version 2023-07-10 16:47:50 -04:00