Files
openzeppelin-contracts/test/utils/cryptography/ERC7739.test.js
2025-05-06 12:47:36 -06:00

14 lines
427 B
JavaScript

const { ethers } = require('hardhat');
const { shouldBehaveLikeERC1271 } = require('./ERC1271.behavior');
describe('ERC7739', function () {
describe('for an ECDSA signer', function () {
before(async function () {
this.signer = ethers.Wallet.createRandom();
this.mock = await ethers.deployContract('ERC7739ECDSAMock', [this.signer.address]);
});
shouldBehaveLikeERC1271({ erc7739: true });
});
});