diff --git a/test/demo-contracts/UniswapV2SwapRenamed.DAI.sol b/test/demo-contracts/UniswapV2SwapRenamed.DAI.sol index abc875a..7605879 100644 --- a/test/demo-contracts/UniswapV2SwapRenamed.DAI.sol +++ b/test/demo-contracts/UniswapV2SwapRenamed.DAI.sol @@ -18,7 +18,8 @@ contract dAIMock { event transferEvent(address indexed src, address indexed dst, uint wad); function decimals() external returns (uint8) { - return 18; + uint8 dec = 18; + return dec; } function mint(address usr, uint wad) public { diff --git a/test/demo-contracts/UniswapV2SwapRenamed.USDC.sol b/test/demo-contracts/UniswapV2SwapRenamed.USDC.sol index b9985c0..36108b8 100644 --- a/test/demo-contracts/UniswapV2SwapRenamed.USDC.sol +++ b/test/demo-contracts/UniswapV2SwapRenamed.USDC.sol @@ -17,7 +17,8 @@ contract uSDCMock { event approvalEvent(address indexed owner, address indexed spender, uint256 value); function decimals() external returns (uint8) { - return 18; + uint8 dec = 18; + return dec; } function mint(address account, uint256 value) public { diff --git a/test/demo-contracts/UniswapV2SwapRenamed.WETH.sol b/test/demo-contracts/UniswapV2SwapRenamed.WETH.sol index 31184a0..f078118 100644 --- a/test/demo-contracts/UniswapV2SwapRenamed.WETH.sol +++ b/test/demo-contracts/UniswapV2SwapRenamed.WETH.sol @@ -16,7 +16,8 @@ contract wETHMock { event transferEvent(address indexed from, address indexed to, uint256 value); function decimals() external returns (uint8) { - return 18; + uint8 dec = 18; + return dec; } function deposit() external payable {