Skip to content

Add NUnit tests;

Add NUnit tests; #172

Triggered via pull request July 29, 2024 07:11
@uink45uink45
synchronize #16
dev
Status Success
Total duration 5m 21s
Artifacts

lantern-beacon.yml

on: pull_request
Build and Test
1m 7s
Build and Test
Build and analyze SonarCloud
3m 50s
Build and analyze SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Build and Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L5
Non-nullable property 'PreviousVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L6
Non-nullable property 'CurrentVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L34
Possible null reference return.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L36
Dereference of a possibly null reference.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L39
Converting null literal or possible null value to non-nullable type.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L39
Possible null reference return.
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L14
Non-nullable property 'ParentRoot' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L15
Non-nullable property 'StateRoot' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L16
Non-nullable property 'BodyRoot' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and Test: lib/SszSharp/SszSharp/BeaconState.cs#L21
Non-nullable property 'AttestingIndices' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build and analyze SonarCloud
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3, actions/setup-java@v3, actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconBlock.cs#L23
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/Transfer.cs#L3
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconBlockBody.cs#L67
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L13
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L19
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L93
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L131
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BlsPublicKey.cs#L10
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/Transfer.cs#L6
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/IndexedAttestation.cs#L7
Make '_custodyBit0Indices' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)