Skip to content

Commit

Permalink
feat(contracts): replace hardhat with foundry toolkit (#51)
Browse files Browse the repository at this point in the history
* fix: add missing components and methods to BroadcastDeploy

* feat(contracts): move deploy logic to library

* feat(contracts): add codegen for deploy script

* feat(contracs): add functionality to upgrade diamond

* feat(contracts): add functionality to reuse world and components

* chore(contracts): remove hardhat, use foundry toolkit for everything

* fix(cli): fix mud deploy

* feat: add yarn start:ri script to workspace root

* fix(cli): add fetch and fix chainSpec parsing

* chore: clean up package.json

* fix: make deploy script pass local persona contracts to launcher
  • Loading branch information
alvrs committed Jul 5, 2022
1 parent 089c46d commit 2c0e4a9
Show file tree
Hide file tree
Showing 31 changed files with 1,088 additions and 2,125 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -24,7 +24,8 @@
"husky": ">=6",
"lerna": "^4.0.0",
"lint-staged": ">=10",
"prettier": "^2.6.2"
"prettier": "^2.6.2",
"run-pty": "^3.0.0"
},
"config": {
"commitizen": {
Expand All @@ -38,7 +39,8 @@
"lint": "eslint . --ext .ts",
"prepare": "husky install && yarn lerna run prepare",
"lerna:release": "lerna version --conventional-commits --yes",
"lerna:publish": "lerna publish --no-private --force-publish"
"lerna:publish": "lerna publish --no-private --force-publish",
"start:ri": "run-pty % yarn workspace ri-contracts run start % yarn workspace ri-client run start"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
Expand Down
367 changes: 219 additions & 148 deletions packages/cli/build/commands/deploy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cli/build/commands/hello.js
Expand Up @@ -11,7 +11,7 @@ const builder = (yargs) => yargs
exports.builder = builder;
const handler = (argv) => {
const { name } = argv;
const greeting = `Hello, ${name}!`;
const greeting = `Gm, ${name}!`;
console.log(greeting);
process.exit(0);
};
Expand Down
1 change: 1 addition & 0 deletions packages/cli/package.json
Expand Up @@ -46,6 +46,7 @@
"inquirer-prompt-suggest": "^0.1.0",
"listr2": "^4.0.5",
"netlify": "^11.0.1",
"node-fetch": "^3.2.6",
"openurl": "^1.1.1",
"path": "^0.12.7",
"uuid": "^8.3.2",
Expand Down

0 comments on commit 2c0e4a9

Please sign in to comment.