Skip to content

Commit

Permalink
fix few imports at tests after merging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba committed Apr 12, 2023
1 parent 7522a53 commit a095170
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/web3-eth-contract/test/fixtures/erc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

import { Address, ContractEventOptions, Numbers } from 'web3-types';
import { Address, Numbers } from 'web3-types';
import { LogsSubscription } from '../../src/log_subscription';
import { PayableMethodObject, NonPayableMethodObject } from '../../src/types';
import { ContractEventOptions, PayableMethodObject, NonPayableMethodObject } from '../../src/types';

export interface Erc20Interface {
methods: {
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-eth-contract/test/fixtures/erc721.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

import { Address, ContractEventOptions, Numbers } from 'web3-types';
import { Address, Numbers } from 'web3-types';
import { LogsSubscription } from '../../src/log_subscription';
import { NonPayableMethodObject, PayableMethodObject } from '../../src/types';
import { ContractEventOptions, NonPayableMethodObject, PayableMethodObject } from '../../src/types';

export interface Erc721Interface {
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

import { EventLog } from 'web3-types';
import { Contract } from '../../src';
import { Contract, EventLog } from '../../src';
import { BasicAbi, BasicBytecode } from '../shared_fixtures/build/Basic';
import { processAsync } from '../shared_fixtures/utils';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>.
import Web3 from 'web3';
// eslint-disable-next-line import/no-extraneous-dependencies
import { Web3Account } from 'web3-eth-accounts';
import { EventLog } from 'web3-types';
import { Contract } from '../../../src';
import { Contract, EventLog } from '../../../src';
import { ERC721TokenAbi, ERC721TokenBytecode } from '../../shared_fixtures/build/ERC721Token';
import { getSystemTestProvider, createLocalAccount } from '../../fixtures/system_test_utils';
import { toUpperCaseHex } from '../../shared_fixtures/utils';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>.
import Web3 from 'web3';
// eslint-disable-next-line import/no-extraneous-dependencies
import { Web3Account } from 'web3-eth-accounts';
import { EventLog } from 'web3-types';
import { utf8ToHex } from 'web3-utils';
import { Contract } from '../../../src';
import { Contract, EventLog } from '../../../src';
import { ERC721TokenAbi, ERC721TokenBytecode } from '../../shared_fixtures/build/ERC721Token';
import { getSystemTestProvider, createLocalAccount } from '../../fixtures/system_test_utils';
import { toUpperCaseHex } from '../../shared_fixtures/utils';
Expand Down

0 comments on commit a095170

Please sign in to comment.