ethereum-spiking
ethereum-spiking copied to clipboard
Failed when deploying TokenSale
Running migration: 1_initial_migration.js
Replacing Migrations...
... 0x9ec68b086fdd5d4abfed078d0f7d666e7ed6842e670a78ee69b63840711be0df
Migrations: 0xc2a1bebed1b9bb2445b7eb0bb170360eb7b23000
Saving successful migration to network...
... 0x6d07c2b2417643ea35465b63eaa5e653b597aa0198d4a8e6d33188c1b25146d6
Saving artifacts...
Running migration: 2_deploy_contracts.js
Deploying MyToken...
... 0x751fe207838bae02a88ca58312f0354bd9204c527bc23b79e0888e9375d84798
MyToken: 0xe18b5b62fb525a762cce62eaad8ec9460ca0ce6a
Deploying TokenSale...
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: TokenSale contract constructor expected 2 arguments, received 0
at C:\Users\zhangkeliang\AppData\Roaming\npm\node_modules\truffle\build\webpack:~\truffle-contract\contract.js:390:1
at new Promise (