Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove direct import from JSON artifacts in LSP16 test suites #684

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tests/LSP16UniversalFactory/LSP16UniversalFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
ImplementationTester__factory,
FallbackInitializer,
FallbackInitializer__factory,
LSP6KeyManager__factory,
} from '../../types';

import web3 from 'web3';
Expand All @@ -25,10 +26,10 @@ import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';

import { provider, AddressOffset } from '../utils/helpers';

import { bytecode as UniversalProfileBytecode } from '../../artifacts/contracts/UniversalProfile.sol/UniversalProfile.json';
import { bytecode as LSP6KeyManagerBytecode } from '../../artifacts/contracts/LSP6KeyManager/LSP6KeyManager.sol/LSP6KeyManager.json';
import { bytecode as ImplementationTesterBytecode } from '../../artifacts/contracts/Mocks/ImplementationTester.sol/ImplementationTester.json';
import { bytecode as FallbackInitializerBytecode } from '../../artifacts/contracts/Mocks/FallbackInitializer.sol/FallbackInitializer.json';
const UniversalProfileBytecode = UniversalProfile__factory.bytecode;
const LSP6KeyManagerBytecode = LSP6KeyManager__factory.bytecode;
const ImplementationTesterBytecode = ImplementationTester__factory.bytecode;
const FallbackInitializerBytecode = FallbackInitializer__factory.bytecode;

type UniversalFactoryTestAccounts = {
random: SignerWithAddress;
Expand Down
Loading