AssertionError: Error: VM Exception while processing transaction: revert
TRUST-TECH-LABS opened this issue · comments
Truffle v4.0.1
solcjs 0.4.18+commit.9cf6e910.Emscripten.clang
EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2)
npm test result:
2002 passing (2m)
78 failing
-
Contract: BancorConverter should throw when attempting to construct a converter with no token:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:95:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to construct a converter with no converter extensions:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:105:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to construct a converter with invalid max fee:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:115:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to construct a converter with a connector with invalid weight:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:133:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to update the fee to an invalid value:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:234:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should not fire an event when attempting to update the fee to an invalid value:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:289:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add a connector with invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:353:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add a connector with weight = 0:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:365:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add a connector with weight greater than 100%:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:377:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add the token as a connector:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:389:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add the converter as a connector:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:401:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add a connector that already exists:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:414:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to add multiple connectors with total weight greater than 100%:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:427:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to update a connector that does not exist:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:463:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to update a connector with weight = 0:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:476:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to update a connector with weight greater than 100%:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:489:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to update a connector that will result in total weight greater than 100%:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:503:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to disable connector purchases for a connector that does not exist:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:571:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to retrieve the balance for a connector that does not exist:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:602:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to withdraw from a connector to an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:646:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to withdraw from a connector to the converter address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:661:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the return with an invalid from token adress:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:710:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the return with an invalid to token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:722:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the return with identical from/to addresses:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:734:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the purchase return with a non connector address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:758:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the purchase return while purchasing with the connector is disabled:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:771:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to get the sale return with a non connector address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:795:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to convert with an invalid from token adress:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:890:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to convert with an invalid to token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:903:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to convert with identical from/to addresses:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:916:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to buy with a non connector address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:985:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to buy with 0 minimum requested amount:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1038:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to buy while the connector purchases are disabled:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1065:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to buy without first approving the converter to transfer from the buyer account in the connector contract:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1077:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to sell with a non connector address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1117:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to sell with 0 minimum requested amount:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1154:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to sell with amount greater then the seller balance:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverter.js:1178:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when attempting to construct the converter extensions with no formula:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:46:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when attempting to construct the converter extensions with no gas price limit:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:56:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when attempting to construct the converter extensions with no quick converter:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:66:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the formula contract address with an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:97:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the formula contract address with the converter extensions address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:109:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the gas price limit contract address with an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:140:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the gas price limit contract address with the converter extensions address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:152:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the quick converter contract address with an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:183:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverterExtensions should throw when the owner attempts update the quick converter contract address with the converter extensions address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/BancorConverterExtensions.js:195:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when attempting to construct a controller with no token:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:77:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when attempting to construct a controller without beneficiary address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:97:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when attempting to construct a controller without bitcoin suisse address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:107:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when attempting to construct a controller without ether cap hash:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:117:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when the owner attempts to enable the real ether cap with an invalid cap:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:172:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when the owner attempts to enable the real ether cap with the wrong real cap:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:184:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: CrowdsaleController should throw when the owner attempts to enable the real ether cap with the wrong cap key:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/CrowdsaleController.js:196:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: ERC20Token should throw when attempting to transfer to an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/ERC20Token.js:58:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: ERC20Token should throw when attempting to define allowance for an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/ERC20Token.js:83:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: ERC20Token should throw when attempting to transfer from an invalid account:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/ERC20Token.js:137:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: ERC20Token should throw when attempting to transfer from to an invalid account:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/ERC20Token.js:150:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: EtherToken should throw when attempting to transfer to the token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/EtherToken.js:92:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: EtherToken should throw when attempting to transferFrom to the token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/EtherToken.js:106:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when the owner attempts to set an invalid short quick buy path:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:174:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when the owner attempts to set an invalid long quick buy path:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:188:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when the owner attempts to set a quick buy path with an invalid length:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:198:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to quick buy and the return amount is lower than the given minimum:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:273:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to quick buy and passing an amount higher than the ETH amount sent with the request:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:285:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: BancorConverter should throw when attempting to sell directly for ether and the return amount is lower than the given minimum:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/QuickConvert.js:327:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartToken should throw when attempting to construct a token with no name:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartToken.js:24:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartToken should throw when attempting to construct a token with no symbol:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartToken.js:34:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartToken should throw when the owner attempts to issue tokens to an invalid address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartToken.js:91:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartToken should throw when the owner attempts to issue tokens to the token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartToken.js:103:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartToken should throw when a non owner attempts to destroy tokens:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartToken.js:162:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartTokenController should throw when attempting to construct a controller with no token:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartTokenController.js:43:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartTokenController should throw when the owner attempts to transfer token ownership while the controller is not active:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartTokenController.js:96:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartTokenController should throw when the owner attempts to disable token transfers while the controller is not active:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartTokenController.js:137:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: SmartTokenController should throw when the owner attempts to withdraw other tokens from the token while the controller is not active:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/SmartTokenController.js:173:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: TokenHolder should throw when attempting to withdraw tokens from an invalid ERC20 token address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/TokenHolder.js:51:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: TokenHolder should throw when attempting to withdraw tokens to an invalid account address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/TokenHolder.js:63:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: TokenHolder should throw when attempting to withdraw tokens to the holder address:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/TokenHolder.js:75:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) -
Contract: TokenHolder should throw when attempting to withdraw an amount greater than the holder balance:
AssertionError: Error: VM Exception while processing transaction: revert
at Object.ensureException (test/helpers/Utils.js:9:5)
at Context.it (test/TokenHolder.js:87:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
npm ERR! Test failed. See above for more details.
Yeah, we didn't add support for the new exception error code.
Fixed now.