Skip to content

Commit

Permalink
Using string as contract name
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Stefanov <[email protected]>
  • Loading branch information
stefan-stefanooov committed Oct 19, 2023
1 parent bc90396 commit e4e9ebe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ const Contract = {
AddressContract: 'AddressContract',
Recipient: 'Recipient',
Inheritance: 'Inheritance',
NonExisting: 'NonExisting',
}

const CALL_EXCEPTION = 'CALL_EXCEPTION'
Expand Down
2 changes: 1 addition & 1 deletion test/solidity/account/nonExisting.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('@solidityequiv3 Solidity Account non Existing', function () {

before(async function () {
randomAddress = ethers.Wallet.createRandom().address;
const factory = await ethers.getContractFactory(Constants.Contract.NonExisting)
const factory = await ethers.getContractFactory('NonExisting')
fakeContract = factory.attach(randomAddress);

contract = await factory.deploy()
Expand Down

0 comments on commit e4e9ebe

Please sign in to comment.