Use Ownable in VestingWallet instead of an immutable beneficiary (#4508)

Co-authored-by: Francisco Giordano <fg@frang.io>
This commit is contained in:
Ernesto García
2023-08-04 15:57:53 -06:00
committed by GitHub
parent f715365ec4
commit b81bec4552
4 changed files with 26 additions and 22 deletions

View File

@ -59,7 +59,9 @@ contract('Create2', function (accounts) {
addr: offChainComputed,
});
expect(await VestingWallet.at(offChainComputed).then(instance => instance.beneficiary())).to.be.equal(other);
const instance = await VestingWallet.at(offChainComputed);
expect(await instance.owner()).to.be.equal(other);
});
it('deploys a contract with funds deposited in the factory', async function () {