feat:add comments to enhance code readability #1
Annotations
10 warnings
|
src/AElf.Types/Protobuf/FileDescriptorExtensions.cs#L10
'FileDescriptor.CustomOptions' is obsolete: 'CustomOptions are obsolete. Use the GetOptions() method.'
|
src/AElf.Cryptography/ECVRF/Vrf.cs#L109
The variable 'ex' is declared but never used
|
src/AElf.Database/DatabaseServiceCollectionExtensions.cs#L22
'IConnectionStringResolver.Resolve(string)' is obsolete: 'Use ResolveAsync method.'
|
src/AElf.Kernel.SmartContract/IExecutionObserverThreshold.cs#L9
'ExecutionObserverThreshold' overrides Object.Equals(object o) but does not override Object.GetHashCode()
|
src/AElf.Kernel.CodeCheck/Application/ICodeCheckReleasedProposalIdProvider.cs#L33
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
src/AElf.Kernel.Consensus.Core/Application/ConsensusValidationProvider.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
src/AElf.CSharp.CodeOps/Validators/Whitelist/IWhitelistProvider.cs#L166
'SystemContractWhitelistProvider.GetWhitelist()' hides inherited member 'WhitelistProvider.GetWhitelist()'. Use the new keyword if hiding was intended.
|
src/AElf.Kernel.TransactionPool/Infrastructure/TxHub.cs#L58
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
src/AElf.OS.Core/Protobuf/Generated/AuthorityInfo.g.cs#L39
The type 'AuthorityInfo' in '/home/runner/work/AElf/AElf/src/AElf.OS.Core/Protobuf/Generated/AuthorityInfo.g.cs' conflicts with the imported type 'AuthorityInfo' in 'AElf.Kernel.Configuration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/AElf/AElf/src/AElf.OS.Core/Protobuf/Generated/AuthorityInfo.g.cs'.
|
This job succeeded
Loading