Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/zk-cra/market-handler' into zk-c…
Browse files Browse the repository at this point in the history
…ra/market-handler
  • Loading branch information
elclandestin0 committed Jul 29, 2021
2 parents 6114b1e + af9c5fa commit ce38b12
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contracts/lending/ttoken/TToken_V1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,10 @@ contract TToken_V1 is ITToken, ReentryMods {
}

/**
* @notice it retrieves the value in the underlying tokens
*
* @notice it retrives the value in the underlying tokens
* @param amount the amount of underlying
* @param rate the rate the underlying is exchanging at
* @return value_ the value of the underlying
*/
function _valueInUnderlying(uint256 amount, uint256 rate)
internal
Expand Down
4 changes: 4 additions & 0 deletions deploy/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ const deployProtocol: DeployFunction = async (hre) => {
contract: 'ProviderFactoryFacet',
skipIfAlreadyDeployed: true,
},
{
contract: 'ProviderFactoryFacet',
skipIfAlreadyDeployed: true,
},
// NFT
{
contract: 'NFTFacet',
Expand Down
4 changes: 4 additions & 0 deletions test/helpers/loans.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { isBytesLike } from '@ethersproject/bytes'
import { toUtf8Bytes } from '@ethersproject/strings'
import { time, timeStamp } from 'console'
import { createSign } from 'crypto'
import {
BigNumber,
BigNumberish,
Expand Down
1 change: 1 addition & 0 deletions test/integration/dictionary.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('NFT Dictionary', () => {

deployer = await getNamedSigner('deployer')
})

describe('Dictionary test', () => {
beforeEach(async () => {
// Advance time
Expand Down

0 comments on commit ce38b12

Please sign in to comment.