PR: bug fixes & improvements #57
Annotations
10 errors and 1 warning
lib/permit2/lib/openzeppelin-contracts/test/migrate-imports.test.js:
lib/permit2/lib/openzeppelin-contracts/test/migrate-imports.test.js#L3
Error: require() of ES Module /home/runner/work/pay.ubq.fi/pay.ubq.fi/node_modules/chai/chai.js from /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/migrate-imports.test.js not supported.
Instead change the require of chai.js in /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/migrate-imports.test.js to a dynamic import() which is available in all CommonJS modules.
❯ lib/permit2/lib/openzeppelin-contracts/test/migrate-imports.test.js:3:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
lib/permit2/lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js:
lib/permit2/lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js:1:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/access/Ownable.test.js:
lib/permit2/lib/openzeppelin-contracts/test/access/Ownable.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/access/Ownable.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/access/Ownable.test.js:1:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/access/Ownable.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/crosschain/CrossChainEnabled.test.js:
lib/permit2/lib/openzeppelin-contracts/test/crosschain/CrossChainEnabled.test.js#L1
ReferenceError: artifacts is not defined
❯ Object.<anonymous> lib/permit2/lib/openzeppelin-contracts/test/helpers/crosschain.js:3:23
❯ lib/permit2/lib/openzeppelin-contracts/test/crosschain/CrossChainEnabled.test.js:1:26
|
lib/permit2/lib/openzeppelin-contracts/test/finance/PaymentSplitter.test.js:
lib/permit2/lib/openzeppelin-contracts/test/finance/PaymentSplitter.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/finance/PaymentSplitter.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/finance/PaymentSplitter.test.js:1:72
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/finance/PaymentSplitter.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/finance/VestingWallet.test.js:
lib/permit2/lib/openzeppelin-contracts/test/finance/VestingWallet.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/finance/VestingWallet.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/finance/VestingWallet.test.js:1:56
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/finance/VestingWallet.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/governance/Governor.test.js:
lib/permit2/lib/openzeppelin-contracts/test/governance/Governor.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/governance/Governor.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/governance/Governor.test.js:1:43
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/governance/Governor.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/governance/TimelockController.test.js:
lib/permit2/lib/openzeppelin-contracts/test/governance/TimelockController.test.js#L1
Error: Cannot find module '@openzeppelin/test-helpers'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/governance/TimelockController.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/governance/TimelockController.test.js:1:60
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/governance/TimelockController.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/metatx/ERC2771Context.test.js:
lib/permit2/lib/openzeppelin-contracts/test/metatx/ERC2771Context.test.js#L1
Error: Cannot find module 'eth-sig-util'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/metatx/ERC2771Context.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/metatx/ERC2771Context.test.js:1:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/metatx/ERC2771Context.test.js' ] }
|
lib/permit2/lib/openzeppelin-contracts/test/metatx/MinimalForwarder.test.js:
lib/permit2/lib/openzeppelin-contracts/test/metatx/MinimalForwarder.test.js#L1
Error: Cannot find module 'eth-sig-util'
Require stack:
- /home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/metatx/MinimalForwarder.test.js
❯ lib/permit2/lib/openzeppelin-contracts/test/metatx/MinimalForwarder.test.js:1:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/pay.ubq.fi/pay.ubq.fi/lib/permit2/lib/openzeppelin-contracts/test/metatx/MinimalForwarder.test.js' ] }
|
testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|