We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e9976 commit db55226Copy full SHA for db55226
test/prod/Synthetix.prod.js
@@ -237,7 +237,7 @@ contract('Synthetix (prod tests)', accounts => {
237
});
238
239
describe('when user exchanges sUSD into sETH using a Virtualynths', () => {
240
- const amount = toUnit('1');
+ const amount = toUnit('100');
241
let txn;
242
let receipt;
243
let userBalanceOfsETHBefore;
@@ -269,7 +269,11 @@ contract('Synthetix (prod tests)', accounts => {
269
({ topics }) => topics[0] === vSynthCreationEvent.signature
270
);
271
272
- const decoded = web3.eth.abi.decodeLog(vSynthCreationEvent.inputs, log.data, log.topics);
+ const decoded = web3.eth.abi.decodeLog(
273
+ vSynthCreationEvent.inputs,
274
+ log.data,
275
+ log.topics.slice(1)
276
+ );
277
278
vSynth = await artifacts.require('VirtualSynth').at(decoded.vSynth);
279
0 commit comments