Skip to content

Commit 3d2a06c

Browse files
authored
Remove sharding code (#1260)
* truncate legacy sharding code * fix docs
1 parent 55613b7 commit 3d2a06c

File tree

19 files changed

+0
-1639
lines changed

19 files changed

+0
-1639
lines changed

docs/api/eth/api.rlp.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ RLP
99

1010
rlp/api.rlp.accounts
1111
rlp/api.rlp.blocks
12-
rlp/api.rlp.collation
1312
rlp/api.rlp.headers
1413
rlp/api.rlp.logs
1514
rlp/api.rlp.receipts

docs/api/eth/rlp/api.rlp.collation.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/api/eth/rlp/api.rlp.headers.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,3 @@ BlockHeader
66

77
.. autoclass:: eth.rlp.headers.BlockHeader
88
:members:
9-
10-
11-
CollationHeader
12-
---------------
13-
14-
.. autoclass:: eth.rlp.headers.CollationHeader
15-
:members:

eth/chains/shard.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

eth/db/shard.py

Lines changed: 0 additions & 150 deletions
This file was deleted.

eth/exceptions.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,6 @@ class CanonicalHeadNotFound(PyEVMError):
5353
pass
5454

5555

56-
class CollationHeaderNotFound(PyEVMError):
57-
"""
58-
Raised when the collation header for the given shard and period does not exist in the database.
59-
"""
60-
pass
61-
62-
63-
class CollationBodyNotFound(PyEVMError):
64-
"""
65-
Raised when the collation body for the given shard and period does not exist in the database.
66-
"""
67-
pass
68-
69-
70-
class CanonicalCollationNotFound(PyEVMError):
71-
"""
72-
Raised when no collation for the given shard and period has been marked as canonical.
73-
"""
74-
pass
75-
76-
7756
class Halt(PyEVMError):
7857
"""
7958
Raised when an opcode function halts vm execution.

eth/rlp/collations.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)