diff --git a/apps/firebase/README.md b/apps/firebase/README.md index a7542e0d4..841de03f9 100644 --- a/apps/firebase/README.md +++ b/apps/firebase/README.md @@ -5,17 +5,17 @@ A firebase function that faucets addresses ## Funding the accounts -The accounts are normal EOAs. send CELO via transfer or simple transaction. +The accounts are normal EOAs. Send CELO via transfer or simple transaction. -## How to qa - -push to the staging branch. this branch is the only non master branch that can be used with captcha and deployment +## How to QA + + Push to the staging branch. This branch is the only non-master branch that can be used with captcha and deployment. ## How to deploy -Deployment is done thru a github action. see deploy-chain.yaml +Deployment is done through a GitHub Action. See deploy-chain.yaml ## ✍️ Contributing diff --git a/apps/firebase/src/database-helper.ts b/apps/firebase/src/database-helper.ts index c9067c6c4..44d43acce 100644 --- a/apps/firebase/src/database-helper.ts +++ b/apps/firebase/src/database-helper.ts @@ -83,7 +83,7 @@ export async function processRequest( } } catch (err) { logExecutionResult(snap.key, ExecutionResult.OtherErr) - console.error(`req(${snap.key}): ERROR proccessRequest`, err) + console.error(`req(${snap.key}): ERROR processRequest`, err) await snap.ref.update({ status: RequestStatus.Failed }) throw err } @@ -122,7 +122,7 @@ async function dispatchCeloFunds( const celoTxhash = await celo.transferCelo(address, amount) console.info( - `req(${snap.key}): CELO Transaction Submited to mempool. txhash:${celoTxhash}`, + `req(${snap.key}): CELO Transaction Submitted to mempool. txhash:${celoTxhash}`, ) await snap.ref.update({ celoTxhash }) return celoTxhash @@ -289,7 +289,7 @@ export class AccountPool { * Try to set `locked` field to true. * * @param lockRef Reference to lock field - * @returns Wether it sucessfully updated the field + * @returns Whether it successfully updated the field */ private async trySetLockField(lockRef: Reference) { const txres = await lockRef.transaction((curr: boolean) => { diff --git a/readme.md b/readme.md index 7edfc865f..30d19aea6 100644 --- a/readme.md +++ b/readme.md @@ -8,14 +8,14 @@ This Repo contains the code for the celo testnets faucet. This is contained in 2 The web app deploys automatically to vercel. -The deploy-chains gh actions deploys functions to staging and production envronments from staging and master branches respectively +The deploy-chains gh actions deploys functions to staging and production environments from staging and master branches respectively -Note other branches are not deployed autamtically but can be by manually triggering the flow +Note other branches are not deployed automatically but can be by manually triggering the flow ## Setup -### Wep app +### Web app To set up the web app to run locally: