Commit Graph

1105 Commits

Author SHA1 Message Date
horsefacts
3784188048 chore: release packages (#1596) @farcaster/hub-nodejs@0.10.19 @farcaster/core@0.13.3 2023-11-29 13:49:19 -05:00
horsefacts
b001fee957 feat: add ViemWalletEip712Signer (#1595) 2023-11-29 13:05:28 -05:00
Shane da Silva
59bf4dc2c6 Cut Replicator 0.2.6 (#1593) @farcaster/replicator@0.2.6 2023-11-28 23:54:10 +09:00
brucexc
9cb4d28050 Update events.md (#1561)
Incorrect request parameters
2023-11-28 23:29:54 +09:00
dependabot[bot]
51fa071647 chore(deps): bump axios in /packages/hub-nodejs/examples/write-data (#1575)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:20:18 +09:00
dependabot[bot]
8ca457a6b0 chore(deps): bump axios from 1.4.0 to 1.6.0 (#1579)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:19:10 +09:00
payton
54e2170363 typo: SubmitMessage intro Message.encode(msg).finish() (#1588) 2023-11-28 23:14:46 +09:00
Shane da Silva
d8a5caafe3 fix: Backfill reactions and storage allocations in Replicator (#1592)
* Add backfillFidReactions and
backfillFidStorageAllocations jobs

* Add changeset file

---------

Co-authored-by: zachterrell57 <zachterrell@gmail.com>
2023-11-28 23:09:40 +09:00
dependabot[bot]
7bed7d9b0f chore(deps): bump undici from 5.19.1 to 5.26.3 (#1525)
Bumps [undici](https://github.com/nodejs/undici) from 5.19.1 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.19.1...v5.26.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:09:19 +09:00
dependabot[bot]
8faf176b45 chore(deps): bump axios in /packages/hub-web/examples/submit-message (#1578)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:08:01 +09:00
dependabot[bot]
067e59b909 chore(deps): bump axios in /packages/hub-web/examples/events (#1577)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:07:49 +09:00
dependabot[bot]
bf6f7cbbe5 chore(deps): bump axios in /packages/hub-web/examples/feed (#1576)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:07:43 +09:00
dependabot[bot]
c8e26ac636 chore(deps): bump axios in /packages/hub-web/examples/profile (#1574)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 23:07:18 +09:00
horsefacts
7c9cee6d4c chore: release new package version (#1591) @farcaster/hub-web@0.7.1 @farcaster/hub-nodejs@0.10.18 @farcaster/core@0.13.2 2023-11-27 17:48:50 -05:00
horsefacts
ab245ce5b5 feat: add EIP-712 helpers (#1587)
* feat: add EIP-712 helpers
* feat: add metadata helper
* chore: add comments to message types
* chore: add changeset
* feat: add contract ABIs
* feat: add storage/bundler addresses
2023-11-27 17:21:35 -05:00
Varun Srinivasan
f026ad1ef4 docs: update release steps (#1583) 2023-11-15 08:30:21 -08:00
Varun Srinivasan
45f071e3b9 release: v1.8.0 (#1582) @farcaster/hubble@1.8.0 2023-11-14 21:52:56 -08:00
adityapk00
6bfb694bff fix: Handle docker-compose versions (#1581) 2023-11-13 08:32:09 -06:00
Sanjay
d6b5b32ce9 chore: release 1.7.2 (#1573) @farcaster/hubble@1.7.2 2023-11-10 16:21:22 -08:00
Sanjay
912f680f3a fix: catch and ignore provider errors during retry (#1572) 2023-11-10 15:36:37 -08:00
Sanjay
3dd49ac4a5 chore: Release 1.7.1 (#1568) @farcaster/hubble@1.7.1 @farcaster/core@0.13.1 @farcaster/hub-nodejs@0.10.17 2023-11-09 11:38:51 -08:00
Sanjay
ff5a90c7c3 fix: commit version after every migration instead of all at once (#1566)
* fix: commit version after every migration instead of all at once

* move get to migrations as well
2023-11-09 10:11:30 -08:00
Sanjay
d16cf27ac4 fix: Don't throw if unable to migrate certain rows (#1565) 2023-11-09 09:10:57 -08:00
Sanjay
11d8bed09d fix: Dont sync deprecated syncIds (#1564) 2023-11-08 23:21:17 -08:00
Sanjay
6890969b5d chore: remove old contract references (#1563)
* chore: remove old contract references

* handle more cases where our syncTrie could be incorrect

* Add migration to delete old contract events

* changeset and fix flaky test
2023-11-08 22:32:33 -08:00
Sanjay
5199f66ea0 chore: Post migration changes (#1560)
* fix: disallow empty casts (#1555)

* fix: Fix peer check job not actually starting (#1559)

* fix: Allow syncTrie to handle names that are substrings (#1546)

* fix: Allow syncTrie to handle names that are substrings

* Add migration to delete unpadded fnames from syncTrie

* changeset
2023-11-08 16:56:54 -08:00
Sanjay
77ff79ed80 fix: Fiw watching v2 contract events (#1562) 2023-11-07 12:04:40 -08:00
Shane da Silva
9637457f86 Cut Replicator 0.2.5 (#1554) @farcaster/replicator@0.2.5 2023-10-31 18:31:09 -07:00
Shane da Silva
406de333dd fix: Consolidate to a single subscribe stream in Replicator (#1553)
We were seeing issues where events would arrive out of order when
processing two streams. To avoid this, have them be processed on the
same stream, where hubs will ensure they are emitted in order
(specifically FID registration followed by messages for the given FID).
2023-10-31 18:14:44 -07:00
Sanjay
e808a4ec5c fix: Fallback to docker-compose if docker install fails (#1552) 2023-10-31 16:01:20 -07:00
Shane da Silva
3621a9fea1 Update minimum hub-nodejs version for Replicator (#1551) 2023-10-31 15:28:16 -07:00
Shane da Silva
e9a5aec3a9 Increase default CONCURRENCY for replicator (#1550)
Since most users seem to connect to a remote hub, increase the default
concurrency.
2023-10-31 14:41:33 -07:00
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