Commit Graph

621 Commits

Author SHA1 Message Date
Sanjay
52fc714970 chore: Release 1.2.1 (#925) @farcaster/hubble@1.2.1 @farcaster/hub-web@0.3.1 @farcaster/hub-nodejs@0.7.1 @farcaster/core@0.7.1 2023-04-27 14:36:13 -07:00
Michael Huang
6a8486017e feat: implement ViemLocalEip712Signer (#787)
* Implement viemEip712Signer

* Add tests

* clean

* Stubs

* Deps

* Fixes

* Clean

* Fix bugs

* Rename

* Add changeset

* rename

* clean up

* rename

* update import

* Upgrade

* Update test

* ViemEip712Signer -> ViemLocalEip712Signer

* clean up

* Convert hash bytes to hex string before signing

* use random wallet

* Add test for mnemonic account

* Simplify

* Use random mnemonic phrase

* More clean up

* Add comment

* refactor EIP-712 signer tests into util

* update changeset to patch core

---------

Co-authored-by: Tony D'Addeo <tony@merklemanufactory.com>
Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-27 12:40:35 -04:00
Vincent Liao
3af9f6e166 docs: fix 404 links in PR template (#923) 2023-04-27 08:00:52 -07:00
Sanjay
427ced4f1b feat: Remember bad peers during sync and ignore them for a while. (#920)
This helps reduce excessive sync attempts (attempting to sync
with a peer that's catching up for the first time, sync divergence
prefix bugs, etc)
2023-04-26 20:40:04 -07:00
Sanjay
421c385453 feat: Add sync stats to getInfo call (#916)
* refactor: Rename sync events flag for clarity

* feat: Add sync statuts to HubInfo RPC call

* feat: Add sync stats to getInfo rpc call

* re-patch hub-web to use default export as before

* changeset
2023-04-25 10:40:59 -07:00
Sanjay
4fc319812e fix: Dedup eth events retries by block number to save api calls (#917) 2023-04-25 10:40:42 -07:00
Varun Srinivasan
a57e335da6 chore(hub-nodejs): update write-cast example for v0.7 (#915) 2023-04-24 21:36:46 -07:00
Paul Fletcher-Hill
71e9248ec2 add @les (#914) 2023-04-24 22:15:04 -04:00
Varun Srinivasan
e53b38b9c5 docs(hubble): add pm2 logrotate, exponential backoff to address common failures (#913) 2023-04-24 15:28:38 -07:00
Varun Srinivasan
a5fa70d652 docs(hubble): use hubble/latest instead of a specific version (#912) 2023-04-24 15:05:40 -07:00
Varun Srinivasan
812386f338 chore(hub-nodejs): update write-data example (#910) 2023-04-24 14:18:24 -07:00
Paul Fletcher-Hill
38b434ae0b log when stream starts (#909) 2023-04-24 16:00:19 -04:00
Paul Fletcher-Hill
1680726c36 parse cli chunk-size as number (#908) 2023-04-24 15:29:41 -04:00
Varun Srinivasan
b225a84410 chore(hub-nodejs): add hub urls, steps to chron-feed examples (#905) 2023-04-23 21:25:27 -07:00
Crypto Benkei
8f6754df45 chore: Add mainnet peer to allowed peers (#901) 2023-04-23 20:10:33 -07:00
Varun Srinivasan
f2f7297a13 docs(hubble): add instructions for connecting to mainnet (#903)
* chore(hubble): remove all references to flatbuffers

* docs(hubble): update getting started with mainnet instructions
2023-04-21 11:02:49 -07:00
Zach Terrell
0c3c33f2b8 docs(hub-nodejs): update example (#900)
* update hub-nodejs example

* change to getSSLHubRpcClient
2023-04-20 20:22:59 -07:00
Sanjay
5cee2c5526 fix: Fix off by one error when retrying id registry event on sync (#899)
* fix: Fix off by one error when retrying id registry event on sync

* feat: Add a command line flag to resync eth events from the beginning

* Add changeset
2023-04-20 18:18:49 -07:00
Kind Jeff
7d8f1aa524 chore: add new mainnet peer for rss3 (#890)
from https://github.com/NaturalSelectionLabs
2023-04-19 21:02:19 -07:00
Niranjan Singh
9d56e84fe0 Adding @nj's PeerID to be allowed to run mainnet hub (#897) 2023-04-19 16:02:18 -07:00
Manan
f7ff9b81b0 Adding a peer for mainnet (#881) 2023-04-19 13:06:13 -07:00
Paul Fletcher-Hill
c5a6aac6e4 changeset version (#889) @farcaster/core@0.7.0 @farcaster/hubble@1.2.0 @farcaster/hub-web@0.3.0 @farcaster/hub-nodejs@0.7.0 2023-04-19 00:43:57 -04:00
Paul Fletcher-Hill
87b2789124 feat: support arbitrary target types (#847)
* support CastId embeds, url parents and reaction targets

* docs(changeset): support CastId embeds, cast parent URLs, and reaction target URLs

* fix validations test

* add version and embeds deprecated validation

* docs(changeset): upgrade to protocol version 2023.4.19

* update protobuf generated code

* add reaction service tests

* add more examples to builder tests

* add more cast and reaction tests
2023-04-18 23:10:13 -04:00
Sanjay
aabe4f21bb chore: fail the build if current version is too close to expiry (#888) 2023-04-18 18:11:45 -07:00
Sanjay
a027a3ed63 fix: compact the db occasionally when syncing to avoid db bloat (#884)
* fix: compact the db occasionally when syncing to avoid db bloat

* Additional tests and logging

* add changeset
2023-04-18 15:25:47 -07:00
Milo Watanabe
fbb78de341 add new mainnet hub (#880) 2023-04-18 11:51:46 -07:00
David Furlong
a67c7c2d6e Update allowedPeers.mainnet.ts (#886) 2023-04-18 11:49:08 -07:00
Paul Fletcher-Hill
0cb0a522b2 chore: re-organize sync engine to use submitMessage rather than mergeMessage (#878)
* upgrade hub-web in examples and move gossip to hubble

* use submitMessage for sync

* simplify logging in sync engine

* remove sync related methods from storage engine

* cleanup imports and remove test methods

* add changeset
2023-04-18 00:49:57 -04:00
Anthony D'Addeo
8a733e5243 chore: add checklist item to sign commits (#879)
* chore: add checklist item to sign commits

* Update PULL_REQUEST_TEMPLATE.md
2023-04-16 21:16:56 -05:00
github-actions[bot]
3be3a3842e version packages (#875)
Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
@farcaster/hub-web@0.2.5
2023-04-14 11:58:16 -04:00
Paul Fletcher-Hill
ee953ec4ad fix: examples and patch hub-web to use grpc-web default export (#867)
* fix chron-feed example

* update chron-feed example

* intermediate commit

* add chron-feed hub-web example

* add changeset

* remove commented out imports from example
2023-04-14 11:16:21 -04:00
Paul Fletcher-Hill
59ea2f9d42 add release-all script (#871) 2023-04-13 00:10:07 -04:00
Paul Fletcher-Hill
31fcb95f12 chore: add release.yml github action (#870)
* add release-hubble workflow

* rename release
2023-04-12 23:44:41 -04:00
Paul Fletcher-Hill
8a7e781fae changeset version hubble v1.1.0 (#869) @farcaster/hubble@1.1.0 2023-04-12 21:31:11 -04:00
Sanjay
34fe54f3cc feat: Include network id in gossip topics to keep networks isolated (#861)
* chore: cleaner logging when ignoring peers

* feat: Include network id in gossip topics to keep peers homogeneous

* Add changeset
2023-04-12 16:27:14 -07:00
Sanjay
c5c0d98247 chore: Add mainnet peer for sanjay (#868) 2023-04-12 15:04:01 -07:00
Sanjay
8758ef2e1a chore: log sync status for better visibility (#865)
* fix: log sync status for better visibility

* Add peer version and network to sync status logs
2023-04-12 14:05:15 -07:00
Varun Srinivasan
eba6c749de fix: label new issues with triage (#866) 2023-04-12 08:25:39 -07:00
Satyajeet Pal
f89fe7f982 docs: update examples for making casts and writing data (#834) 2023-04-12 06:25:01 -07:00
Vincent Liao
3be37fe8c0 docs: add error code in Utils.md (#773) 2023-04-12 06:20:56 -07:00
Greg Skriloff
9cdb60a8fb docs: Correct steps to reset db in hubble readme (#848) 2023-04-12 06:18:30 -07:00
Paul Fletcher-Hill
ccc6c54261 add on to release-packages workflow (#864) 2023-04-11 22:48:04 -04:00
Paul Fletcher-Hill
39387aa702 add release-packages workflow (#862) 2023-04-11 22:28:54 -04:00
Varun Srinivasan
503740d25a chore: add peer ids for trusted mainnet hubs from users (#858) 2023-04-11 15:29:42 -07:00
Paul Fletcher-Hill
d25b7038b6 changeset version @farcaster/hub-web (#859) 2023-04-11 17:58:18 -04:00
Paul Fletcher-Hill
932f0ef392 chore: add hub-web docs (#857) 2023-04-11 14:09:39 -04:00
Paul Fletcher-Hill
6e5449acb2 fix: do not change observable stream in grpc-web client (#856)
* do not change observable stream in grpc-web client

* add changeset
2023-04-11 13:31:18 -04:00
adityapk00
0a3b09c960 Killstream (#843)
* fix: Kill streams if client is not responding

* end iterator

* log error and return error with destroy

---------

Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-10 19:46:24 -04:00
Paul Fletcher-Hill
1c6838ac7b upgrade turbo and add protoc command (#853) 2023-04-10 18:56:04 -04:00
Varun Srinivasan
8f01e2312a ci: auto-label all new issues with s-triage (#854) 2023-04-10 13:59:07 -07:00