Skip to content

Commit 629a4e4

Browse files
rayrapetyanpipermerriam
authored andcommitted
Rename all module.utils to module._utils (#1641)
* Rename all `module.utils` to `module._utils` * fix imports to use _utils
1 parent 48be6ca commit 629a4e4

File tree

212 files changed

+225
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+225
-225
lines changed
File renamed without changes.

eth/utils/address.py renamed to eth/_utils/address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from eth_hash.auto import keccak
44
from eth_typing import Address
55

6-
from eth.utils.numeric import (
6+
from eth._utils.numeric import (
77
int_to_bytes32,
88
)
99

File renamed without changes.

eth/utils/blobs.py renamed to eth/_utils/blobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
ValidationError,
1414
)
1515

16-
from eth.utils.padding import (
16+
from eth._utils.padding import (
1717
zpad_right,
1818
)
19-
from eth.utils.merkle import (
19+
from eth._utils.merkle import (
2020
calc_merkle_root,
2121
)
2222

eth/utils/bls.py renamed to eth/_utils/bls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
curve_order,
3232
final_exponentiate
3333
)
34-
from eth.beacon.utils.hash import hash_eth2
34+
from eth.beacon._utils.hash import hash_eth2
3535

3636

3737
G2_cofactor = 305502333931268344200999753193121504214466019254188142667664032982267604182971884026507427359259977847832272839041616661285803823378372096355777062779109 # noqa: E501
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)