Skip to content

Commit

Permalink
✅ update debt test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Dec 19, 2024
1 parent 7d902cb commit 334cc8f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/PayDebt.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import {IEngine} from "src/interfaces/IEngine.sol";

contract PayDebtTest is Bootstrap {
address public constant DEBT_ACTOR =
address(0x325cd6b3CD80EDB102ac78848f5B127eB6DB13f3);
address(0x3C704e28C8EfCC7aCa262031818001895595081D);
uint128 public constant ACCOUNT_ID =
170_141_183_460_469_231_731_687_303_715_884_105_747;
uint256 public constant INITIAL_DEBT = 2_983_003_117_413_866_988;
uint256 public constant BASE_BLOCK_NUMBER_WITH_DEBT = 23_805_461;
170_141_183_460_469_231_731_687_303_715_884_108_662;
uint256 public constant INITIAL_DEBT = 10_718_269_732_520_293_989;
uint256 public constant BASE_BLOCK_NUMBER_WITH_DEBT = 23_922_058;
uint256 public constant USDC_WRAPPER_MAX_AMOUNT =
100_000_000_000_000_000_000_000_000;

Expand Down Expand Up @@ -41,7 +41,7 @@ contract PayDebtTest is Bootstrap {
/// (for the input _amount)
uint256 decimalsFactor = 10 ** (18 - USDC.decimals());
uint256 INITIAL_DEBT_IN_USDC = INITIAL_DEBT / decimalsFactor;
assertEq(INITIAL_DEBT_IN_USDC, 2_983_003);
assertEq(INITIAL_DEBT_IN_USDC, 10_718_269);

/// @dev on this block (BASE_BLOCK_NUMBER_WITH_DEBT)
/// ACCOUNT_ID has a debt value of INITIAL_DEBT
Expand Down Expand Up @@ -81,7 +81,7 @@ contract PayDebtTest is Bootstrap {
/// (for the input _amount)
uint256 decimalsFactor = 10 ** (18 - USDC.decimals());
uint256 INITIAL_DEBT_IN_USDC = INITIAL_DEBT / decimalsFactor;
assertEq(INITIAL_DEBT_IN_USDC, 2_983_003);
assertEq(INITIAL_DEBT_IN_USDC, 10_718_269);

/// @dev on this block (BASE_BLOCK_NUMBER_WITH_DEBT)
/// @dev ACCOUNT_ID has a debt value of INITIAL_DEBT
Expand Down Expand Up @@ -125,7 +125,7 @@ contract PayDebtTest is Bootstrap {
/// (for the input _amount)
uint256 decimalsFactor = 10 ** (18 - USDC.decimals());
uint256 INITIAL_DEBT_IN_USDC = INITIAL_DEBT / decimalsFactor;
assertEq(INITIAL_DEBT_IN_USDC, 2_983_003);
assertEq(INITIAL_DEBT_IN_USDC, 10_718_269);

/// @dev on this block (BASE_BLOCK_NUMBER_WITH_DEBT)
/// @dev ACCOUNT_ID has a debt value of INITIAL_DEBT
Expand Down

0 comments on commit 334cc8f

Please sign in to comment.