feat: integrate contract registries #644
Annotations
21 errors and 10 warnings
check (prettier)
Process completed with exit code 1.
|
check (types)
Type 'undefined' is not assignable to type 'typeof Ownable__factory'.
|
check (types)
Parameter 'address' implicitly has an 'any' type.
|
check (types)
Parameter 'runner' implicitly has an 'any' type.
|
check (types)
Cannot assign to 'Ownable__factory' because it is a read-only property.
|
check (types)
Property '__createBinding' does not exist on type 'typeof import("/home/runner/work/maci-platform/maci-platform/packages/contracts/build/typechain-types/factories/@openzeppelin/contracts/index")'.
|
check (types)
This condition will always return true since this function is always defined. Did you mean to call it instead?
|
check (types)
Parameter 'o' implicitly has an 'any' type.
|
check (types)
Parameter 'm' implicitly has an 'any' type.
|
check (types)
Parameter 'k' implicitly has an 'any' type.
|
check (types)
Parameter 'k2' implicitly has an 'any' type.
|
check (lint:ts):
packages/contracts/hardhat.config.ts#L9
`maci-contracts/tasks/runner/verifyFull` import should occur after import of `maci-contracts/tasks/runner/prove`
|
check (lint:ts):
packages/interface/src/contexts/Ballot.tsx#L2
There should be at least one empty line between import groups
|
check (lint:ts):
packages/interface/src/contexts/Ballot.tsx#L3
`./Maci` import should occur after type import of `~/features/ballot/types`
|
check (lint:ts):
packages/interface/src/features/applications/components/ApplicationItem.tsx#L13
`~/features/applications/types` type import should occur before type import of `~/utils/types`
|
check (lint:ts):
packages/interface/src/features/ballot/components/BallotConfirmation.tsx#L43
Unexpected console statement
|
|
check (lint:ts):
packages/interface/src/features/ballot/components/SubmitBallotButton.tsx#L26
Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`
|
check (lint:ts):
packages/interface/src/features/ballot/components/SubmitBallotButton.tsx#L28
Expected property shorthand
|
check (lint:ts):
packages/interface/src/features/projects/components/ProjectDetails.tsx#L23
Replace `⏎··project,⏎··action·=·undefined,⏎` with `·project,·action·=·undefined·`
|
check (lint:ts):
packages/interface/src/features/projects/components/ProjectDetails.tsx#L27
Unnecessary optional chain on a non-nullish value
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L4
global import of path maci-contracts/contracts/crypto/Hasher.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L5
global import of path maci-contracts/contracts/crypto/Verifier.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L6
global import of path maci-contracts/contracts/crypto/MockVerifier.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L7
global import of path maci-contracts/contracts/gatekeepers/FreeForAllGatekeeper.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L8
global import of path maci-contracts/contracts/initialVoiceCreditProxy/ConstantInitialVoiceCreditProxy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L9
global import of path maci-contracts/contracts/VkRegistry.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L10
global import of path maci-contracts/contracts/TallyFactory.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L11
global import of path maci-contracts/contracts/MessageProcessorFactory.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
check (lint:sol):
packages/contracts/contracts/mocks/Mocker.sol#L15
Code contains empty blocks
|
check (lint:ts):
packages/interface/e2e/connectWallet.test.ts#L10
Unexpected use of page.waitForSelector()
|