We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcaf252 commit d83330eCopy full SHA for d83330e
test/unit/DSCEngineTest.t.sol
@@ -83,7 +83,6 @@ contract DSCEngineTest is Test {
83
function test_getUsdValue() public view {
84
uint256 btcAmount = 2e8;
85
uint256 expectedValue = btcAmount * currentBtcPrice * 1e18 / (WBTC_PRECISION * PRICEFEED_PRECISION);
86
- // / wbtc decimals * priceFeedDecimals
87
uint256 actualValue = engine.getUsdValue(wbtc, btcAmount);
88
console.log("expected value :", expectedValue);
89
console.log("actual value :", actualValue);
0 commit comments