Add ability to create clones with initial value in Clones.sol (#4936)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
@ -58,7 +58,7 @@ describe('EIP712', function () {
|
||||
const clone = await factory
|
||||
.$clone(this.eip712)
|
||||
.then(tx => tx.wait())
|
||||
.then(receipt => receipt.logs.find(ev => ev.fragment.name == 'return$clone').args.instance)
|
||||
.then(receipt => receipt.logs.find(ev => ev.fragment.name == 'return$clone_address').args.instance)
|
||||
.then(address => ethers.getContractAt('$EIP712Verifier', address));
|
||||
|
||||
const expectedDomain = { ...this.domain, verifyingContract: clone.target };
|
||||
|
||||
Reference in New Issue
Block a user