Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dapp: Display list of recipients #61

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

xuhcc
Copy link
Contributor

@xuhcc xuhcc commented Jun 26, 2020

Resolves #53
Partially implements #29

@xuhcc xuhcc mentioned this pull request Jul 3, 2020
@@ -7,6 +7,7 @@
"node": "buidler node --port 18545",
"deploy:local": "yarn clean && yarn build && buidler run --network localhost scripts/deploy.ts",
"deploy:goerli": "yarn clean && yarn build && buidler run scripts/goerli.ts",
"deployTestRound:local": "yarn buidler run --network localhost scripts/deployTestRound.ts",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think yarn is needed in this command but it probably doesn't hurt either.

- Deploying MACI instance.

```
yarn buidler run --network localhost scripts/deployTestRound.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: yarn deployTestRound:local

### Deploy factory contract

```
yarn buidler run --network localhost scripts/deploy.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't this simply be yarn deploy:local?

@@ -23,7 +23,7 @@
"test": "yarn workspaces run test",
"test:contracts": "yarn workspace @clrfund/contracts run test",
"test:web": "yarn workspace @clrfund/vue-app run test",
"deploy:local": "yarn workspace @clrfund/contracts run deploy:local",
"deploy:local": "yarn workspace @clrfund/contracts run deploy:local && yarn workspace @clrfund/contracts run deployTestRound:local",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we'll always want a test round deployed, or rather if there's a case where we might not want to have one deployed for testing? If the latter is true in any case we might want to separate this into another script. Not a big deal though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll want the test round most of the time.

We may want to see how frontend responds to the situation when no round is deployed, but in that case we can simply run:

yarn workspace @clrfund/contracts run deploy:local
yarn start:web

instead of

yarn start:dev

@proofoftom proofoftom merged commit da4c1ca into clrfund:master Jul 3, 2020
@xuhcc xuhcc deleted the show-recipients branch June 26, 2021 09:17
daodesigner pushed a commit that referenced this pull request Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Script for test round deployment
2 participants