ERC7739.test.js 427 B

12345678910111213
  1. const { ethers } = require('hardhat');
  2. const { shouldBehaveLikeERC1271 } = require('./ERC1271.behavior');
  3. describe('ERC7739', function () {
  4. describe('for an ECDSA signer', function () {
  5. before(async function () {
  6. this.signer = ethers.Wallet.createRandom();
  7. this.mock = await ethers.deployContract('ERC7739ECDSAMock', [this.signer.address]);
  8. });
  9. shouldBehaveLikeERC1271({ erc7739: true });
  10. });
  11. });