Advanced
Purple@purple
1/11/2023

Attention Devcasters: @purple has activated funding to accelerate Farcaster Hub development!  Authors of merged PRs to the Hub GitHub repo can claim a minimum of 0.2 ETH, and potentially up to 0.5 ETH for impact. Below are some highlighted issues where the Merkle team is specifically looking for help:

In reply to @purple
Purple@purple
1/11/2023

Issue #163 Issue: Either fix or suppress reasonable warnings from eslint-security Outcome: Running “yarn lint” produces zero errors Notes: @timdaub has a WIP pull request, check it out first! https://github.com/farcasterxyz/hub/issues/163

In reply to @purple
Purple@purple
1/11/2023

Issue #213 Issue: Refactor the codebase to use HubResult & HubError classes wherever possible Outcome: Deprecate FarcasterError, and all instances of try/catch/throw behavior Notes: Make sure to review the issue discussion, and “packages/utils/src/errors.tshttps://github.com/farcasterxyz/hub/issues/213

In reply to @purple
Purple@purple
1/11/2023

Issue #302 Issue: Split tests into balanced groups using jest’s custom-sequencer feature, to reduce CI run times Outcome: Two test groups that complete in a similar timeframe Notes: Synchronization tests need to be rewritten before this can be done https://github.com/farcasterxyz/hub/issues/302

In reply to @purple
Purple@purple
1/11/2023

Issue #303 Issue: Coverage in Codecov dropped over 13% after implementing sharded tests, causing metrics to be off Outcome: Find the cause of the faulty test coverage, and update codecov.yml to target 85% coverage https://github.com/farcasterxyz/hub/issues/303

In reply to @purple
Purple@purple
1/11/2023

Issue #321 Issue: Farcaster Hubs should only store messages from one network at a time (mainnet/testnet/devnet/etc.) Outcome: Initialize the Hub with a selected network, and only merge casts containing the set network ID Notes: Great first issue for new contributors https://github.com/farcasterxyz/hub/issues/321

In reply to @purple
Purple@purple
1/11/2023

Issue: Split “yarn build” into two new tasks, “typecheck” and “build”.  typecheck should only check for type errors, skipping javascript transpiling. build should depend on the typecheck step, then output .js files Outcome: Two new yarn scripts w/ the described behaviors https://github.com/farcasterxyz/

In reply to @purple
Purple@purple
1/11/2023

Issue: Hub data is structured using flatbuffer schemas.  These have only been tested against typescript, and should be tried in other languages Outcome: Validate that the data objects can be reconstructed in any other language Notes: Rust implementation is wanted here! https://github.com/farcasterxyz/hub/issues/351

In reply to @purple
Purple@purple
1/11/2023

@purple has designated 4 ETH of funds on a first-come, first-merge basis.  Contributors have until April 5th to claim rewards.  Full details can be found on Prop House: https://nouns.build/dao/0xa45662638e9f3bbb7a6fecb4b17853b7ba0f3a60/vote/0xdeaf01b95ff40229b0e0e8bd7e5e4e57023b9b6dbff1e044122c805be3be66e5

In reply to @purple
Purple@purple
1/11/2023

This is only a small sampling of the open Hub issues, so make sure to browse the repo in case something catches your eye! @v - feel free to highlight any other issues we may have missed