Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
viraj124 committed Jan 8, 2025
1 parent 58e22cf commit f4cea4d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
12 changes: 3 additions & 9 deletions packages/integration-tests/fork-tests/bridge_erc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import {
RATE_LIMIT_AMOUNT,
RATE_LIMIT_DURATION,
} from '@fuel-bridge/solidity-contracts/protocol/constants';
import type {
Token,
} from '@fuel-bridge/solidity-contracts/typechain';
import type { Token } from '@fuel-bridge/solidity-contracts/typechain';
import type { TestEnvironment } from '@fuel-bridge/test-utils';
import {
setupEnvironment,
Expand Down Expand Up @@ -34,7 +32,6 @@ import type {
Provider,
} from 'fuels';


const { expect } = chai;

describe('Bridging ERC20 tokens', async function () {
Expand Down Expand Up @@ -159,10 +156,7 @@ describe('Bridging ERC20 tokens', async function () {
// override the commit hash in a existing block
await env.eth.fuelChainState
.connect(env.eth.signers[1])
.commit(
ZeroHash,
commitHeight.toString()
);
.commit(ZeroHash, commitHeight.toString());

// fast forward to the block finalization time
await env.eth.provider.send('evm_increaseTime', [
Expand Down Expand Up @@ -736,4 +730,4 @@ describe('Bridging ERC20 tokens', async function () {
).to.be.true;
});
});
});
});
7 changes: 2 additions & 5 deletions packages/integration-tests/fork-tests/transfer_eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ describe('Transferring ETH', async function () {
// override the commit hash in a existing block
await env.eth.fuelChainState
.connect(env.eth.signers[1])
.commit(
ZeroHash,
commitHeight.toString()
);
.commit(ZeroHash, commitHeight.toString());

// fast forward to the block finalization time
await env.eth.provider.send('evm_increaseTime', [
Expand Down Expand Up @@ -515,4 +512,4 @@ describe('Transferring ETH', async function () {
expect(currentWithdrawnAmountAfterSettingLimit == 0n).to.be.true;
});
});
});
});
8 changes: 1 addition & 7 deletions packages/solidity-contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
"lib": ["ES2021"],
"strict": true
},
"include": [
"./scripts",
"./protocol",
"./test",
"./typechain",
"./deploy"
],
"include": ["./scripts", "./protocol", "./test", "./typechain", "./deploy"],
"files": ["./hardhat.config.ts"]
}
3 changes: 1 addition & 2 deletions packages/test-utils/src/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ export async function setupEnvironment(
eth_fuelERC20GatewayAddress,
eth_deployer
);



const eth_fuelERC721Gateway: FuelERC721Gateway =
FuelERC721Gateway__factory.connect(
eth_fuelERC721GatewayAddress,
Expand Down

0 comments on commit f4cea4d

Please sign in to comment.