Skip to content

Commit

Permalink
chore: rename warnings.py => logs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Dec 7, 2024
1 parent 96eaecc commit 6ede446
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/halmos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
unbox_int,
yellow,
)
from .warnings import (
from .logs import (
COUNTEREXAMPLE_INVALID,
COUNTEREXAMPLE_UNKNOWN,
INTERNAL_ERROR,
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/bytevec.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
try_bv_value_to_bytes,
unbox_int,
)
from .warnings import warn
from .logs import warn

UnwrappedBytes = bytes | Byte
WrappedBytes = ForwardRef("Chunk") | ForwardRef("ByteVec")
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/calldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .bytevec import ByteVec
from .config import Config as HalmosConfig
from .utils import con, uid
from .warnings import debug_once
from .logs import debug_once


@dataclass(frozen=True)
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/cheatcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
uint160,
uint256,
)
from .warnings import debug
from .logs import debug

# f_vmaddr(key) -> address
f_vmaddr = Function("f_vmaddr", BitVecSort256, BitVecSort160)
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import toml

from .warnings import warn
from .logs import warn

# common strings
internal = "internal"
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
render_int,
render_uint,
)
from .warnings import (
from .logs import (
info,
warn,
)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/halmos/sevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
uint256,
unbox_int,
)
from .warnings import (
from .logs import (
INTERNAL_ERROR,
LIBRARY_PLACEHOLDER,
debug,
Expand Down
2 changes: 1 addition & 1 deletion src/halmos/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

from .exceptions import HalmosException, NotConcreteError
from .mapper import Mapper
from .warnings import warn
from .logs import warn

# order of the secp256k1 curve
secp256k1n = (
Expand Down

0 comments on commit 6ede446

Please sign in to comment.