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 43901f1 commit 23f045b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ async function globalFixture(): Promise<GlobalFixtureResult> {
] = await ethers.getSigners();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ async function fixture(): Promise<FixtureResult> {
const [deployer, alice, bob, carol] = await ethers.getSigners();

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

const defaultTokenSettings = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,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
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ type FixtureResult = {
async function fixture(): Promise<FixtureResult> {
const [deployer, alice, bob, carol] = await ethers.getSigners();

const dummyMetadata = ethers.utils.hexlify(
ethers.utils.toUtf8Bytes('0x123456789')
);
const dummyMetadata = '0x12345678';

const dao = await createDaoProxy(deployer, dummyMetadata);

Expand Down

0 comments on commit 23f045b

Please sign in to comment.