Commit Graph

496 Commits

Author SHA1 Message Date
Sanjay
be6ee3c836 feat: Make l2 rpc url required to start hubble ahead of mainnet migration (#1286)
* feat: Make l2 rpc url required to start hubble ahead of mainnet migration

* Fix build
2023-08-23 14:32:04 -07:00
adityapk00
930d863582 chore: Update the graphite dashboard (#1285)
* chore: Update the grafana dashboard

* changeset

* collapse

* remove id
2023-08-23 13:25:43 -05:00
adityapk00
27287d2d48 feat: hubble.sh installation script (#1278)
Add hubble.sh and hubble-bootstrap.sh scripts
2023-08-23 08:43:44 -05:00
Sanjay
01a3c08ea7 feat: fetch contract addresses from network config (#1282)
* feat: fetch contract addresses from network config

* Fix tests and add changeset
2023-08-22 17:59:32 -07:00
adityapk00
83a47432cc fix: Stabilize and format ETA during progress (#1281)
* fix: Stabilize and format ETA during progress

* messages
2023-08-22 09:48:35 -05:00
adityapk00
a3d6b21ef9 fix: Improve Startup Checks (#1280)
* fix: Improve startup checks

* changeset
2023-08-22 09:05:59 -05:00
Sanjay
acfb44d7a0 feat: SyncEngine syncs from L2 if required post migration (#1279)
* feat: SyncEngine syncs from L2 if required post migration

* Remove tests for time based pruning (feature deprecated)
2023-08-21 21:31:24 -07:00
adityapk00
b50024c896 fix: Improve startup chekcs to be more consistent (#1277) 2023-08-21 08:41:51 -05:00
Sanjay
bf1c44d2f1 feat: Add new signer event fields and new onchainevent RPC calls (#1276)
* feat: RPC compatibility for migration

* Add rpc tests

* Store key and metadata types on onchain signer events

* changeset

* Use generic iterator
2023-08-18 22:06:39 -07:00
Shane da Silva
74313c17c8 fix: Switch startup checks to check against OP Mainnet (#1275) 2023-08-18 12:01:17 -07:00
Sanjay
30c273a33d fix: Fix fname migration to handle corrupt data (#1272)
* Revert "fix: Add fname proof migration logs (#1271)"

This reverts commit 499e4ab74c.

* fix: handle fname migraiton with corrupt data
2023-08-17 10:07:25 -07:00
adityapk00
499e4ab74c fix: Add fname proof migration logs (#1271) 2023-08-17 10:36:25 -05:00
adityapk00
7a9699438d fix: Log DB migration failures (#1270)
* fix: Log DB migration failures

* changeset
2023-08-17 10:21:41 -05:00
adityapk00
dbdfad5025 fix: Slow testdata job to avoid FID rate limit (#1269) 2023-08-17 09:47:09 -05:00
adityapk00
ee3897f3f0 feat: Add startup checks and progress bars (#1268)
* feat: Add startup checks and progress bars


* changeset

* typo

* cli option to diable

* initial sync progress bar

* change cli option name

* Install instructions
2023-08-17 09:31:51 -05:00
Sanjay
e6180074d8 feat: enforce storage pruning 1 day after migration (#1267) 2023-08-15 20:00:52 -07:00
adityapk00
a508e56fc1 chore: Improve gen.submitMessages() for testing (#1265)
* chore: Improve gen.submitMessages() for testing

* changeset
2023-08-15 08:59:13 -05:00
adityapk00
37df58017d chore: Cleanup logs and instructions (#1263)
* chore: Cleanup logs and instructions

* test
2023-08-15 07:49:04 -05:00
Sanjay
315a08732a feat: Add an events-reset command to clear l2 events (#1264) 2023-08-14 21:35:30 -07:00
adityapk00
75099a855f chore: Release v1.4.6 (#1261) 2023-08-14 15:44:50 -05:00
Sanjay
1fcfd49517 fix: last block bugs with events providers (#1243)
* fix: last block bugs with events providers

* Remove usages of name registry worker

* Better defaults for OP constants

* Fix tests

* Add changeset
2023-08-14 13:32:45 -07:00
adityapk00
637002e645 Update network instructions (#1260) 2023-08-14 15:13:02 -05:00
adityapk00
6ec1493514 feat: Make mainnet permissionless (#1259)
* feat: Make mainnet permissionless

* cleanup
2023-08-14 14:53:26 -05:00
adityapk00
3e601f81d5 fix: Fetch L2 network events in parallel (#1258)
* fix: Fetch L2 network events in parallel

* change to info
2023-08-14 14:06:59 -05:00
adityapk00
f963148868 feat: Add statsd monitoring (#1251)
* feat: Add grafana/statsd dashboard

* Add instructions

* update docs
2023-08-14 13:31:33 -05:00
adityapk00
8d61f5f2f3 fix: Fix initial Eth events fetching and logging (#1257)
* fix: Improve initial eth events fetch

* changeset
2023-08-14 08:27:08 -05:00
Sanjay
951793b18b fix: getUserNameProofsByFid should include fname proofs (#1256)
* fix: getUserNameProofsByFid should return fname proofs as well

* changeset

* Fix tests

* determine latest schema version automatically
2023-08-11 16:06:25 -07:00
adityapk00
1ca39ab6a3 chore: Add documentation about how to do migrations (#1255) 2023-08-11 14:52:42 -05:00
adityapk00
d8cb39acd5 fix: Limit getSyncStatus to 30 peers (#1254)
* fix: Limit getSyncStatus to 30 peers

* speedup
2023-08-11 14:09:37 -05:00
adityapk00
c61728cbf5 fix: Db Migration for Username proof messages (#1252)
* feat: DB Migration for UserNameProof index messages

* changeset

* lint

* tests

* address comments
2023-08-11 11:41:45 -05:00
adityapk00
f241dcf489 fix: Ensure valid messages during insert into sync trie (#1248)
* fix: Ensure valid messages during insert into sync trie

* test
2023-08-10 16:48:20 -05:00
Shane da Silva
470a7db8ad chore: Update documentation for docker-compose.yml file (#1247)
We had two files in the repo, which was confusing. Add documentation and
remove the one that isn't used.

While here, fix the configuration to work with Envoy.
2023-08-10 13:52:25 -07:00
Sanjay
36484022dc fix: Fix ens proof message sync (#1246)
* fix: ensure username proofs are added to the sync trie

* add changeset
2023-08-10 12:17:58 -07:00
adityapk00
6bb1b4392a fix: Fix a bug where hubs would report status incorrectly. (#1245)
* fix: Handle undefined syncstatus

* changeset
2023-08-10 12:15:01 -05:00
adityapk00
5e96e13464 fix: Handle network errors when fetching config (#1242)
* fix: Handle network errors when fetching config

* changeset
2023-08-09 14:56:58 -05:00
Sanjay
c6d79cdbb8 feat: Handle onchain event edge cases (#1240)
* feat: Handle onchain event ordering edge cases

* changeset

* validate scheme for signer

* Sort events by blocknumber and logindex to reflect actual order of onchain operations

* revert enum ordering changes
2023-08-09 10:14:20 -07:00
adityapk00
7b6fd4d573 chore: Simplify rust bridge (#1241) 2023-08-09 10:51:33 -05:00
adityapk00
e55e571f2d chore: add "getting blockchain events" to hub status (#1239) 2023-08-09 09:04:50 -05:00
adityapk00
0752a27283 Update release (#1238) 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
Shane da Silva
505790be6c chore: Cut Hubble version 1.4.4 and other package upgrades (#1228) 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