Skip to content

Commit

Permalink
add line spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Aug 10, 2023
1 parent b130786 commit 99736ac
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ describe('EVM feature flags', () => {
}
})
await container.generate(1)

await dvmToEvmTransferDomain()
await container.generate(1)

const withoutDvmBalances = await client.account.getTokenBalances({}, false)
const [withoutDvmBalance] = withoutDvmBalances[0].split('@')

// Disable EVM and try to get ETH balance
// disable EVM and try to get ETH balance
await client.masternode.setGov({
ATTRIBUTES: {
'v0/params/feature/evm': 'false',
Expand All @@ -126,6 +128,7 @@ describe('EVM feature flags', () => {
}
})
await container.generate(1)

const withEvmBalances = await client.account.getTokenBalances({}, false, { includeEth: true })
const [withEvmBalance] = withEvmBalances[0].split('@')
expect(withEvmBalance).toBeDefined()
Expand Down Expand Up @@ -167,6 +170,7 @@ describe('EVM feature flags', () => {

const evmTxHash = await createEvmTx(0)
await container.generate(1)

const blockHash: string = await client.blockchain.getBestBlockHash()
const txs = await client.blockchain.getBlock(blockHash, 1)
expect(txs.tx[1]).toStrictEqual(evmTxHash)
Expand Down Expand Up @@ -224,6 +228,7 @@ describe('EVM feature flags', () => {
it('should still successfully create new EVM transaction (EvmTx)', async () => {
const evmTxHash = await createEvmTx(1)
await container.generate(1)

const blockHash: string = await client.blockchain.getBestBlockHash()
const txs = await client.blockchain.getBlock(blockHash, 1)
expect(txs.tx[1]).toStrictEqual(evmTxHash)
Expand Down

0 comments on commit 99736ac

Please sign in to comment.