Skip to content

Commit

Permalink
less int(somefloatliteral) (#18796)
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky authored Oct 30, 2024
1 parent e60f7f0 commit 920b740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chia/_tests/clvm/test_puzzles.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
T1 = CoinTimestamp(1, uint32(10000000))
T2 = CoinTimestamp(5, uint32(10003000))

MAX_BLOCK_COST_CLVM = int(1e18)
MAX_BLOCK_COST_CLVM = 10**18


def secret_exponent_for_index(index: int) -> int:
Expand Down
2 changes: 1 addition & 1 deletion chia/_tests/generator/test_rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from chia.util.ints import uint32
from chia.wallet.puzzles.load_clvm import load_clvm, load_serialized_clvm_maybe_recompile

MAX_COST = int(1e15)
MAX_COST = 10**15
COST_PER_BYTE = int(12000)


Expand Down
2 changes: 1 addition & 1 deletion chia/_tests/wallet/test_singleton_lifecycle_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

POOL_REWARD_PREFIX_MAINNET = bytes32.fromhex("ccd5bb71183532bff220ba46c268991a00000000000000000000000000000000")

MAX_BLOCK_COST_CLVM = int(1e18)
MAX_BLOCK_COST_CLVM = 10**18

T = TypeVar("T")

Expand Down

0 comments on commit 920b740

Please sign in to comment.