diff --git a/src/evm/_test/BlockState.test.ts b/src/evm/_test/BlockState.test.ts index c3ce1d99..7c45448e 100644 --- a/src/evm/_test/BlockState.test.ts +++ b/src/evm/_test/BlockState.test.ts @@ -85,16 +85,6 @@ describe('startBlockState', () => { ) }) - test('behavior: a token cannot be taken twice', async () => { - const instance = await evm() - const block = Evm.startBlockState(instance) - - expect(Evm.takeBlockState(instance, block)).toBeDefined() - expect(() => Evm.takeBlockState(instance, block)).toThrowError( - Evm.NoBlockStateError, - ) - }) - test('behavior: entries span the block, not the last transaction', async () => { const instance = await evm() const block = Evm.startBlockState(instance) @@ -189,6 +179,18 @@ describe('warmPrecompiles', () => { expect(Evm.callTx(twice, transaction())).toEqual(expected) }) +}) + +describe('takeBlockState', () => { + test('behavior: a token cannot be taken twice', async () => { + const instance = await evm() + const block = Evm.startBlockState(instance) + + expect(Evm.takeBlockState(instance, block)).toBeDefined() + expect(() => Evm.takeBlockState(instance, block)).toThrowError( + Evm.NoBlockStateError, + ) + }) test('behavior: a token from another EVM is refused', async () => { const first = await evm()