Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('generates a basic block (with real externals)', async () => {
expect(
await chain.executor.generateBlock([
encodeUnchecked(keyring.alice, 0,
methods.staking.public.transfer,
[keyring.bob.publicKey(), 69]
)
])
).not.toBeNull();
});