Advertisement
Guest User

Untitled

a guest
May 5th, 2021
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 9.20 KB | None | 0 0
  1. # --- [ with frontier ] ---
  2.  
  3. Traceback (most recent call last):
  4.   File "/home/mbob/git/py-evm/eth/db/batch.py", line 69, in __getitem__
  5.     value = self._track_diff[key]
  6.   File "/home/mbob/git/py-evm/eth/db/diff.py", line 80, in __getitem__
  7.     raise DiffMissingError(key, result)  # type: ignore # ignore over cast for perf reasons
  8. eth.db.diff.DiffMissingError: (b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', 'Key is missing because it was never inserted')
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 73, in get
  14.     root_node = self.get_node(self.root_hash)
  15.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 284, in get_node
  16.     encoded_node = self.db[node_hash]
  17.   File "/home/mbob/git/py-evm/eth/db/batch.py", line 74, in __getitem__
  18.     return self.wrapped_db[key]
  19.   File "/home/mbob/git/py-evm/eth/db/atomic.py", line 37, in __getitem__
  20.     return self.wrapped_db[key]
  21.   File "/home/mbob/git/py-evm/eth/db/backends/memory.py", line 21, in __getitem__
  22.     return self.kv_store[key]
  23. KeyError: b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D'
  24.  
  25. The above exception was the direct cause of the following exception:
  26.  
  27. Traceback (most recent call last):
  28.   File "/home/mbob/git/py-evm/eth/db/account.py", line 323, in _get_encoded_account
  29.     return lookup_trie[address]
  30.   File "/home/mbob/git/py-evm/eth/db/journal.py", line 336, in __getitem__
  31.     return self._wrapped_db[key]
  32.   File "/home/mbob/git/py-evm/eth/db/cache.py", line 22, in __getitem__
  33.     self._cached_values[key] = self._db[key]
  34.   File "/home/mbob/git/py-evm/eth/db/keymap.py", line 28, in __getitem__
  35.     return self._db[mapped_key]
  36.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 515, in __getitem__
  37.     return self.get(key)
  38.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 77, in get
  39.     self._raise_missing_node(exc, key)
  40.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 93, in _raise_missing_node
  41.     raise MissingTrieNode(exception.args[0], self.root_hash, key) from exception
  42. trie.exceptions.MissingTrieNode: Trie database is missing hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 needed to look up key 0x5380c7b7ae81a58eb98d9c78de4a1fd7fd9535fc953ed2be602daaa41767312a at root hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544
  43.  
  44. The above exception was the direct cause of the following exception:
  45.  
  46. Traceback (most recent call last):
  47.   File "mine.py", line 16, in <module>
  48.     chain.mine_block()
  49.   File "/home/mbob/git/py-evm/eth/chains/base.py", line 631, in mine_block
  50.     mined_block = self.get_vm(self.header).mine_block(*args, **kwargs)
  51.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 291, in mine_block
  52.     final_block = self.finalize_block(packed_block)
  53.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 346, in finalize_block
  54.     self._assign_block_rewards(block)
  55.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 326, in _assign_block_rewards
  56.     self.state.delta_balance(block.header.coinbase, block_reward)
  57.   File "/home/mbob/git/py-evm/eth/vm/state.py", line 125, in delta_balance
  58.     self.set_balance(address, self.get_balance(address) + delta)
  59.   File "/home/mbob/git/py-evm/eth/vm/state.py", line 119, in get_balance
  60.     return self._account_db.get_balance(address)
  61.   File "/home/mbob/git/py-evm/eth/db/account.py", line 217, in get_balance
  62.     account = self._get_account(address)
  63.   File "/home/mbob/git/py-evm/eth/db/account.py", line 334, in _get_account
  64.     rlp_account = self._get_encoded_account(address, from_journal)
  65.   File "/home/mbob/git/py-evm/eth/db/account.py", line 325, in _get_encoded_account
  66.     raise MissingAccountTrieNode(*exc.args) from exc
  67. eth.vm.interrupt.MissingAccountTrieNode: State trie database is missing node for hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544, which is needed to look up account with address hash 0x5380c7b7ae81a58eb98d9c78de4a1fd7fd9535fc953ed2be602daaa41767312a at root hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 -- (b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', b'S\x80\xc7\xb7\xae\x81\xa5\x8e\xb9\x8d\x9cx\xdeJ\x1f\xd7\xfd\x955\xfc\x95>\xd2\xbe`-\xaa\xa4\x17g1*')
  68.  
  69.    
  70. # --- [ with byzantium ] ---
  71.  
  72. Traceback (most recent call last):
  73.   File "/home/mbob/git/py-evm/eth/db/batch.py", line 69, in __getitem__
  74.     value = self._track_diff[key]
  75.   File "/home/mbob/git/py-evm/eth/db/diff.py", line 80, in __getitem__
  76.     raise DiffMissingError(key, result)  # type: ignore # ignore over cast for perf reasons
  77. eth.db.diff.DiffMissingError: (b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', 'Key is missing because it was never inserted')
  78.  
  79. During handling of the above exception, another exception occurred:
  80.  
  81. Traceback (most recent call last):
  82.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 73, in get
  83.     root_node = self.get_node(self.root_hash)
  84.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 284, in get_node
  85.     encoded_node = self.db[node_hash]
  86.   File "/home/mbob/git/py-evm/eth/db/batch.py", line 74, in __getitem__
  87.     return self.wrapped_db[key]
  88.   File "/home/mbob/git/py-evm/eth/db/atomic.py", line 37, in __getitem__
  89.     return self.wrapped_db[key]
  90.   File "/home/mbob/git/py-evm/eth/db/backends/memory.py", line 21, in __getitem__
  91.     return self.kv_store[key]
  92. KeyError: b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D'
  93.  
  94. The above exception was the direct cause of the following exception:
  95.  
  96. Traceback (most recent call last):
  97.   File "/home/mbob/git/py-evm/eth/db/account.py", line 323, in _get_encoded_account
  98.     return lookup_trie[address]
  99.   File "/home/mbob/git/py-evm/eth/db/journal.py", line 336, in __getitem__
  100.     return self._wrapped_db[key]
  101.   File "/home/mbob/git/py-evm/eth/db/cache.py", line 22, in __getitem__
  102.     self._cached_values[key] = self._db[key]
  103.   File "/home/mbob/git/py-evm/eth/db/keymap.py", line 28, in __getitem__
  104.     return self._db[mapped_key]
  105.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 515, in __getitem__
  106.     return self.get(key)
  107.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 77, in get
  108.     self._raise_missing_node(exc, key)
  109.   File "/home/mbob/venv3.7/lib/python3.7/site-packages/trie/hexary.py", line 93, in _raise_missing_node
  110.     raise MissingTrieNode(exception.args[0], self.root_hash, key) from exception
  111. trie.exceptions.MissingTrieNode: Trie database is missing hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 needed to look up key 0x5380c7b7ae81a58eb98d9c78de4a1fd7fd9535fc953ed2be602daaa41767312a at root hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544
  112.  
  113. The above exception was the direct cause of the following exception:
  114.  
  115. Traceback (most recent call last):
  116.   File "mine.py", line 16, in <module>
  117.     chain.mine_block()
  118.   File "/home/mbob/git/py-evm/eth/chains/base.py", line 631, in mine_block
  119.     mined_block = self.get_vm(self.header).mine_block(*args, **kwargs)
  120.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 291, in mine_block
  121.     final_block = self.finalize_block(packed_block)
  122.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 346, in finalize_block
  123.     self._assign_block_rewards(block)
  124.   File "/home/mbob/git/py-evm/eth/vm/base.py", line 326, in _assign_block_rewards
  125.     self.state.delta_balance(block.header.coinbase, block_reward)
  126.   File "/home/mbob/git/py-evm/eth/vm/state.py", line 125, in delta_balance
  127.     self.set_balance(address, self.get_balance(address) + delta)
  128.   File "/home/mbob/git/py-evm/eth/vm/state.py", line 119, in get_balance
  129.     return self._account_db.get_balance(address)
  130.   File "/home/mbob/git/py-evm/eth/db/account.py", line 217, in get_balance
  131.     account = self._get_account(address)
  132.   File "/home/mbob/git/py-evm/eth/db/account.py", line 334, in _get_account
  133.     rlp_account = self._get_encoded_account(address, from_journal)
  134.   File "/home/mbob/git/py-evm/eth/db/account.py", line 325, in _get_encoded_account
  135.     raise MissingAccountTrieNode(*exc.args) from exc
  136. eth.vm.interrupt.MissingAccountTrieNode: State trie database is missing node for hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544, which is needed to look up account with address hash 0x5380c7b7ae81a58eb98d9c78de4a1fd7fd9535fc953ed2be602daaa41767312a at root hash 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 -- (b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', b'\xd7\xf8\x97O\xb5\xacx\xd9\xac\t\x9b\x9a\xd5\x01\x8b\xed\xc2\xce\nr\xda\xd1\x82z\x17\t\xda0X\x0f\x05D', b'S\x80\xc7\xb7\xae\x81\xa5\x8e\xb9\x8d\x9cx\xdeJ\x1f\xd7\xfd\x955\xfc\x95>\xd2\xbe`-\xaa\xa4\x17g1*')
  137.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement