48 passing (7m) 39 failing 1) Contract: BFactory Factory fails nonAdmin calls collect: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at processTicksAndRejections (internal/process/task_queues.js:97:5) 2) Contract: BFactory Factory nonadmin cant set blabs address: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at processTicksAndRejections (internal/process/task_queues.js:97:5) 3) Contract: BPool Extreme weights joinswapExternAmountIn should revert: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 4) Contract: BPool Extreme weights joinswapPoolAmountOut should revert: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 5) Contract: BPool Extreme weights exitswapExternAmountOut should revert: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 6) Contract: BPool Extreme weights exitswapPoolAmountIn should revert: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 7) Contract: TMath BMath badd throws on overflow: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 69, 82, 82, 95, 65, 68, 68, 95, 79, 86, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 69, 82, 82, 95, 65, 68, 68, 95, 79, 86, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 910722, "block_hash": "A8DqUTmcDMzgoGyJtR5YRc66LKahXZpwCRftWcxuP2Y1" } at fails (node_modules/truffle-assertions/index.js:152:13) 8) Contract: TMath BMath bsub throws on underflow: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 69, 82, 82, 95, 83, 85, 66, 95, 85, 78, 68, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 69, 82, 82, 95, 83, 85, 66, 95, 85, 78, 68, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 910722, "block_hash": "A8DqUTmcDMzgoGyJtR5YRc66LKahXZpwCRftWcxuP2Y1" } at fails (node_modules/truffle-assertions/index.js:152:13) 9) Contract: TMath BMath bmul throws on overflow: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 69, 82, 82, 95, 77, 85, 76, 95, 79, 86, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 69, 82, 82, 95, 77, 85, 76, 95, 79, 86, 69, 82, 70, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 910722, "block_hash": "A8DqUTmcDMzgoGyJtR5YRc66LKahXZpwCRftWcxuP2Y1" } at fails (node_modules/truffle-assertions/index.js:152:13) 10) Contract: TMath BMath bdiv throws on div by 0: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 69, 82, 82, 95, 68, 73, 86, 95, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 69, 82, 82, 95, 68, 73, 86, 95, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 910722, "block_hash": "A8DqUTmcDMzgoGyJtR5YRc66LKahXZpwCRftWcxuP2Y1" } at fails (node_modules/truffle-assertions/index.js:152:13) 11) Contract: TMath BMath bpow throws on base outside range: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 69, 82, 82, 95, 66, 80, 79, 87, 95, 66, 65, 83, 69, 95, 84, 79, 79, 95, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 69, 82, 82, 95, 66, 80, 79, 87, 95, 66, 65, 83, 69, 95, 84, 79, 79, 95, 76, 79, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 910722, "block_hash": "A8DqUTmcDMzgoGyJtR5YRc66LKahXZpwCRftWcxuP2Y1" } at fails (node_modules/truffle-assertions/index.js:152:13) 12) Contract: BPool Binding Tokens Fails binding more than 8 tokens: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 13) Contract: BPool Binding Tokens Fails gulp on unbound token: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 14) Contract: BPool Binding Tokens Fails swapExactAmountIn with limits: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 15) Contract: BPool Binding Tokens Fails swapExactAmountOut with limits: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 16) Contract: BPool Binding Tokens Fails binding tokens that are not approved: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 17) Contract: BPool Binding Tokens Fails binding weights and balances outside MIX MAX: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 18) Contract: BPool Binding Tokens Fails finalizing pool without 2 tokens: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 19) Contract: BPool Binding Tokens Fails binding above MAX TOTAL WEIGHT: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 20) Contract: BPool Binding Tokens Fails rebinding token or unbinding random token: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 21) Contract: BPool Binding Tokens Fails getting final tokens before finalized: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 69, 82, 82, 95, 78, 79, 84, 95, 70, 73, 78, 65, 76, 73, 90, 69, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 69, 82, 82, 95, 78, 79, 84, 95, 70, 73, 78, 65, 76, 73, 90, 69, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 911028, "block_hash": "4xcGJLMFu64KrGmom2prUvGVkGs4uPgsS1rSziobbLyd" } at fails (node_modules/truffle-assertions/index.js:152:13) 22) Contract: BPool Finalizing pool Fails when other users interact before finalizing: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 23) Contract: BPool Finalizing pool Fails calling any swap before finalizing: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 24) Contract: BPool Finalizing pool Fails calling any join exit swap before finalizing: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 25) Contract: BPool Finalizing pool Only controller can setPublicSwap: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 26) Contract: BPool Finalizing pool Fails setting low swap fees: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 27) Contract: BPool Finalizing pool Fails setting high swap fees: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 28) Contract: BPool Finalizing pool Fails nonadmin sets fees or controller: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 29) Contract: BPool Finalizing pool Fails nonadmin finalizes pool: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 30) Contract: BPool Finalizing pool Fails finalizing pool after finalized: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 31) Contract: BPool Finalizing pool Cant setPublicSwap, setSwapFee when finalized: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 32) Contract: BPool Finalizing pool Fails binding new token after finalized: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 33) Contract: BPool Finalizing pool Fails unbinding after finalized: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 34) Contract: BPool User interactions Fails admin unbinding token after finalized and others joined: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 35) Contract: BPool User interactions Fail swapExactAmountIn unbound or over min max ratios: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 36) Contract: BPool User interactions Fails joins exits with limits: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 37) Contract: BPool User interactions Fails calling any swap on unbound token: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 38) Contract: BPool User interactions Fails calling weights, balances, spot prices on unbound token: AssertionError: Expected to fail with revert, but failed with: Error: Querying call/evm/view failed: wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 69, 82, 82, 95, 78, 79, 84, 95, 66, 79, 85, 78, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]))). { "error": "wasm execution failed with error: FunctionCallError(EvmError(Revert([8, 195, 121, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 69, 82, 82, 95, 78, 79, 84, 95, 66, 79, 85, 78, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])))", "logs": [], "block_height": 911148, "block_hash": "GG5W5LJdALg99M63h5SbMiNU4PqN2vNqCBHhCZb4eWM" } at fails (node_modules/truffle-assertions/index.js:152:13) 39) Contract: BPool BToken interactions Token transfers: AssertionError: Expected to fail with revert, but failed with: TypeError: Cannot read property 'EvmError' of undefined at fails (node_modules/truffle-assertions/index.js:152:13) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)