Commit Graph

849 Commits

Author SHA1 Message Date
adityapk00
0752a27283 Update release (#1238) @farcaster/hubble@1.4.5 @farcaster/hub-nodejs@0.10.3 @farcaster/core@0.12.3 2023-08-08 13:11:33 -05:00
adityapk00
41334ab865 fix: Move rust code to apps/hubble, @farcaster/core to PureJS (#1235)
* fix: Move rust code to apps/hubble, @farcaster/core to PureJS

* changeset

* cleanup

* lint

* fix path for tests
2023-08-08 12:29:05 -05:00
adityapk00
437545ccc7 fix: Log when network config is updated (#1237) 2023-08-08 12:22:15 -05:00
Varun Srinivasan
1ca256c8b5 chore: remove duplicated peers (#1236)
* chore: remove duplicated peers

* chore(hubble): keep primary peers just in case
2023-08-08 10:15:07 -07:00
Varun Srinivasan
a855960982 docs(hubble): update allow-list instructions (#1234) 2023-08-08 09:28:48 -07:00
Tiago Alves
83e3c61910 Remove eventcaster from allowlist (#1215) 2023-08-07 20:56:34 -07:00
Landon
9daee18b14 fix: typo's regarding time utilities in hub-nodejs (#1224) 2023-08-07 20:56:21 -07:00
Shane da Silva
8f7c6a36db chore: Cut patch release to fix neon shim (#1233) @farcaster/hub-nodejs@0.10.2 @farcaster/core@0.12.2 2023-08-07 17:51:45 -07:00
adityapk00
afd2146f80 fix: Remove neon shim (#1232)
* fix: Remove neon shim

* changeset
2023-08-07 19:40:41 -05:00
Shane da Silva
4f9bc9cb71 chore: Cut patch release for core and hub-nodejs (#1231)
This removes Rust for now, until we have prebuilt packages for multiple
architectures.
@farcaster/core@0.12.1 @farcaster/hub-nodejs@0.10.1
2023-08-07 17:01:10 -07:00
adityapk00
cfec77670a fix: Disable the rust codepath (#1230) 2023-08-07 18:44:11 -05:00
Shane da Silva
4c81d05ac3 chore: Update release instructions (#1229) 2023-08-07 16:36:30 -07:00
Shane da Silva
505790be6c chore: Cut Hubble version 1.4.4 and other package upgrades (#1228) @farcaster/hubble@1.4.4 @farcaster/core@0.12.0 @farcaster/hub-web@0.6.0 @farcaster/hub-nodejs@0.10.0 2023-08-07 16:10:29 -07:00
Sanjay
2df38497c0 feat: deprecate time based pruning (#1227) 2023-08-07 15:38:20 -07:00
Sanjay
9ae366b742 fix: Fix onchain event subscription not sending events correctly (#1226) 2023-08-07 11:41:06 -07:00
adityapk00
503b379dcb feat: Integrity checks during Sync (#1225)
* feat: Check integrity during sync

* changeset

* test
2023-08-07 11:27:18 -05:00
adityapk00
40c17c9b66 feat: Add fallback bootstrap peers for mainnet (#1222)
* feat: Add fallback bootstrap peers for mainnet

* changeset

* tests
2023-08-07 08:54:28 -05:00
adityapk00
65a4faff66 feat: Create a deny list for PeerIDs (#1219)
* feat: Create a denyList for peerIds

* changeset

* update test

* bug
2023-08-04 12:44:42 -05:00
adityapk00
d63f8eec1e chore: fix test (#1218)
* chore: fix test

* comment
2023-08-04 10:32:54 -05:00
adityapk00
1e0979b0c0 feat: Rate limit merges by FID (#1213)
* feat: Rate limit merges by FID

* changeset

* tests
2023-08-04 10:08:02 -05:00
Sanjay
d675af9c31 feat: speed up l2 sync and allow rent expiry override for testing (#1216) 2023-08-03 17:47:42 -07:00
Sanjay
86149d3277 feat: Storage RPC (#1211)
* Storage RPC

* added changeset

* updated docs

* Add tests and minor cleanup

* Rename signer on chain event factory for clarity

---------

Co-authored-by: Cassie Heart <cassie@merklemanufactory.com>
2023-08-03 17:10:25 -07:00
Sanjay
67e9466ed5 feat: Refactor storage events to use OnChainEvent (#1210)
* feat: Refactor storage events to use OnChainEvent

* Add tests for getOnChainEvents

* Add changeset

* Guarantee ordering to fix tests
2023-08-02 16:53:11 -07:00
Sanjay
996be82506 bug: Fix revoking messages on onchain signer revoke and make l2 options cutomizable (#1209)
* fix: Handle revoking messages on onchain signer revoke

* customizable l2 options

* changeset
2023-08-02 10:21:50 -07:00
adityapk00
b598c4a2a3 feat: Add libp2p gossip profiling (#1207)
* wip: gossip benchmark

* 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

* chore: Add server RPC logging (#1202)

* chore: Add server RPC logging (#1202)

* feat: Add gossip network profiler

* cleanup

* cleanup

* add args

* changeset

---------

Co-authored-by: Manan <manan19@gmail.com>
2023-08-02 11:26:30 -05:00
adityapk00
3f180073ab chore: Setup grpc server timeouts (#1208)
* chore: Setup grpc server timeouts

* Update package.json
2023-08-02 11:24:00 -05:00
adityapk00
7b66e6d2d2 chore: Remove some unnecessary log statements (#1206) 2023-08-01 14:50:03 -05:00
adityapk00
2e4898d458 chore: Remove syncStatus rate limiter (#1205)
* chore: make logging less verbose for RPC

* chore: remove syncstatus rate limiter
2023-08-01 14:38:44 -05:00
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