Debug logs
This commit is contained in:
parent
ee4c431bc8
commit
1a42cf3836
@ -53,6 +53,8 @@ const registryTests = () => {
|
||||
for (let i = 0; i < accounts.length; i++) {
|
||||
await registry.sendCoins({ denom: DENOM, amount: '1000000', destinationAddress: accounts[i].address }, privateKey, fee);
|
||||
}
|
||||
|
||||
console.log('accounts', accounts);
|
||||
});
|
||||
|
||||
test('All txs get included in a single block.', async () => {
|
||||
@ -68,6 +70,10 @@ const registryTests = () => {
|
||||
return tx;
|
||||
}));
|
||||
|
||||
bondCreationTxs.forEach((tx, i) => {
|
||||
console.log('tx', accounts[i].address, tx.height);
|
||||
});
|
||||
|
||||
// Check that all txs are in the same block
|
||||
const expectedBlockHeight = bondCreationTxs[0].height;
|
||||
expect(bondCreationTxs.every(tx => tx.height === expectedBlockHeight)).toBe(true);
|
||||
|
Loading…
Reference in New Issue
Block a user