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:
@ -12,7 +12,7 @@ async function envSetup(mock, beneficiary, token) {
|
||||
const beneficiaryMock = await ethers.deployContract('EtherReceiverMock');
|
||||
await beneficiaryMock.setAcceptEther(false);
|
||||
await mock.connect(beneficiary).transferOwnership(beneficiaryMock);
|
||||
return { args: [], error: [mock, 'FailedInnerCall'] };
|
||||
return { args: [], error: [mock, 'FailedCall'] };
|
||||
},
|
||||
releasedEvent: 'EtherReleased',
|
||||
args: [],
|
||||
|
||||
Reference in New Issue
Block a user