Skip to content

Commit

Permalink
Upgrade to multisig-wallet-contracts version 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed May 10, 2024
1 parent af6ade6 commit fb14383
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
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": "loyalty-tokens",
"version": "1.1.0",
"version": "1.1.1",
"description": "Smart contracts for the loyalty tokens",
"files": [
"**/*.sol"
Expand Down Expand Up @@ -48,7 +48,7 @@
"hardhat": "^2.12.7",
"hardhat-gas-reporter": "^1.0.7",
"mocha": "10.1.0",
"multisig-wallet-contracts": "^1.1.1",
"multisig-wallet-contracts": "^1.1.2",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.1.1",
"solhint": "^3.3.6",
Expand Down
7 changes: 4 additions & 3 deletions packages/contracts/test/DelegatedTransfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ async function deployMultiSigWallet(
"wallet"
);

return address !== undefined
? ((await ethers.getContractFactory("MultiSigWallet")).attach(address) as MultiSigWallet)
: undefined;
if (address !== undefined) {
await factoryContract.register(address);
return (await ethers.getContractFactory("MultiSigWallet")).attach(address) as MultiSigWallet;
} else return undefined;
}

async function deployToken(deployer: Wallet, owner: string): Promise<LYT> {
Expand Down
7 changes: 4 additions & 3 deletions packages/contracts/test/MultiSigToken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ async function deployMultiSigWallet(
"wallet"
);

return address !== undefined
? ((await ethers.getContractFactory("MultiSigWallet")).attach(address) as MultiSigWallet)
: undefined;
if (address !== undefined) {
await factoryContract.register(address);
return (await ethers.getContractFactory("MultiSigWallet")).attach(address) as MultiSigWallet;
} else return undefined;
}

async function deployToken(deployer: Wallet, owner: string): Promise<LYT> {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4238,10 +4238,10 @@ [email protected], ms@^2.1.1:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==

multisig-wallet-contracts@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/multisig-wallet-contracts/-/multisig-wallet-contracts-1.1.1.tgz#b7aaae790356f1b76a97290880d77e83d019c5db"
integrity sha512-t+qFC1bEnWqjdXYQCYRng+o9K43X2COhvUfcaF705Lq34fvT9ExAZHFG4DBxh0Yg1wT5B1xXh8D8lL8U6Knmgw==
multisig-wallet-contracts@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/multisig-wallet-contracts/-/multisig-wallet-contracts-1.1.2.tgz#9e020c49ab38ebcdbcd33859d1a7565865cbb896"
integrity sha512-JI3UTel/fdIhhtjbDdhBTnMBOIkAciy7WEyG2WZOGqVLJiWID1VLb90JT0VL86e3q2WloSrKRWSUravJB0C2uQ==

[email protected]:
version "3.3.3"
Expand Down

0 comments on commit fb14383

Please sign in to comment.