Commit Graph

294 Commits

Author SHA1 Message Date
Sanjay
dd4aec316b chore: Release 1.5.5 (#1412) 2023-09-20 16:34:06 -07:00
Sanjay
20062ceb12 chore: cleanup links store limit default (#1409) 2023-09-20 09:17:50 -07:00
Sanjay
7e2a66e581 [feat] Add a function to parse timestamp from the eventId (#1388) 2023-09-14 16:34:14 -07:00
Sanjay
d77970b110 [chore] Delete pre-migration code (#1369)
* Remove deprecated RPC methods

* Delete unused code

* Delete unused code

* Fix store tests

* Fix more tests

* changeset

* Remove more signer code

* Remove unused signature scheme
2023-09-12 11:11:21 -07:00
Sanjay
87ec4c3db0 chore: release 1.5.4 (#1383) 2023-09-11 21:54:09 -07:00
Sanjay
4893e02db9 fix: Update links store size to be 2500 in the future (#1382)
* fix: Update links store size to be 2500 in the future

* Changeset
2023-09-11 14:51:29 -07:00
adityapk00
471e422f40 chore: Release v1.5.3 (#1377) 2023-09-11 11:32:05 -05:00
Sanjay
08b652edd5 fix: Fix onchain event dedup bug (#1354)
* fix: Correct on-chain event dedup bug

* Handle secondary indices

* Only fix up events before the migration

* Add changeset
2023-09-07 20:32:53 -07:00
Sanjay
bcaab6900d chore: release 1.5.2 (#1355) 2023-09-07 11:37:56 -07:00
Alex Grover
71e7120ec6 chore: replace rome with biome (#1351)
Co-authored-by: adityapk00 <31996805+adityapk00@users.noreply.github.com>
2023-09-07 08:43:02 -05:00
adityapk00
bc416dbe8c feat: Add hub operator's FID (#1352) 2023-09-07 08:04:56 -05:00
Zach Terrell
efd1bff9ca fix: Change replicator timestamp to timestamptz (#1345)
* change replicator timestamp to timestampz

* update README

* Revert "update README"

This reverts commit 605363e86d.

* update README with correct formatting

* fix Shane feedback
2023-09-06 11:22:01 -07:00
Sanjay
76a031e245 feat: move storage limit constants to core (#1343)
* feat: move storage limit constants to core

* changeset
2023-09-05 17:16:02 -07:00
Shane da Silva
d0bc863d4b Update descriptions in replicator example README (#1340) 2023-09-05 14:03:46 -07:00
Vincent Liao
835652da10 add: missing tables on replicator docs (#1328) 2023-09-05 13:55:38 -07:00
adityapk00
2ab99d9518 feat: HTTP API (#1330) 2023-09-05 10:44:38 -05:00
adityapk00
ef65fd4007 fix: Count peer validation errors during sync (#1313)
* fix: Count peer validation errors during sync

* changeset

* doc fix
2023-09-01 08:35:51 -05:00
Sanjay
40cacee931 fix: Drop signer constraint in replicator temporarily (#1298) 2023-08-29 10:07:10 -07:00
Sanjay
35b0d2a281 feat: Support onchain events and username proofs in replicator (#1297) 2023-08-29 08:01:32 -07:00
Sanjay
ec0264e7dc chore: Release 1.5 (#1287) 2023-08-23 15:55:45 -07: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
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
Manan
ac12e69d1b remove hub_subscriptions on migrate down, add utility functions (#1249) 2023-08-14 14:20:26 -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
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
e55e571f2d chore: add "getting blockchain events" to hub status (#1239) 2023-08-09 09:04:50 -05:00
Manan
cbc45b5a98 fix: resolves conflicts for links_fid_target_fid_type_unique (#1223)
* fix: resolves conflicts for links_fid_target_fid_type_unique

* delete the rows to fix for follow/unfollow back & forth.

* keep the soft deletes but ensure we don't get multiple rows for a follow relation
2023-08-08 23:47:08 -07: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
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) 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.
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
505790be6c chore: Cut Hubble version 1.4.4 and other package upgrades (#1228) 2023-08-07 16:10:29 -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
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
adityapk00
3f180073ab chore: Setup grpc server timeouts (#1208)
* chore: Setup grpc server timeouts

* Update package.json
2023-08-02 11:24:00 -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
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
eae1ba848d test: Add rust tests (#1196) 2023-07-28 14:00:38 -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
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
Sanjay
f49df2d87b chore: release 1.4.3 (#1173) 2023-07-20 15:26:56 -07:00
Christian Mladenov
e36fcae936 Fix proof message timestamp validation & add builders for UsernameProofData and UsernameProofMessage (#1164) 2023-07-19 11:43:10 -07:00
Sanjay
88f31f27dc fix: Fix typing for merge username proof events (#1161) 2023-07-17 20:10:58 -07:00