Skip to content

Commit

Permalink
refactor: metadata encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Apr 15, 2024
1 parent 003ca4e commit 5ccb32c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions packages/contracts/test/10_unit-testing/11_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,7 @@ type FixtureResult = {

async function fixture(): Promise<FixtureResult> {
const [deployer, alice, bob] = await ethers.getSigners();

const dummyMetadata = ethers.utils.hexlify(
ethers.utils.toUtf8Bytes('0x123456789')
);
const dummyMetadata = '0x12345678';
const dao = await createDaoProxy(deployer, dummyMetadata);

const adminPluginImplementation = await new Admin__factory(deployer).deploy();
Expand Down
5 changes: 1 addition & 4 deletions packages/contracts/test/10_unit-testing/12_plugin-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ type FixtureResult = {

async function fixture(): Promise<FixtureResult> {
const [deployer, alice, bob] = await ethers.getSigners();

const dummyMetadata = ethers.utils.hexlify(
ethers.utils.toUtf8Bytes('0x123456789')
);
const dummyMetadata = '0x12345678';
const dao = await createDaoProxy(deployer, dummyMetadata);
const pluginSetup = await new AdminSetup__factory(deployer).deploy();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ async function fixture(): Promise<FixtureResult> {
await deployments.fixture(tags);

const [deployer, alice, bob] = await ethers.getSigners();
const dummyMetadata = ethers.utils.hexlify(
ethers.utils.toUtf8Bytes('0x123456789')
);
const dummyMetadata = '0x12345678';
const dao = await createDaoProxy(deployer, dummyMetadata);

const network = getNetworkNameByAlias(productionNetworkName);
Expand Down

0 comments on commit 5ccb32c

Please sign in to comment.