Sanjay
dcd7a14920
feat: Implement migrating to L2 ( #1203 )
...
* feat: onchain signers
* Refactor l2 provider to accept more contracts and events easily
* flesh out support for storing onchain events
* Switch source of truth on migration
* Emit events and fix active signer
2023-08-01 10:17:40 -07:00
adityapk00
af22467d69
chore: make logging less verbose for RPC ( #1204 )
2023-08-01 10:24:35 -05:00
adityapk00
38e788b14b
chore: Add server RPC logging ( #1202 )
2023-08-01 09:06:59 -05:00
adityapk00
9b101cf456
chore: Add server RPC logging ( #1202 )
2023-08-01 09:04:17 -05:00
Manan
7012a4c377
fix: unique hash on links, index embeds ( #1174 )
...
* fix: unique hash on links, index embeds
* fixes linting
* handle conflicts on the uniqueness
* remove the 2nd onConflict
* fix: merges embedsDeprecated into embeds
* yarn lint
* remove embedsDeprecated from interface
2023-07-31 22:44:02 -07:00
adityapk00
a1b9aced0c
fix: Limit calls to subscribe() ( #1197 )
...
* fix: Limit subscribe() calls by IP
* changeset
* tests
* subscribe auth test
2023-07-31 08:58:51 -05:00
adityapk00
eae1ba848d
test: Add rust tests ( #1196 )
2023-07-28 14:00:38 -07:00
adityapk00
571e543460
fix: Fetch network config only on mainnet ( #1195 )
...
* fix: Fetch network config only on mainnet
* changeset
2023-07-28 12:29:50 -07:00
adityapk00
ec7734cf77
feat: Move blake3 into rust ( #1194 )
2023-07-28 12:07:13 -07:00
adityapk00
15fad46703
feat: Add Rust toolchain to Hubble and move ed25519 to rust ( #1191 )
...
* feat: Add Rust toolchain to hubble and move ed25519 to rust
* changeset
* cleanup
* Add rust-toolchain
* Add Rust installation to docs
* Update docs
* tests for invalid data
* fix: Fix TestData generator for testnet (#1193 )
* fix: Fix TestData generator for testnet
* changeset
* update docs
2023-07-28 09:32:03 -07:00
adityapk00
39e0141d05
fix: Fix TestData generator for testnet ( #1193 )
...
* fix: Fix TestData generator for testnet
* changeset
2023-07-27 11:05:25 -07:00
adityapk00
63260785f3
fix: Bugfix where testnet would restrict peers ( #1192 )
...
* fix: Bugfix where testnet would restrict peers
* changeset
2023-07-27 10:05:47 -07:00
Cassandra Heart
50a6b8ac7f
Adjust rent-based prune warning to debug for now ( #1186 )
2023-07-25 09:39:14 -07:00
adityapk00
047ce9fb19
fix: Add storage slots to perf testing so they don't get pruned ( #1185 )
2023-07-25 10:38:06 -05:00
adityapk00
9f669b5774
feat: Scale validation workers by number of CPUs ( #1180 )
...
* feat: Scale validationWorkers by CPU
* changeset
* Update validation workers
2023-07-25 08:54:16 -05:00
Cassandra Heart
d443fbe9f9
feat: Adds support for storage/logging if would be pruned ( #1165 )
...
* Adds support for storage/logging if would be pruned
* pr feedback, fixed unclosed iterator
* update test to increment timestamp so fast runs of test don't hit prune early
* Add test to verify cache invalidation
2023-07-24 09:42:12 -07:00
adityapk00
083762e5d0
feat: Improve storage and gen profiler ( #1179 )
...
* feat: Profiler improvements for gen/storage
* changeset
2023-07-23 16:10:37 -05:00
Tony D'Addeo
aa461d1cd4
Update allowedPeers.mainnet.ts ( #1178 )
2023-07-22 16:53:58 -05:00
Sanjay
c7ec4ca92e
feat: revoke signers 1hr after custody event ( #1177 )
...
* feat: revoke signers 1hr after custody event
* add changeset
2023-07-21 15:41:13 -07:00
Sanjay
b9efe14add
feat: validate name proofs against fid instead of custody address ( #1172 )
2023-07-20 15:38:39 -07:00
Sanjay
f49df2d87b
chore: release 1.4.3 ( #1173 )
@farcaster/hubble@1.4.3
@farcaster/hub-web@0.5.0
@farcaster/core@0.11.1
@farcaster/hub-nodejs@0.9.1
2023-07-20 15:26:56 -07:00
adityapk00
376ae0f48b
feat: Use a web based allowlist ( #1171 )
...
* feat: Use a web-based network config for hubble
* changeset
* tests
* add test
* noop test
2023-07-20 13:46:21 -05:00
adityapk00
c1bb21c9d9
fix: Use a queue when retrying messages ( #1168 )
...
* fix: Add a retry Q for failed signer messages
* changeset
2023-07-20 09:19:10 -05:00
Christian Mladenov
e36fcae936
Fix proof message timestamp validation & add builders for UsernameProofData and UsernameProofMessage ( #1164 )
2023-07-19 11:43:10 -07:00
adityapk00
998979d5ce
feat: Warn if there are no incoming connections to the hub. ( #1163 )
...
* feat: Log warnings when no incoming connections
* changeset
* cleanup
2023-07-19 09:09:32 -05:00
Ken Goldfarb
23ce55d306
chore: add @kencodes peer id back to allowedPeers after upgrade to 1.3.3 or newer ( #1162 )
2023-07-18 07:31:11 -07:00
adityapk00
115f1b5932
feat: validateOrRevoke fid-by-fid ( #1159 )
...
* feat: validateOrRevoke fid-by-fid
Fixes #1158
* changeset
* cleanup
* cleanup
2023-07-18 08:53:51 -05:00
Sanjay
88f31f27dc
fix: Fix typing for merge username proof events ( #1161 )
2023-07-17 20:10:58 -07:00
adityapk00
f00d7d2a00
fix: Move validateOrRevokeMessages and storageCache iterators to be managed ( #1156 )
...
* fix: Move more iterators to managed
* changeset
* fixes
* return values
* logs
2023-07-17 13:54:12 -05:00
rafael gutkowski
46a9144367
Add @rafi peer id ( #1146 )
...
* Update allowedPeers.mainnet.ts
* Use handle instead of ENS
2023-07-16 21:43:01 -07:00
Varun Srinivasan
e0b5c13515
chore(hubble): release v1.4.2 ( #1155 )
@farcaster/hubble@1.4.2
2023-07-16 15:40:50 -07:00
Varun Srinivasan
645eacea6f
refactor(hubble): order and comment cli options for clarity ( #1154 )
2023-07-16 14:36:57 -07:00
Varun Srinivasan
3664c6d112
chore(hubble) add vercel analytics to www ( #1153 )
2023-07-16 09:48:26 -07:00
Sanjay
1d9c34af08
fix: fix testnet defaulting to no allowed peers ( #1151 )
2023-07-16 09:06:43 -07:00
Varun Srinivasan
4d28208563
docs: add documentation requirement and instructions to pr template ( #1150 )
2023-07-15 22:44:48 -07:00
Varun Srinivasan
c43effe355
docs(hubble): update api, event and message docs ( #1148 )
...
* docs(hubble): add git pull to upgrade instructions
* docs(hubble): add documentation for events
* docs(protobuf): update instructions to generate docs
* docs(hubble): update more docs
2023-07-15 22:38:55 -07:00
wijuwiju
4f73d4d579
Update allowedPeers.mainnet.ts ( #1145 )
2023-07-15 22:20:30 -07:00
Varun Srinivasan
dca4dc20b5
docs: update hubble documentation ( #1144 )
...
* docs(hubble): update README
* docs: update README
2023-07-14 23:05:35 -07:00
Varun Srinivasan
9668d34e40
chore: release hubble v1.4.1 and new package versions ( #1143 )
@farcaster/hubble@1.4.1
@farcaster/hub-nodejs@0.9.0
@farcaster/core@0.11.0
2023-07-14 22:30:56 -07:00
Tony D'Addeo
6fc291e636
feat: limit logs to 7gb when run with docker compose ( #1136 )
...
* feat: limit logs to 7gb when run with docker compose
* feat(hubble): reduce log files to 2x1GB in docker compose
---------
Co-authored-by: Varun Srinivasan <varunsrin@gmail.com >
2023-07-14 22:08:28 -07:00
Yiko
7f5ad7adb4
chore: add hub peer_id to allowedPeers ( #1140 )
2023-07-14 22:01:10 -07:00
alekh_w
aec47c2c0c
Update allowedPeers.mainnet.ts ( #1095 )
...
add mainnet peer from @asverty
2023-07-14 21:57:15 -07:00
Varun Srinivasan
03a1cf789a
docs(hubble): port documentation to vitepress site ( #1141 )
2023-07-14 21:52:54 -07:00
Shane da Silva
aebbb47b3c
chore: Automate Docker Hub publishing ( #1138 )
...
Set up automation so that when we push the `@farcaster/hubble@X.Y.Z` tag
we will automatically kick off a Docker build and push the resulting
image layers + tag to Docker Hub.
2023-07-14 21:18:21 -04:00
Cassandra Heart
8d0d87dcc1
feat: support direct peering ( #1133 )
...
* Support direct peering
* Add changeset
2023-07-14 18:22:10 -05:00
Stephan Cilliers
15d43931f4
feat: support fallback RPC providers ( #1128 )
...
CLI now supports comma separated RPC URLs to fall back on (--eth-rpc-url, --eth-mainnet-rpc-url, --l2-rpc-url)
Added --rank-rpcs CLI option which will rank provided RPC URLs by stability and latency if there are multiple
2023-07-14 15:07:51 -05:00
Shane da Silva
71558f8700
chore: Decrease block confirmations from 6 to 3 for L1 ETH events ( #1135 )
...
For now, since we're on testnet we want to ensure user registrations are
recognized relatively quickly so that onboarding doesn't take too long.
Reduce the number of confirmations.
Once we move to user registration happening on an L2, this will be less
of a concern.
2023-07-14 15:17:57 -04:00
adityapk00
f179dd6a2e
fix: Add managed Iterators ( #1134 )
...
* fix: Add managed iterator
* changeset
* timeout
2023-07-14 13:37:24 -05:00
Christian Mladenov
57235761a8
chore: remove obsolete ethers dependency from hub-nodejs ( #1105 )
2023-07-14 11:24:03 -07:00
Cassandra Heart
728a557a8d
fix: Adjust chunk size to 1000 ( #1123 )
...
* Adjust chunk size to 1000
* add changeset
2023-07-14 12:59:04 -05:00