Skip to content

Commit

Permalink
Use string in 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 6194691 commit ca70860
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',
Defaults: "Defaults",
}

const CALL_EXCEPTION = 'CALL_EXCEPTION'
Expand Down
2 changes: 1 addition & 1 deletion test/solidity/defaults/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('@solidityequiv3 Solidity Defaults', function () {
before(async function () {
signers = await ethers.getSigners()

const factory = await ethers.getContractFactory(Constants.Contract.Defaults)
const factory = await ethers.getContractFactory("Defaults")
contract = await factory.deploy()
})

Expand Down

0 comments on commit ca70860

Please sign in to comment.