Skip to content

Instantly share code, notes, and snippets.

@e00dan
Created August 12, 2021 14:00
Show Gist options
  • Save e00dan/72d60ea8598f0f2172078422eb432c87 to your computer and use it in GitHub Desktop.
Save e00dan/72d60ea8598f0f2172078422eb432c87 to your computer and use it in GitHub Desktop.
```
yarn:ganache # (to start Ganache)
DEPLOYMENT_ENV=ganache DEPLOYER_PRIVATE_KEY=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 yarn deploy
DEPLOYMENT_ENV=ganache DEPLOYER_PRIVATE_KEY=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 yarn test
```
Result:
```
(env) ➜ demo-failed-godwoken git:(master) ✗ DEPLOYMENT_ENV=ganache DEPLOYER_PRIVATE_KEY=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5 yarn test
yarn run v1.22.10
$ yarn ts-node ./scripts/test.ts
$ /home/kuzi/projects/demo-failed-godwoken/node_modules/.bin/ts-node ./scripts/test.ts
test
test pool
pool balance 0xC14bC37d09647CB9567CBeDDAc5f7e5E0875c452 0
pool balance 0x7De40Ddc711007932b3b2eE79a0653a7f414f991 0
pool balance 0x24B207fFf1a1097d3c3D69fcE461544f83c6E774 0
test registry
registry pools
registry pool parameters
[
"100",
"100",
"0",
"0",
"0",
"0",
"0x0000000000000000000000000000000000000000",
"0",
"0",
"0"
]
Done in 7.40s.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment