Problem with creating InitNode object, during asynchronous call without using pytest
When I want to create node without using pytest ( e.g. script generating block_log ), I'm encountering a problem with the generated
directory. The problem only occurs with asynchronous calls.
async def foo() -> None:
node = tt.InitNode() # here is a problem with
node.run()
if __name__ == "__main__":
asyncio.run(foo())
If I manually create the generated
folder, the above code will work fine.