-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into aaronmgdr/low-home
* master: (27 commits) Experience Brand Kit 1.0 (#1948) Adjust reference to the rewards app (#2065) [Wallet] Compatibility with exchange rate in string format (#2060) Fix Typo in CI config (#2056) Fix additional attestations instructions (#2057) Allow a specified address to disable/enable rewards distribution (#1828) Aaronmgdr/leaderboard patch (#2055) Move attestation service instructions to main page (#2051) Point To Updated Join Celo Video (#2052) Fix minor issue withe the ordering of instructions changes to docs related to discovery (#2025) [Docs] Fix typos in Running a Validator docs (#2045) Add node flag to celocli to set the target node for a single command (#2020) Fix broken links and spruce up CLI docs for accounts command (#2027) Prevent clipping of arrow component (#2036) Allocates an initial balance to the attestation bot (#2019) gold and dollar flags are required for faucet script (#1943) Clean seed words text area when returns from empty wallet view (#1904) Update validator script (#2026) Docs: PoS, metadata, gateway fee plus cleanup (#2022) ...
- Loading branch information
Showing
188 changed files
with
4,342 additions
and
986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { sleep } from '@celo/utils/lib/async' | ||
import yargs from 'yargs' | ||
import { UpgradeArgv } from '../../deploy/upgrade' | ||
import { handler as contractsHandler } from '../initial/contracts' | ||
import { handler as attestationServiceHandler } from './attestation-service' | ||
import { handler as blockscoutHandler } from './blockscout' | ||
import { handler as ethstatsHandler } from './ethstats' | ||
import { handler as testnetHandler } from './testnet' | ||
|
||
export const command = 'all' | ||
|
||
export const describe = 'upgrades a typical deploy' | ||
|
||
type TestnetArgv = UpgradeArgv & { | ||
reset: boolean | ||
} | ||
|
||
export const builder = (argv: yargs.Argv) => { | ||
return argv.option('reset', { | ||
describe: 'indicates a reset', | ||
default: false, | ||
type: 'boolean', | ||
}) | ||
} | ||
|
||
export const handler = async (argv: TestnetArgv) => { | ||
console.info('Deploy the testnet') | ||
await testnetHandler(argv) | ||
console.info('Deploy ethstats') | ||
await ethstatsHandler(argv) | ||
console.info('Deploy blockscout') | ||
await blockscoutHandler(argv) | ||
|
||
if (argv.reset) { | ||
console.info('Sleeping for 5 minutes to let pods come up') | ||
await sleep(300000) | ||
console.info('Deploy contracts') | ||
await contractsHandler(argv) | ||
} | ||
|
||
console.info('Deploy attestation-service') | ||
await attestationServiceHandler(argv) | ||
} |
Oops, something went wrong.