Skip to content

Commit

Permalink
feat(test): using correct types (#1145)
Browse files Browse the repository at this point in the history
Exporting correct types
  • Loading branch information
Abhishekkochar authored Jun 26, 2023
1 parent 7ff8853 commit 85a1d10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { expect } from 'chai';
import { ethers } from 'hardhat';

import { BridgeQueue, TestToken } from '../generated';
import { BridgeQueue, BridgeQueue__factory, TestToken } from '../generated';
import { deployContracts } from './utils/deployment';
import { toWei } from './utils/mathUtils';

Expand Down Expand Up @@ -322,5 +322,10 @@ describe('Bridge order tests', () => {
expect(await proxyBridge.supportedTokens(testToken3.address)).to.equal(true);
expect(await proxyBridge.supportedTokens(testToken4.address)).to.equal(true);
});

it('encoded data', () => {
const data = BridgeQueue__factory.createInterface().encodeFunctionData('changeTxFee', [0]);
console.log('datadatadatadatadatadatadatadatadatadatadatadatadata', data);
});
});
});
2 changes: 1 addition & 1 deletion packages/smartcontracts-queue/test-i9n/BridgeQueue.i9n.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TestToken } from '../dist';
import {
BridgeQueue,
BridgeQueue__factory,
Expand All @@ -8,6 +7,7 @@ import {
HardhatNetwork,
HardhatNetworkContainer,
StartedHardhatNetworkContainer,
TestToken,
TestToken__factory,
} from '../src';

Expand Down

0 comments on commit 85a1d10

Please sign in to comment.