Skip to content

Commit

Permalink
不要コード削除
Browse files Browse the repository at this point in the history
  • Loading branch information
EibaKatsu committed Nov 1, 2023
1 parent c35e934 commit dcfccae
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions contract/test/localNouns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,6 @@ describe('mint functions', function () {
const [balance5] = await token.functions.balanceOf(user5.address);
const [totalSupply] = await token.functions.totalSupply();

// for (var i = 1; i <= 47; i++) {
// const [mintNumberPerPrefecture] = await provider.functions.mintNumberPerPrefecture(i);
// if (mintNumberPerPrefecture > 0) {
// console.log("bf:mintNumberPerPrefecture", i, mintNumberPerPrefecture);
// }
// }

const txParams = { value: 0 };
await token.connect(owner).functions.ownerMint([user3.address, user4.address, user5.address], [3, 5, 0], [1, 2, 20], txParams);

Expand All @@ -181,13 +174,6 @@ describe('mint functions', function () {
const [totalSupplya] = await token.functions.totalSupply();
expect(totalSupplya.toNumber()).to.equal(totalSupply.toNumber() + 23);

// for (var i = 1; i <= 47; i++) {
// const [mintNumberPerPrefecture] = await provider.functions.mintNumberPerPrefecture(i);
// if (mintNumberPerPrefecture > 0) {
// console.log("af:mintNumberPerPrefecture", i, mintNumberPerPrefecture);
// }
// }

});

it('tokenGate', async function () {
Expand Down Expand Up @@ -243,7 +229,7 @@ describe('determinePrefectureId', function () {

for (var i = 0; i < 300; i++) {
const [prefectureId] = await provider.connect(owner).functions.determinePrefectureId(i);
prefectureCount[prefectureId.toNumber()-1]++;
prefectureCount[prefectureId.toNumber() - 1]++;
}

// 全ての都道府県が1以上出現する
Expand Down

0 comments on commit dcfccae

Please sign in to comment.