Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Fix for missing __latest_state at the initialization of StarknetWrapp…
Browse files Browse the repository at this point in the history
…er (#484)
  • Loading branch information
mikiw authored May 31, 2023
1 parent e49ea5b commit fc0026a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starknet_devnet/starknet_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ async def initialize(self):

await self.__preserve_current_state(starknet.state.state)
await self.__create_genesis_block()
self.__latest_state = self.get_state().copy()
self.__initialized = True

async def __create_genesis_block(self):
Expand Down

0 comments on commit fc0026a

Please sign in to comment.