You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(pegoutCreationBlockNumber).to.be.equal(expectedPegoutCreationBlockNumber,'The svp fund tx pegout creation block number should be the block that contains the first updateCollections call right after the commitFederation call.');
expect(actualProposedFederationAddress).to.be.equal(proposedFederationAddress,'The proposed federation address in the SVP fund transaction should be the first output.');
expect(proposedFederationFlyoverOutput.value).to.be.equal(expectedFlyoverOutputValue,'The flyover output value should be double the minimum pegout value.');
345
345
346
346
// Only the svp fund tx hash unsigned value should be in storage
expect(Number(releaseRequestedEvent.arguments.amount)).to.be.equal(expectedReleaseRequestedAmount,'The amount in the release requested event should be the sum of the proposed federation and flyover output values.');
353
353
expect(releaseRequestedEvent,'The release requested event should be emitted.').to.not.be.null;
354
-
expect(removePrefix0x(releaseRequestedEvent.arguments.btcTxHash)).to.be.equal(btcTransaction.getId(),'The btc tx hash in the release requested event should be the tx id of the SVP fund tx.');
354
+
expect(removePrefix0x(releaseRequestedEvent.arguments.btcTxHash)).to.be.equal(svpFundTransaction.getId(),'The btc tx hash in the release requested event should be the tx id of the SVP fund tx.');
355
355
356
356
// The pegout_transaction_created event should be emitted with the expected values
expect(pegoutTransactionCreatedEvent,'The pegout transaction created event should be emitted.').to.not.be.null;
359
-
expect(removePrefix0x(pegoutTransactionCreatedEvent.arguments.btcTxHash)).to.be.equal(btcTransaction.getId(),'The btc tx hash in the pegout transaction created event should be the tx id of the SVP fund tx.');
359
+
expect(removePrefix0x(pegoutTransactionCreatedEvent.arguments.btcTxHash)).to.be.equal(svpFundTransaction.getId(),'The btc tx hash in the pegout transaction created event should be the tx id of the SVP fund tx.');
0 commit comments