Skip to content

Commit

Permalink
Upgrade del-osx version 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Sep 15, 2023
1 parent 69609ef commit 5d87c56
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/contracts-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dms-osx-lib",
"version": "1.0.9",
"version": "1.0.10",
"description": "",
"main": "dist/bundle-cjs.js",
"module": "dist/bundle-esm.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
console.log(`Add email-address of foundation (tx: ${tx1.hash})...`);
await tx1.wait();

const tx2 = await linkCollectionContract.connect(await ethers.getSigner(linkValidator1)).voteRequest(reqId1, 1);
const tx2 = await linkCollectionContract.connect(await ethers.getSigner(linkValidator1)).voteRequest(reqId1);
console.log(`Vote of validator1 (tx: ${tx2.hash})...`);
await tx2.wait();

const tx3 = await linkCollectionContract.connect(await ethers.getSigner(linkValidator2)).voteRequest(reqId1, 1);
const tx3 = await linkCollectionContract.connect(await ethers.getSigner(linkValidator2)).voteRequest(reqId1);
console.log(`Vote of validator2 (tx: ${tx3.hash})...`);
await tx3.wait();

Expand Down Expand Up @@ -84,13 +84,13 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

const tx6 = await linkCollectionContract
.connect(await ethers.getSigner(linkValidator1))
.voteRequest(reqId2, 1);
.voteRequest(reqId2);
console.log(`Vote of validator1 (tx: ${tx6.hash})...`);
await tx6.wait();

const tx7 = await linkCollectionContract
.connect(await ethers.getSigner(linkValidator2))
.voteRequest(reqId2, 1);
.voteRequest(reqId2);
console.log(`Vote of validator2 (tx: ${tx7.hash})...`);
await tx7.wait();

Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dms-osx-artifacts",
"version": "1.0.9",
"version": "1.0.10",
"description": "Smart contracts that decentralized mileage systems",
"files": [
"**/*.sol"
Expand Down Expand Up @@ -54,7 +54,7 @@
"hardhat": "^2.12.7",
"hardhat-deploy": "^0.9.26",
"hardhat-gas-reporter": "^1.0.7",
"del-osx-artifacts": "^1.0.6",
"del-osx-artifacts": "^1.0.7",
"mocha": "10.1.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.1.1",
Expand Down
14 changes: 7 additions & 7 deletions packages/contracts/test/Ledger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, foundationAccount, foundation.address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});

Expand Down Expand Up @@ -351,7 +351,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, hash, users[0].address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});

Expand Down Expand Up @@ -842,7 +842,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, hash, users[0].address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});
});
Expand All @@ -859,7 +859,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, foundationAccount, foundation.address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});

Expand Down Expand Up @@ -967,7 +967,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, hash, users[0].address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});
});
Expand Down Expand Up @@ -1206,7 +1206,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, foundationAccount, foundation.address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});

Expand Down Expand Up @@ -1298,7 +1298,7 @@ describe("Test for Ledger", () => {
)
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(requestId, hash, users[0].address);
await linkCollectionContract.connect(validator1).voteRequest(requestId, 1);
await linkCollectionContract.connect(validator1).voteRequest(requestId);
await linkCollectionContract.connect(validator1).countVote(requestId);
});
});
Expand Down
4 changes: 2 additions & 2 deletions packages/faker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"assert": "^2.0.0",
"axios": "^0.26.0",
"chai": "^4.3.7",
"dms-osx-artifacts": "^1.0.6",
"dms-osx-artifacts": "^1.0.10",
"dotenv": "^10.0.0",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.0",
"extend": "^3.0.2",
"hardhat": "^2.12.7",
"hardhat-gas-reporter": "^1.0.7",
"ip": "^1.1.5",
"del-osx-artifacts": "^1.0.6",
"del-osx-artifacts": "^1.0.7",
"node-cron": "^3.0.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"chai": "^4.3.7",
"chai-http": "^4.3.7",
"cors": "^2.8.5",
"dms-osx-artifacts": "^1.0.6",
"dms-osx-artifacts": "^1.0.10",
"dotenv": "^10.0.0",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.0",
Expand All @@ -66,7 +66,7 @@
"hardhat": "^2.12.7",
"hardhat-gas-reporter": "^1.0.7",
"ip": "^1.1.5",
"del-osx-artifacts": "^1.0.6",
"del-osx-artifacts": "^1.0.7",
"moment": "^2.29.1",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/relay/test/Endpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ describe("Test of Server", function () {
await expect(linkCollectionContract.connect(relay).addRequest(reqId, hash, users[0].address, signature))
.to.emit(linkCollectionContract, "AddedRequestItem")
.withArgs(reqId, hash, users[0].address);
await linkCollectionContract.connect(validator1).voteRequest(reqId, 1);
await linkCollectionContract.connect(validator1).voteRequest(reqId);
await linkCollectionContract.connect(validator1).countVote(reqId);
});
});
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3207,10 +3207,10 @@ define-properties@^1.1.2, define-properties@^1.1.3, define-properties@^1.1.4, de
has-property-descriptors "^1.0.0"
object-keys "^1.1.1"

del-osx-artifacts@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/del-osx-artifacts/-/del-osx-artifacts-1.0.6.tgz#b32f4989c38158c57d55a3af4cbe8f5777f752e8"
integrity sha512-p0W5LJi8MhAgtGDB7yK1rwhTZYUkaH+hywMxal1Pbi7WBB4LbP0CgAKV8azblIEG1TwHMZiZdpteKu5sooxIKA==
del-osx-artifacts@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/del-osx-artifacts/-/del-osx-artifacts-1.0.7.tgz#fc5c6da574da9b4781786d93c1b7dcb39bd0e215"
integrity sha512-OeUswmSreXiaGlFQ9gBR2ngWdlfckQFZQBT1+fSVkhOj4gbiVKNY2FwsTi4lwqel7fol94LP0xO/ulwNmgJDVA==

delay@^5.0.0:
version "5.0.0"
Expand Down

0 comments on commit 5d87c56

Please sign in to comment.