Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
Result of running `yarn format:fix` command.
  • Loading branch information
nkuba committed Feb 1, 2024
1 parent 6fc1537 commit c0c9e07
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
4 changes: 1 addition & 3 deletions solidity/contracts/integrator/TBTCDepositorProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ abstract contract TBTCDepositorProxy {
/// approximation. See documentation of the `calculateTbtcAmount`
/// responsible for calculating this value for more details.
// slither-disable-next-line dead-code
function _finalizeDeposit(
uint256 depositKey
)
function _finalizeDeposit(uint256 depositKey)
internal
returns (
uint256 initialDepositAmount,
Expand Down
20 changes: 10 additions & 10 deletions solidity/test/integrator/TBTCDepositorProxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,17 +323,17 @@ describe("TBTCDepositorProxy", () => {
})

describe("_calculateTbtcAmount", () => {
before(async () => {
await createSnapshot()

// Set the transaction max fee to 0.1 BTC.
await bridge.setDepositTxMaxFee(10000000)
})
before(async () => {
await createSnapshot()

// Set the transaction max fee to 0.1 BTC.
await bridge.setDepositTxMaxFee(10000000)
})

after(async () => {
await restoreSnapshot()
})

after(async () => {
await restoreSnapshot()
})

context("when all fees are non-zero", () => {
it("should return the correct amount", async () => {
const depositAmount = to1ePrecision(10, 8) // 10 BTC
Expand Down

0 comments on commit c0c9e07

Please sign in to comment.