Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaiton committed Oct 5, 2023
1 parent 6afba8d commit 7b44759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ethpy/ethpy/test_fixtures/deploy_hyperdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def deploy_and_initialize_hyperdrive(
# Initial hyperdrive settings
initial_share_price = FixedPoint(1).scaled_value
minimum_share_reserves = FixedPoint(10).scaled_value
minimum_transaction_amount = FixedPoint(1 * 10**15).scaled_value
minimum_transaction_amount = FixedPoint("0.001").scaled_value
position_duration = 604800 # 1 week
checkpoint_duration = 3600 # 1 hour
time_stretch = _calculateTimeStretch(FixedPoint("0.05").scaled_value)
Expand Down
1 change: 1 addition & 0 deletions tests/bot_to_db_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def test_bot_to_db(
"baseToken": hyperdrive_contract_addresses.base_token,
"initialSharePrice": _to_unscaled_decimal(FixedPoint("1")),
"minimumShareReserves": _to_unscaled_decimal(FixedPoint("10")),
"minimumTransactionAmount": _to_unscaled_decimal(FixedPoint("0.001")),
"positionDuration": 604800, # 1 week
"checkpointDuration": 3600, # 1 hour
"timeStretch": expected_timestretch,
Expand Down

0 comments on commit 7b44759

Please sign in to comment.