fix: revert if roles array empty #4091
Annotations
10 errors and 10 warnings
TypeScript:
test/0.8.25/vaults/dashboard/dashboard.test.ts#L128
Argument of type '[HardhatEthersSigner]' is not assignable to parameter of type 'ContractMethodArgs<[_defaultAdmin: AddressLike, _confirmLifetime: BigNumberish], "nonpayable">'.
|
TypeScript:
test/0.8.25/vaults/dashboard/dashboard.test.ts#L134
Argument of type '[HardhatEthersSigner]' is not assignable to parameter of type 'ContractMethodArgs<[_defaultAdmin: AddressLike, _confirmLifetime: BigNumberish], "nonpayable">'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L106
Argument of type '[{ defaultAdmin: HardhatEthersSigner; funder: HardhatEthersSigner; withdrawer: HardhatEthersSigner; minter: HardhatEthersSigner; ... 10 more ...; nodeOperatorFeeBP: bigint; }, "0x"]' is not assignable to parameter of type 'ContractMethodArgs<[_delegationConfig: DelegationConfigStruct, _stakingVaultInitializerExtraParams: BytesLike], "nonpayable">'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L176
Argument of type '[HardhatEthersSigner]' is not assignable to parameter of type 'ContractMethodArgs<[_defaultAdmin: AddressLike, _confirmLifetime: BigNumberish], "nonpayable">'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L182
Argument of type '[HardhatEthersSigner]' is not assignable to parameter of type 'ContractMethodArgs<[_defaultAdmin: AddressLike, _confirmLifetime: BigNumberish], "nonpayable">'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L222
Property 'votingCommittee' does not exist on type 'Delegation'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L231
Property 'setVoteLifetime' does not exist on type 'Delegation'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L238
Property 'voteLifetime' does not exist on type 'Delegation'.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L240
No overload matches this call.
|
TypeScript:
test/0.8.25/vaults/delegation/delegation.test.ts#L243
Property 'setVoteLifetime' does not exist on type 'Delegation'.
|
Solhint:
contracts/0.4.24/lib/StakeLimitUtils.sol#L5
Found more than One contract per file. 3 contracts found!
|
Solhint:
contracts/0.4.24/oracle/LegacyOracle.sol#L7
global import of path @aragon/os/contracts/apps/AragonApp.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Solhint:
contracts/0.4.24/oracle/LegacyOracle.sol#L9
global import of path ../../common/interfaces/ILidoLocator.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Solhint:
contracts/0.4.24/oracle/LegacyOracle.sol#L11
global import of path ../utils/Versioned.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Solhint:
contracts/0.4.24/utils/Versioned.sol#L5
global import of path @aragon/os/contracts/common/UnstructuredStorage.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Solhint:
contracts/0.8.25/vaults/VaultHub.sol#L7
imported name IBeacon is not used
|
Solhint:
contracts/0.8.9/LidoLocator.sol#L37
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Solhint:
contracts/0.8.9/LidoLocator.sol#L38
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Solhint:
contracts/0.8.9/LidoLocator.sol#L39
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Solhint:
contracts/0.8.9/LidoLocator.sol#L40
Immutable variables name are set to be in capitalized SNAKE_CASE
|