Commit Graph

1073 Commits

Author SHA1 Message Date
Sanjay
ab6e76caf5 chore: Release 1.7 (#1547) @farcaster/hubble@1.7.0 @farcaster/hub-nodejs@0.10.16 @farcaster/core@0.13.0 @farcaster/hub-web@0.7.0 2023-10-26 16:33:42 -07:00
Cassandra Heart
3313c23244 feat: Add ContactInfoContent signing + config toggle for strict validation + StrictNoSign (#1545)
* first pass, working native signing + tests

* WAR-1064 – add configuration support and validation of contact info signing

* remove signing info from message signature validation

* add changeset

* misref

* pr feedback

* Support clean restarts on specific changes to network config

* don't terminate gossip node unless we are following default termination

* delay invocation if gossip node worker isn't started

* reduce delay to 1s, shouldn't need to exceed
2023-10-26 17:29:03 -05:00
Sanjay
f3d322274b feat: support v2 id and key registry contracts (#1526) 2023-10-24 17:58:30 -07:00
Sanjay
51c57245df chore: Release 1.6.6 (#1543) @farcaster/hubble@1.6.6 2023-10-20 13:21:12 -07:00
Sanjay
559afd0e14 fix: hubble autoupgrade should ensure dependencies and clean unused docker data (#1542)
* fix: hubble autoupgrade should ensure dependencies and clean unused docker data

* Add env var to bypass self upgrade

* Don't restart more than 5 times on failure

* Fix docker command
2023-10-20 13:07:46 -07:00
dependabot[bot]
f7effc284e chore(deps): bump @babel/traverse from 7.21.3 to 7.23.2 (#1533)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 11:27:40 -07:00
Cassandra Heart
b47c65bb74 feat: app-specific peer scoring integration (#1539)
* WAR-1058,WAR-1059,WAR-1061 – App-specific peer scoring integration

* pr feedback

* update test
2023-10-19 17:52:53 -07:00
Sanjay
173c9d61e1 fix: Fix stale contactInfo caches on SyncEngine (#1541) 2023-10-19 17:11:32 -07:00
Shane da Silva
68844d0120 chore: Release Replicator 0.2.4 (#1540) @farcaster/replicator@0.2.4 2023-10-19 16:57:50 -07:00
Shane da Silva
24357fd52d chore: Update minimum hub-nodejs version for Replicator (#1538) 2023-10-19 16:51:11 -07:00
Sanjay
9aaef8eb7c chore: release 1.6.5 (#1536) @farcaster/hubble@1.6.5 @farcaster/hub-web@0.6.10 @farcaster/hub-nodejs@0.10.15 @farcaster/core@0.12.15 2023-10-18 21:01:12 -07:00
Sanjay
6d54786ea2 fix: prevent hub startup if protocol version is expired (#1534) 2023-10-18 19:48:13 -07:00
Sagar Dhawan
2abaa115b5 fix: add memory stats (#1531) 2023-10-18 18:04:02 -07:00
Sagar Dhawan
153da45a5b fix: Remove PubSub based PeerDiscovery (#1530)
* fix: Remove PubSub based PeerDiscovery

* fix: update Grafana dashboard for Hubble

* chore: add changeset

* chore: lint

* chore: tests

* fix: AsyncValidate ContactInfo
2023-10-18 17:18:21 -07:00
Sanjay
ec2711df33 fix: Lower seenTTL to 5 mins to reduce memory consumption (#1529) 2023-10-17 13:49:52 -07:00
Sanjay
44aa4f4556 chore: release 1.6.4 (#1523) @farcaster/hubble@1.6.4 2023-10-14 21:50:49 -07:00
Sanjay
a3e12f54c7 fix: correctly reportValid more messages and bump up seen ttl (#1522)
* fix: correctly reportValid more messages and bump up seen ttl

* changeset

* also inform gossip about invalid so caches can be cleared
2023-10-14 21:24:26 -07:00
Sanjay
c2f0761000 chore: Release 1.6.3 (#1521) @farcaster/hubble@1.6.3 @farcaster/core@0.12.14 @farcaster/hub-web@0.6.9 @farcaster/hub-nodejs@0.10.14 2023-10-14 16:30:48 -07:00
Sanjay
89ce7d2dbf fix: enable asyncValidation so we don't forward invalid messages on gossip (#1520) 2023-10-14 15:51:01 -07:00
Sanjay
5cff3ffb1a chore: Add logging around invalid gossip messages (#1519) 2023-10-14 10:46:02 -07:00
adityapk00
a0597e7f5a test: More tests for Message data_bytes (#1514) 2023-10-13 08:56:49 -05:00
adityapk00
06bb2f43de chore: Go lang example for submitMessage (#1515) 2023-10-13 08:45:27 -05:00
Shane da Silva
78eef248dd fix: Correct additional typos in replicator.sh (#1513)
Missed in 2781c2c9.
2023-10-12 10:54:44 -07:00
adityapk00
a5708f85f8 chore: remove envoy and grpc-web (#1505) 2023-10-12 12:22:56 -05:00
Shane da Silva
2781c2c902 Fix prompt for HUB_SSL in replicator.sh (#1512)
We were infinite looping because we weren't looking at the correct
value.
2023-10-12 10:20:03 -07:00
adityapk00
86bed6f5d8 chore: Calculate earliestTimestamp and numMessages on demand instead of at startup (#1506) 2023-10-12 12:12:20 -05:00
adityapk00
b518b97f96 fix: Cache numFnames and numFids (#1504) 2023-10-12 11:04:50 -05:00
adityapk00
ba86d37467 fix: Accept raw databytes if using alternate protobuf encoding (#1508) 2023-10-12 11:04:24 -05:00
Sanjay
f7e755b3a2 docs: Update examples to use on-chain signers (#1511)
* docs: Update write-data example

* Delete replicate data example

* update other examples
2023-10-11 22:43:05 -07:00
Sanjay
392f7b128d chore: Release 1.6.2 (#1503) @farcaster/hubble@1.6.2 2023-10-10 21:25:40 -07:00
Sanjay
e2ada6030b fix: Exists check should not crash the hub (#1502) 2023-10-10 16:56:36 -07:00
Sanjay
9368cbe325 chore: Release new package version (#1500) @farcaster/hub-nodejs@0.10.13 @farcaster/hub-web@0.6.8 @farcaster/core@0.12.13 2023-10-10 16:00:02 -07:00
horsefacts
f4e50b9547 fix: viem client interface, pass clients to builders (#1499)
* fix: relax PublicClient type

* fix: pass publicClients to builder

* fix: update changeset
2023-10-10 18:32:16 -04:00
Shane da Silva
6c6c959fc8 chore: Release Replicator 0.2.3 (#1498) @farcaster/replicator@0.2.3 2023-10-10 12:08:37 -07:00
Shane da Silva
87f518a654 fix: Don't backfill chain events that were already backfilled (#1497)
We had a typo in the key we were checking, which was causing issues.
2023-10-10 11:58:14 -07:00
Shane da Silva
ba546708be chore: Cut Replicator release 0.2.2 (#1496) @farcaster/replicator@0.2.2 2023-10-10 11:23:45 -07:00
Shane da Silva
49c2ba4684 fix: Persist Grafana across restarts for Replicator Docker Compose (#1495) 2023-10-10 11:06:43 -07:00
adityapk00
17ca659bce fix: Persist grafana data across restart (#1494) 2023-10-10 13:05:46 -05:00
Shane da Silva
51842b035d fix: Avoid displaying large time estimates for Replicator (#1493)
Sometimes a large number just renders as "Infinity". Check if it's just
a large number.
2023-10-10 10:57:36 -07:00
Shane da Silva
28b2e65426 fix: Bind Replicator job dashboard to all interfaces (#1490)
This ensures it is reachable when run inside a Docker container.
2023-10-10 08:57:08 -07:00
Shane da Silva
a25921f36e fix: Correct Grafana port for Replicator dashboard (#1491) 2023-10-10 08:57:00 -07:00
adityapk00
da4e908ff3 chore: Remoce crontab cmd from replicator.sh (#1489) 2023-10-10 10:40:26 -05:00
Sanjay
88c1de2f00 chore: Release 1.6.1 (#1488) @farcaster/hubble@1.6.1 @farcaster/hub-nodejs@0.10.12 @farcaster/hub-web@0.6.7 @farcaster/core@0.12.12 2023-10-10 08:32:53 -07:00
adityapk00
9ca079e49b chore: Add peer scores to grafana dashboard (#1487) 2023-10-10 10:23:22 -05:00
horsefacts
66c4ae35cc fix: add verification defaults (#1467) 2023-10-10 08:23:11 -07:00
adityapk00
c7b28b0689 fix: Install hubble.sh crontab for root instead of user (#1485) 2023-10-10 10:18:45 -05:00
adityapk00
c74a498764 tests: Fix flaky syncEngine test (#1486) 2023-10-10 10:09:01 -05:00
adityapk00
c33f52708b fix: Run protoc as user (#1484) 2023-10-10 09:35:43 -05:00
adityapk00
5b7d56865b fix: Handle L2 event errors (#1483) 2023-10-10 09:22:20 -05:00
Shane da Silva
98b8dee11a fix: Remove infinite prompt loop in replicator.sh (#1479) 2023-10-09 22:47:32 -07:00