This is very much a work in progress. Please refer to our Discord before trying to do any work based on the code in this repository :)
Despite being super early, we're going to do our best to make sure tests always pass! If the tests don't pass, either something is wrong with your setup, or you found a genuine bug. Please join our #engineering channel on Discord and report it!
The address of our contracts on networks con be found in the "Releases" section of this repo.
In terminal
npx truffle develop
and then at prompt type:
test
To show the gas costs of each transaction during a test, set the enviroment variable GAS_TRACKING
before launching truffle develop
. For example, using bash: GAS_TRACKING=1 npx truffle develop
.
In terminal
npx truffle develop
and then at prompt type:
migrate --reset
and then
exec scripts/seed.js
npx truffle test
If you get the following error:
Error: Attempting to run transaction which calls a contract function, but recipient address 0x8cdaf0cd259887258bc23a92c0a6da92698644c0 is not a contract address
Resolve this by running all migrations again:
migrate --reset