test: wait for block-change invalidation before asserting #1627
push.yml
on: push
Matrix: build / build
Matrix: publish / publish
Waiting for pending jobs
Annotations
10 errors and 15 warnings
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/metamorpho/publicReallocate.test.ts > MetaMorpho_PublicReallocate > should simulate public reallocation accurately:
packages/simulation-sdk-wagmi/test/handlers/metamorpho/publicReallocate.test.ts#L153
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 115792089237316195423570985008687907853269984665640564039457583842474861033972n,
+ "morpho": 115792089237316195423570985008687907853269984665640564039457583842475861033972n,
"permit2": 0n,
},
"erc2612Nonce": 0n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -154,11 +154,11 @@
"totalSupplyAssets": 1000007n,
"totalSupplyShares": 500000000000n,
},
"0x54efdee08e272e929034a8f26f7ca34b1ebe364b275391169b28c6d7db24dbc8": Market {
"fee": 0n,
- "lastUpdate": 1714261178n,
+ "lastUpdate": 1714158755n,
"params": MarketParams {
"collateralToken": "0x0000000000000000000000000000000000000000",
"id": "0x54efdee08e272e929034a8f26f7ca34b1ebe364b275391169b28c6d7db24dbc8",
"irm": "0x0000000000000000000000000000000000000000",
"liquidationIncentiveFactor": 1150000000000000000n,
@@ -168,31 +168,31 @@
},
"price": undefined,
"rateAtTarget": undefined,
"totalBorrowAssets": 0n,
"totalBorrowShares": 0n,
- "totalSupplyAssets": 1000000000n,
- "totalSupplyShares": 1000000000000000n,
+ "totalSupplyAssets": 0n,
+ "totalSupplyShares": 0n,
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261178n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828690768n,
- "totalBorrowAssets": 29412925538373n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37386128127077n,
- "totalSupplyShares": 36605539560070564079n,
+ "totalSupplyAssets": 37386966017979n,
+ "totalSupplyShares": 36606518680974329424n,
},
},
"positions": {
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -211,18 +211,18 @@
},
"0x54efdee08e272e929034a8f26f7ca34b1ebe364b275391169b28c6d7db24dbc8": Position {
"borrowShares": 0n,
"collateral": 0n,
"marketId": "0x54efdee08e272e929034a8f26f7ca34b1ebe364b275391169b28c6d7db24dbc8",
- "supplyShares": 1000000000000000n,
+ "supplyShares": 0n,
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Position {
"borrowShares": 0n,
"collateral": 0n,
"marketId": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
- "supplyShares": 29377364106551353392n,
+ "supplyShares": 29378343227455118737n,
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -256,37 +256,23 @@
},
},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d1
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts > MetaMorpho_AccrueInterest > should accrue interest accurately upon deposit:
packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts#L101
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 115792089237316195423570985008687907853269984665640564039457583842475761033972n,
+ "morpho": 115792089237316195423570985008687907853269984665640564039457583842475861033972n,
"permit2": 0n,
},
"erc2612Nonce": 0n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -44,11 +44,11 @@
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
- "_balance": 0n,
+ "_balance": 100000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -61,11 +61,11 @@
},
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"user": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Holding {
- "_balance": 98067570091942946400n,
+ "_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -139,26 +139,26 @@
"totalSupplyAssets": 0n,
"totalSupplyShares": 0n,
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261177n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691133n,
- "totalBorrowAssets": 29412925489663n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387228078367n,
- "totalSupplyShares": 36606616593064833523n,
+ "totalSupplyAssets": 37386966017979n,
+ "totalSupplyShares": 36606518680974329424n,
},
},
"positions": {
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -184,11 +184,11 @@
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Position {
"borrowShares": 0n,
"collateral": 0n,
"marketId": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
- "supplyShares": 29378441139545622836n,
+ "supplyShares": 29378343227455118737n,
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -222,37 +222,23 @@
},
},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Token {
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts > MetaMorpho_AccrueInterest > should accrue interest accurately upon deposit:
packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts#L101
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 115792089237316195423570985008687907853269984665640564039457583842475761033972n,
+ "morpho": 115792089237316195423570985008687907853269984665640564039457583842475861033972n,
"permit2": 0n,
},
"erc2612Nonce": 0n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -44,11 +44,11 @@
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
- "_balance": 0n,
+ "_balance": 100000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -61,11 +61,11 @@
},
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"user": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Holding {
- "_balance": 98067570091942946400n,
+ "_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -139,26 +139,26 @@
"totalSupplyAssets": 0n,
"totalSupplyShares": 0n,
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261177n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691133n,
- "totalBorrowAssets": 29412925489663n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387228078367n,
- "totalSupplyShares": 36606616593064833523n,
+ "totalSupplyAssets": 37386966017979n,
+ "totalSupplyShares": 36606518680974329424n,
},
},
"positions": {
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -184,11 +184,11 @@
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Position {
"borrowShares": 0n,
"collateral": 0n,
"marketId": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
- "supplyShares": 29378441139545622836n,
+ "supplyShares": 29378343227455118737n,
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -222,37 +222,23 @@
},
},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Token {
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts > MetaMorpho_AccrueInterest > should accrue interest accurately upon deposit:
packages/simulation-sdk-wagmi/test/handlers/metamorpho/deposit.test.ts#L101
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 115792089237316195423570985008687907853269984665640564039457583842475761033972n,
+ "morpho": 115792089237316195423570985008687907853269984665640564039457583842475861033972n,
"permit2": 0n,
},
"erc2612Nonce": 0n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -44,11 +44,11 @@
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
- "_balance": 0n,
+ "_balance": 100000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -61,11 +61,11 @@
},
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"user": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Holding {
- "_balance": 98067570091942946400n,
+ "_balance": 0n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
"morpho": 0n,
"permit2": 0n,
@@ -139,26 +139,26 @@
"totalSupplyAssets": 0n,
"totalSupplyShares": 0n,
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261177n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691133n,
- "totalBorrowAssets": 29412925489663n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387228078367n,
- "totalSupplyShares": 36606616593064833523n,
+ "totalSupplyAssets": 37386966017979n,
+ "totalSupplyShares": 36606518680974329424n,
},
},
"positions": {
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -184,11 +184,11 @@
},
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Position {
"borrowShares": 0n,
"collateral": 0n,
"marketId": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
- "supplyShares": 29378441139545622836n,
+ "supplyShares": 29378343227455118737n,
"user": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
},
},
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
"0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee49": Position {
@@ -222,37 +222,23 @@
},
},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
"0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB": Token {
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts > Blue_AccrueInterest > should accrue interest accurately:
packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts#L82
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -9,25 +9,25 @@
},
"holdings": {},
"markets": {
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261176n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691498n,
- "totalBorrowAssets": 29412925440954n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387128029658n,
+ "totalSupplyAssets": 37386966017979n,
"totalSupplyShares": 36606518680974329424n,
},
},
"positions": {},
"tokens": {},
❯ packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts:82:33
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts > Blue_AccrueInterest > should accrue interest accurately:
packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts#L82
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -9,25 +9,25 @@
},
"holdings": {},
"markets": {
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261176n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691498n,
- "totalBorrowAssets": 29412925440954n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387128029658n,
+ "totalSupplyAssets": 37386966017979n,
"totalSupplyShares": 36606518680974329424n,
},
},
"positions": {},
"tokens": {},
❯ packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts:82:33
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts > Blue_AccrueInterest > should accrue interest accurately:
packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts#L82
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -9,25 +9,25 @@
},
"holdings": {},
"markets": {
"0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc": Market {
"fee": 0n,
- "lastUpdate": 1714261176n,
+ "lastUpdate": 1714257851n,
"params": MarketParams {
"collateralToken": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"id": "0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc",
"irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"liquidationIncentiveFactor": 1043841336116910229n,
"lltv": 860000000000000000n,
"loanToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"oracle": "0x48F7E36EB6B826B2dF4B2E630B62Cd25e89E40e2",
},
"price": 3775466720554092397807658269n,
- "rateAtTarget": 1828691498n,
- "totalBorrowAssets": 29412925440954n,
+ "rateAtTarget": 1829905396n,
+ "totalBorrowAssets": 29412763429275n,
"totalBorrowShares": 28711075898230454169n,
- "totalSupplyAssets": 37387128029658n,
+ "totalSupplyAssets": 37386966017979n,
"totalSupplyShares": 36606518680974329424n,
},
},
"positions": {},
"tokens": {},
❯ packages/simulation-sdk-wagmi/test/handlers/blue/accrueInterest.test.ts:82:33
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts > useSimulationState > should simulate transfer:
packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts#L512
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 1000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 1000000n,
+ "morpho": 0n,
"permit2": 0n,
},
"erc2612Nonce": 1n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -31,15 +31,15 @@
"markets": {},
"positions": {},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
},
"users": {
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": User {
"address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
❯ packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts:512:19
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts > useSimulationState > should simulate transfer:
packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts#L512
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 1000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 1000000n,
+ "morpho": 0n,
"permit2": 0n,
},
"erc2612Nonce": 1n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -31,15 +31,15 @@
"markets": {},
"positions": {},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
},
"users": {
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": User {
"address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
❯ packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts:512:19
|
|
[simulation-sdk-wagmi] packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts > useSimulationState > should simulate transfer:
packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts#L512
AssertionError: expected SimulationState{ chainId: 1, …(12) } to strictly equal SimulationState{ chainId: 1, …(12) }
- Expected
+ Received
@@ -12,11 +12,11 @@
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Holding {
"_balance": 1000000n,
"canTransfer": true,
"erc20Allowances": {
"bundler3.generalAdapter1": 0n,
- "morpho": 1000000n,
+ "morpho": 0n,
"permit2": 0n,
},
"erc2612Nonce": 1n,
"permit2BundlerAllowance": {
"amount": 0n,
@@ -31,15 +31,15 @@
"markets": {},
"positions": {},
"tokens": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": Token {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
- "decimals": 6,
+ "decimals": 0,
"eip5267Domain": undefined,
- "name": "USD Coin",
+ "name": undefined,
"price": undefined,
- "symbol": "USDC",
+ "symbol": undefined,
},
},
"users": {
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": User {
"address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
❯ packages/simulation-sdk-wagmi/test/hooks/useSimulationState.test.ts:512:19
|
|
build / @morpho-org/morpho-ts
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint / biome
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/bundler-sdk-viem
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/morpho-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/simulation-sdk
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/blue-sdk
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/liquidity-sdk-viem
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/liquidation-sdk-viem
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/blue-sdk-wagmi
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/simulation-sdk-wagmi
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/blue-sdk-viem
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/migration-sdk-viem
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build / @morpho-org/test-wagmi
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test / vitest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/cache/save@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|