-
Notifications
You must be signed in to change notification settings - Fork 97
Description
So I was following the workshop's guide to set up an Orderbook Reserve, but after creating my new token (which I called "Peas", and to which I assigned the ticker "PEA") and running truffle migrate --network development --reset the console says:
Error: ReferenceError: PEA is not defined at Object.run (/home/bleier/.nvm/versions/node/v12.2.0/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:84:1)
This leads me to believe I should declare PEA somewhere in the code, as in 2_deploy_tokens.js:
...
const PEA = artifacts.require('./mockTokens/Peas.sol');
...
and
...
await deployer.deploy(PEA);
...
But nothing about that is mentioned in the guide. Are there any other instances in the code where I should add something related to my newly created Peas? They're a copy of the Mana.sol contract, I just changed the name, symbol and total supply, as per the guide's instructions.
Truffle v5.0.18 (core: 5.0.18)
Node v12.2.0