Add node reference to world state, this will in the future be used to link multiple transactions

pull/355/head
Joran Honig 6 years ago
parent 105053365f
commit cb74e187a4
  1. 3
      mythril/laser/ethereum/state.py

@ -160,13 +160,14 @@ class GlobalState:
class WorldState:
"""
The WorldState class represents the world state as described in the yellowpaper
The WorldState class represents the world state as described in the yellow paper
"""
def __init__(self):
"""
Constructor for the world state. Initializes the accounts record
"""
self.accounts = {}
self.node = None
def __getitem__(self, item):
"""

Loading…
Cancel
Save