Skip to content

Metadata + Events / Extrinsics / Blocks database integration #59

Metadata + Events / Extrinsics / Blocks database integration

Metadata + Events / Extrinsics / Blocks database integration #59

GitHub Actions / Test results failed Oct 31, 2024 in 1s

1275 passed, 11 failed and 132 skipped

Tests failed

Report Passed Failed Skipped Time
src/Applications/Polkanalysis.Api.Tests/TestResults/test-results.trx 8✅ 740ms
src/Applications/Polkanalysis.Components.Tests/TestResults/test-results.trx 1✅ 1s
src/Applications/Polkanalysis.Web.Tests/TestResults/test-results.trx 498ms
src/Applications/Polkanalysis.Worker.Tests/TestResults/test-results.trx 6✅ 695ms
src/Core/Polkanalysis.Abstract.Tests/TestResults/test-results.trx 671ms
src/Core/Polkanalysis.Architecture.Tests/TestResults/test-results.trx 10✅ 2⚪ 1s
src/Core/Polkanalysis.Common.Tests/TestResults/test-results.trx 3✅ 692ms
src/Core/Polkanalysis.Configuration.Tests/TestResults/test-results.trx 13✅ 1s
src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx 66✅ 11❌ 2⚪ 254s
src/Domain/Polkanalysis.Domain.Tests/TestResults/test-results.trx 144✅ 3⚪ 20s
src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Integration.Tests/TestResults/test-results.trx 402✅ 90⚪ 290s
src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Tests/TestResults/test-results.trx 526✅ 35⚪ 18s
src/Infrastructure/Polkanalysis.Infrastructure.Database.Tests/TestResults/test-results.trx 96✅ 3s

✅ src/Applications/Polkanalysis.Api.Tests/TestResults/test-results.trx

8 tests were completed in 740ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Api.Tests.RuntimeControllerTests 5✅ 92ms
Polkanalysis.Api.Tests.VersionsControllerTests 3✅ 10ms

✅ src/Applications/Polkanalysis.Components.Tests/TestResults/test-results.trx

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Components.Tests.Display.ViewSelectorTests 1✅ 528ms

✅ src/Applications/Polkanalysis.Web.Tests/TestResults/test-results.trx

No tests found

✅ src/Applications/Polkanalysis.Worker.Tests/TestResults/test-results.trx

6 tests were completed in 695ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Worker.Tests.Service.PerimeterServiceTest 6✅ 87ms

✅ src/Core/Polkanalysis.Abstract.Tests/TestResults/test-results.trx

No tests found

✅ src/Core/Polkanalysis.Architecture.Tests/TestResults/test-results.trx

12 tests were completed in 1s with 10 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Architecture.Tests.DependenciesTests 5✅ 421ms
Polkanalysis.Architecture.Tests.MappingBlockchainExtTests 1✅ 2⚪ 92ms
Polkanalysis.Architecture.Tests.NamingConventionTests 4✅ 26ms

✅ src/Core/Polkanalysis.Common.Tests/TestResults/test-results.trx

3 tests were completed in 692ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Common.Tests.Monitoring.HealthCheckTests 2✅ 75ms
Polkanalysis.Common.Tests.Tests 1✅ 21ms

✅ src/Core/Polkanalysis.Configuration.Tests/TestResults/test-results.trx

13 tests were completed in 1s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Configuration.Tests.ApiConfigurationTest 2✅ 26ms
Polkanalysis.Configuration.Tests.BlockchainInfoConfigurationTest 2✅ 17ms
Polkanalysis.Configuration.Tests.EndpointConfigurationTest 5✅ 6ms
Polkanalysis.Configuration.Tests.MonitoringConfigurationTest 1✅ 1ms
Polkanalysis.Configuration.Tests.WebsiteConfigurationTest 3✅ 4ms

❌ src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx

79 tests were completed in 254s with 66 passed, 11 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Domain.Integration.Tests.Runtime.Errors.SystemErrorListenerTest 1✅ 2s
Polkanalysis.Domain.Integration.Tests.Runtime.Events.EventsListenerTests 5✅ 3s
Polkanalysis.Domain.Integration.Tests.Runtime.Extrinsic.ExtrinsicBalancesTests 1✅ 768ms
Polkanalysis.Domain.Integration.Tests.Runtime.Extrinsic.ExtrinsicTimestampTest 1✅ 757ms
Polkanalysis.Domain.Integration.Tests.Runtime.Metadata.CurrentMetadataTest 3✅ 824ms
Polkanalysis.Domain.Integration.Tests.Runtime.Module.FindDocumentationTest 5✅ 1s
Polkanalysis.Domain.Integration.Tests.Runtime.Module.FindPropertyTest 7✅ 2s
Polkanalysis.Domain.Integration.Tests.Runtime.Module.ModuleInformationTest 1✅ 252ms
Polkanalysis.Domain.Integration.Tests.Runtime.Module.PalletBuilderTest 1✅ 682ms
Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest 3✅ 7❌ 4s
Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests 13✅ 2❌ 51s
Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerEventsTests 9✅ 65s
Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests 5✅ 2❌ 89s
Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerLogsTests 1✅ 2s
Polkanalysis.Domain.Integration.Tests.Service.ParachainRepositoryTest 1✅ 1s
Polkanalysis.Domain.Integration.Tests.Service.StakingRepositoryTest 9✅ 2⚪ 19s

❌ Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest

✅ GetAccountIdentity_DelegateToPeopleChain_ShouldSucceedAsync("0x8a6f3de406319c13db54b4988fd172e0ae832ba2fe66c9d87578db4e1c5a929a","14GWWeZzMYkR7bwyeBvq7c44nJr4ncEodM4fAJX89ZSAHLw3","BINANCE_STAKE_13")
✅ GetAccountIdentity_DelegateToPeopleChain_ShouldSucceedAsync("0x8a6f3de406319c13db54b4988fd172e0ae832ba2fe66c9d87578db4e1c5a929a","158B1DyQ2Ep5b5G4akA2mjUJeDwgZZ4Sh1ePnkGgcWrgtPMs","senseinode.com")
❌ GetAllAccount_ShouldWorkAsync
	System.NullReferenceException : Object reference not set to an instance of an object.
✅ GetBalancesAsync_ShouldSucceedAsync("11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ")
❌ GetIdentityFromAccount_ShouldSuceedAsync("11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ")
	System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValidAccount_GetDetails_ShouldWorkAsync("","124X3VPduasSodAjS6MPd5nEqM8SUdKN5taMUUPtkWqF1fVf")
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
❌ ValidAccount_GetDetails_ShouldWorkAsync("","16AjunUasoBZKWkDnHvNEALGUgGuzC92j7LJoLu9qBSUJB2e")
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
❌ ValidAccount_GetDetails_ShouldWorkAsync("","16aP3oTaD7oQ6qmxU6fDAi7NWUB7knqH6UsWbwjnAhvRSxzS")
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
❌ ValidAccount_GetDetails_ShouldWorkAsync("","16ZL8yLyXv3V3L3z9ofR1ovFLziyXaN1DPq4yffMAZ9czzBD")
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
❌ ValidAccount_GetDetails_ShouldWorkAsync("5He5uUCWMLXvfJmSWTcD2ZHDerBU4VH91z92SekRcctuGifV","16aP3oTaD7oQ6qmxU6fDAi7NWUB7knqH6UsWbwjnAhvRSxzS")
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8

❌ Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests

✅ GetBlockAuthor_ValidBlockNumber_ShouldWorkAsync(15577810,"15AcyKihrmGs9RD4AHUwRvv6LkhbeDyGH3GVADp1Biv4bfFv")
❌ GetBlockDetails_ValidBlockHash_ShouldWorkAsync("0x416887b7593b9413613c94f4ec5f5b9c190023e1d5845d82857971afab461a76")
	System.NullReferenceException : Object reference not set to an instance of an object.
✅ GetBlockDetails_ValidBlockHash_ShouldWorkAsync("0xd2dfa1ad34d76b8f0fac8b6db4f4bf9f6be23c3608029276ee2cb11155547967")
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(11062877)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(13198574)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(13210791)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(13278242)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(13406835)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(14012677)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(21604404)
✅ GetBlockDetails_ValidBlockNumber_ShouldWorkAsync(22996447)
✅ GetExtrinsicsFeesAsync_ShouldSucceedAsync(21604404,2)
✅ GetExtrinsicsLifetimeAsync_ShouldSucceedAsync(21604404,2)
✅ GetExtrinsicStatus_WithError_ShouldBuildValidDtoAsync(21604404,2)
❌ GetLastBlocks_ShouldWorkAsync(10)
	StreamJsonRpc.RemoteInvocationException : Client error: Api called for an unknown Block: Header was not found in the database: 0xdcb42ac4a738cb5eb3d0973afe049d3680bbd17987e962e87c86ca29bfd1b470

❌ Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests

✅ GetExtrinsic_ShouldWorkAsync("0x280403000b207eba5c8501","0xe95401c4b25965e5c528909513e71f7017d9dbfeb02e6b41d70997f2ab872829")
✅ GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(11062877)
✅ GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(13564726)
✅ GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(20172644)
❌ GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(22708837)
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x0a8e10e5118c82037ea3def406c2312f465b786d2fc9c4b0365397cde432cd82
❌ GetExtrinsicsAssociateToBlock_CheckEveryDetails_FromBlockNumber_22666089_ShouldWorkAsync
	StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x3616d94b030f33138be3ec30527061ee9e519c53ec6b27c3e180fe9d9e9f5857
✅ GetExtrinsicsAssociateToBlock_CheckEveryDetails_FromBlockNumber_ShouldWorkAsync

✅ src/Domain/Polkanalysis.Domain.Tests/TestResults/test-results.trx

147 tests were completed in 20s with 144 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Domain.Tests.Dto.CompareSpecVersionDtoTest 1✅ 274ms
Polkanalysis.Domain.Tests.Dto.ModelBuilderTests 5✅ 14ms
Polkanalysis.Domain.Tests.Helper.EnumerableExtensionTest 1✅ 8s
Polkanalysis.Domain.Tests.Helper.WaiterHelperTest 1✅ 5s
Polkanalysis.Domain.Tests.Internal.CacheManagerTests 4✅ 91ms
Polkanalysis.Domain.Tests.Metrics.DomainMetricsTests 1⚪ 0ms
Polkanalysis.Domain.Tests.Service.AccountServiceTest 6✅ 1⚪ 872ms
Polkanalysis.Domain.Tests.Service.Block.BlockParameterLikeTest 6✅ 21ms
Polkanalysis.Domain.Tests.Service.Block.CoreServiceTests 2✅ 12ms
Polkanalysis.Domain.Tests.Service.Block.ExplorerBlockTests 1✅ 9ms
Polkanalysis.Domain.Tests.Service.Block.ExplorerEventsTests 1✅ 400ms
Polkanalysis.Domain.Tests.Service.FinancialServiceTests 5✅ 204ms
Polkanalysis.Domain.Tests.Service.MetadataServiceTest 6✅ 2s
Polkanalysis.Domain.Tests.Service.ParachainServiceTest 1✅ 16ms
Polkanalysis.Domain.Tests.Service.SearchServiceTest 10✅ 92ms
Polkanalysis.Domain.Tests.Service.StakingServiceTest 2✅ 11ms
Polkanalysis.Domain.Tests.UseCase.Account.AccountDetailUseCaseTest 2✅ 30ms
Polkanalysis.Domain.Tests.UseCase.Account.AccountFinancialTransactionsHandlerTests 3✅ 80ms
Polkanalysis.Domain.Tests.UseCase.Account.AccountListHandlerTests 2✅ 71ms
Polkanalysis.Domain.Tests.UseCase.Common.PaginationValidatorTest 5✅ 9ms
Polkanalysis.Domain.Tests.UseCase.Common.RangeDateValidatorTest 2✅ 3ms
Polkanalysis.Domain.Tests.UseCase.CommonBehaviorHandlerTests 1✅ 9ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Block.BlockDetailUseCaseTest 4✅ 9ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Block.BlockLightUseCaseTest 4✅ 9ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Block.SearchBlockHandlerTests 2✅ 27ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Events.EventDetailUseCaseTest 5✅ 11ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Events.SearchEventsHandlerTests 7✅ 163ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Extrinsics.ExtrinsicDetailUseCaseTest 5✅ 10ms
Polkanalysis.Domain.Tests.UseCase.Explorer.Extrinsics.SearchExtrinsicsHandlerTests 2✅ 138ms
Polkanalysis.Domain.Tests.UseCase.Finance.GlobalFinanceHandlerTests 2✅ 70ms
Polkanalysis.Domain.Tests.UseCase.Module.ModuleDetailUseCaseTest 4✅ 12ms
Polkanalysis.Domain.Tests.UseCase.Monitored.SavedBlocksHandlerTest 4✅ 73ms
Polkanalysis.Domain.Tests.UseCase.Monitored.SavedEventsHandlerTest 7✅ 155ms
Polkanalysis.Domain.Tests.UseCase.Monitored.SavedExtrinsicsHandlerTest 4✅ 80ms
Polkanalysis.Domain.Tests.UseCase.Nominator.NominatorDetailUseCaseTest 1✅ 5ms
Polkanalysis.Domain.Tests.UseCase.Parachain.ParachainDetailUseCaseTest 1✅ 4ms
Polkanalysis.Domain.Tests.UseCase.Price.TokenPriceCommandHandlerTest 4✅ 21ms
Polkanalysis.Domain.Tests.UseCase.Price.TokenPriceHandlerTest 3✅ 24ms
Polkanalysis.Domain.Tests.UseCase.Runtime.CompareSpecVersionHandlerTests 3✅ 1⚪ 577ms
Polkanalysis.Domain.Tests.UseCase.Runtime.PalletVersionHandlerCommandTests 4✅ 1s
Polkanalysis.Domain.Tests.UseCase.Runtime.PalletVersionHandlerQueryTests 2✅ 12ms
Polkanalysis.Domain.Tests.UseCase.Runtime.SpecVersionHandlerCommandTests 2✅ 31ms
Polkanalysis.Domain.Tests.UseCase.Runtime.SpecVersionHandlerQueryTests 2✅ 9ms
Polkanalysis.Domain.Tests.UseCase.Search.SearchHandlerTests 2✅ 6ms
Polkanalysis.Domain.Tests.UseCase.Staking.Era.EraStakersHandlerTests 3✅ 82ms

✅ src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Integration.Tests/TestResults/test-results.trx

492 tests were completed in 290s with 402 passed, 0 failed and 90 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.PeopleChain.Pallet.Balances.BalancesStorageTests 1✅ 7⚪ 34ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.PeopleChain.Pallet.Identity.IdentityStorageTests 5✅ 2⚪ 664ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.PeopleChain.Pallet.ParachainInfo.ParachainInfoStorageTest 1✅ 21ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.PeopleChain.Pallet.System.SystemStorageTests 25✅ 9s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.PolkadotClientTests 3✅ 2⚪ 1s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.PolkadotServiceTests 30✅ 33s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Auctions.AuctionsStorageTests 20✅ 6⚪ 15s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Authorship.AuthorshipStorageTests 3✅ 3s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Babe.BabeStorageTests 47✅ 2⚪ 37s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Balances.BalancesStorageTests 9✅ 63⚪ 13s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Crowdloan.CrowdloanStorageTests 5✅ 659ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Identity.IdentityStorageTests 8✅ 2⚪ 6s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.NominationPools.NominationPoolsStorageTests 10✅ 5s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.ParaSessionInfo.ParaSessionInfoStorageTests 4✅ 769ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.ParasStorage.ParaStorageTests 5✅ 2⚪ 178ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Registar.RegistarStorageTests 2✅ 73ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Session.SessionStorageTests 3✅ 1⚪ 206ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Staking.StakingStorageTests 43✅ 1⚪ 10s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.System.SystemStorageTests 175✅ 2⚪ 143s
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Repository.Pallet.Timestamp.TimestampStorageTests 2✅ 54ms
Polkanalysis.Infrastructure.Blockchain.Integration.Tests.Polkadot.Rpc.RpcChainTests 1✅ 776ms

✅ src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Tests/TestResults/test-results.trx

561 tests were completed in 18s with 526 passed, 0 failed and 35 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Domain.Tests.Node.NodeTest 3✅ 2⚪ 144ms
Polkanalysis.Domain.Tests.Runtime.Event.BalancesEventListenerTest 7⚪ 43ms
Polkanalysis.Domain.Tests.Runtime.Event.ParaInclusionEventTest 3⚪ 0ms
Polkanalysis.Domain.Tests.Runtime.Event.ScheduleEventListenerTest 2⚪ 1ms
Polkanalysis.Domain.Tests.Runtime.Event.SystemEventListenerTest 2⚪ 0ms
Polkanalysis.Domain.Tests.Runtime.Event.TransactionPaymentListenerTest 1⚪ 0ms
Polkanalysis.Infrastructure.Blockchain.Tests.Common.PalletVersion.ActivePalletTest 4✅ 103ms
Polkanalysis.Infrastructure.Blockchain.Tests.Common.PalletVersion.ScanPalletTest 2⚪ 0ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Mapping.EnumMappingTests 9✅ 915ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Mapping.PolkadotMappingTests 18✅ 1⚪ 1s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.PolkadotServiceTests 1⚪ 0ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Events.EventRecordsTest 1⚪ 0ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Auctions.AuctionsStorageTests 11✅ 1⚪ 668ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Authorship.AuthorshipStorageTests 7✅ 356ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Babe.BabeStorageTests 51✅ 1⚪ 3s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Balances.BalancesStorageTests 20✅ 1⚪ 1s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.BlockHashStorageTests 13✅ 1⚪ 651ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Crowdloan.CrowdloanStorageTests 10✅ 287ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Identity.IdentityStorageTests 8✅ 265ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.NominationPools.NominationPoolsStorageTests 90✅ 2s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.ParaSessionInfo.ParaSessionInfoStorageTests 12✅ 311ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.ParasStorage.ParaStorageTests 35✅ 3⚪ 839ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Registar.RegistarStorageTests 6✅ 149ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Session.SessionStorageTests 19✅ 467ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Staking.StakingStorageTests 140✅ 3⚪ 3s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.System.SystemEventsTest 6✅ 264ms
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.System.SystemStorageTests 50✅ 1⚪ 1s
Polkanalysis.Infrastructure.Blockchain.Tests.Polkadot.Repository.Pallet.Timestamp.TimestampStorageTests 9✅ 188ms
Polkanalysis.Infrastructure.DirectAccess.Test.Runtime.PalletBuilderTest 3✅ 2⚪ 1ms
Polkanalysis.SubstrateDecode.Test.Node.DecodeTest 2✅ 18ms

✅ src/Infrastructure/Polkanalysis.Infrastructure.Database.Tests/TestResults/test-results.trx

96 tests were completed in 3s with 96 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Auctions.AuctionClosedRepositoryTest 3✅ 764ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Auctions.AuctionStartedRepositoryTest 3✅ 28ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesDustLostRepositoryTest 3✅ 114ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesEndowedRepositoryTest 3✅ 53ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesReservedRepositoryTest 3✅ 46ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesSetRepositoryTest 3✅ 49ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesSlashedRepositoryTest 3✅ 46ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesTransferRepositoryTest 6✅ 109ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Balances.BalancesUnreservedRepositoryTest 3✅ 55ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Crowdloan.CrowloanContributedRepositoryTests 3✅ 48ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Crowdloan.CrowloanCreatedRepositoryTest 3✅ 22ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.DatabaseServiceCollectionsExtensionsTest 1✅ 6ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.EventsFactoryTest 1✅ 8ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Identity.IdentityIdentityClearedRepositoryTests 3✅ 60ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Identity.IdentityIdentityKilledRepositoryTests 3✅ 81ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Identity.IdentityIdentitySetRepositoryTests 3✅ 70ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsBondedRepositoryTest 3✅ 53ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsCreatedRepositoryTest 3✅ 45ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsDestroyedRepositoryTest 3✅ 22ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsMemberRemovedRepositoryTest 3✅ 44ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsMinBalanceDeficitAdjustedRepositoryTest 3✅ 25ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsMinBalanceExcessAdjustedRepositoryTest 3✅ 26ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsPaidOutRepositoryTest 3✅ 46ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsPoolCommissionClaimedRepositoryTest 3✅ 25ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsUnbondedRepositoryTest 3✅ 53ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.NominationPools.NominationPoolsWithdrawnRepositoryTest 3✅ 47ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.Staking.StakingEraPaidRepositoryTest 3✅ 29ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.SystemT.SystemKilledAccountRepositoryTest 3✅ 64ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Events.SystemT.SystemNewAccountRepositoryTest 3✅ 74ms
Polkanalysis.Infrastructure.Database.Tests.Repository.QueryableExtensionsTests 6✅ 11ms
Polkanalysis.Infrastructure.Database.Tests.Repository.Staking.StakingDatabaseRepositoryTests 4✅ 90ms

Annotations

Check failure on line 68 in src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Polkadot/PolkadotAbstractStorage.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest ► GetAllAccount_ShouldWorkAsync

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.PolkadotAbstractStorage.IsPeopleChainAlreadyExistsAsync(SubstrateClient otherClient, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\PolkadotAbstractStorage.cs:line 68
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.IdentityStorage.IdentityOfAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\IdentityStorage.cs:line 44
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3](Task`1 t1, Task`1 t2, Task`1 t3) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 21
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityInnerAsync(SubstrateAccount account, UserIdentityTypeDto type, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 231
   at Polkanalysis.Domain.Internal.CacheManager.HandleFromCacheAsync[TResult](IDistributedCache cache, String cacheKey, Func`1 nonCachedFunc, Func`2 isResultValid, Int32 durationInMinutes, ILogger logger, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Internal\CacheManager.cs:line 57
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 216
   at Polkanalysis.Domain.Service.AccountService.GetAccountsAsync(CancellationToken cancellationToken, Pagination pagination) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 77
   at Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest.GetAllAccount_ShouldWorkAsync() in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\AccountServiceTest.cs:line 45
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 68 in src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Polkadot/PolkadotAbstractStorage.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest ► GetIdentityFromAccount_ShouldSuceedAsync("11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ")

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.PolkadotAbstractStorage.IsPeopleChainAlreadyExistsAsync(SubstrateClient otherClient, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\PolkadotAbstractStorage.cs:line 68
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.IdentityStorage.IdentityOfAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\IdentityStorage.cs:line 44
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3](Task`1 t1, Task`1 t2, Task`1 t3) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 21
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityInnerAsync(SubstrateAccount account, UserIdentityTypeDto type, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 231
   at Polkanalysis.Domain.Internal.CacheManager.HandleFromCacheAsync[TResult](IDistributedCache cache, String cacheKey, Func`1 nonCachedFunc, Func`2 isResultValid, Int32 durationInMinutes, ILogger logger, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Internal\CacheManager.cs:line 57
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 216
   at Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest.GetIdentityFromAccount_ShouldSuceedAsync(String accountAddress) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\AccountServiceTest.cs:line 55
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest ► ValidAccount_GetDetails_ShouldWorkAsync("","124X3VPduasSodAjS6MPd5nEqM8SUdKN5taMUUPtkWqF1fVf")

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.SubstrateClient.GetStorageAsync[T](String parameters, String blockhash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 477
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.v1003003.NominationPoolsStorage.PoolMembers(AccountId32 key, CancellationToken token)
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.NominationPoolsStorage.PoolMembersAsync(AccountId32Base key, CancellationToken token)
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.NominationPoolsStorage.PoolMembersAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\NominationPoolsStorage.cs:line 108
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3,T4,T5,T6,T7,T8](Task`1 t1, Task`1 t2, Task`1 t3, Task`1 t4, Task`1 t5, Task`1 t6, Task`1 t7, Task`1 t8) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 41
   at Polkanalysis.Domain.Service.AccountService.GetAccountDetailAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 158
   at Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest.ValidAccount_GetDetails_ShouldWorkAsync(String ss58, String polkadotAdress) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\AccountServiceTest.cs:line 37
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest ► ValidAccount_GetDetails_ShouldWorkAsync("","16aP3oTaD7oQ6qmxU6fDAi7NWUB7knqH6UsWbwjnAhvRSxzS")

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.SubstrateClient.GetStorageAsync[T](String parameters, String blockhash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 477
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.v1003003.SessionStorage.NextKeys(AccountId32 key, CancellationToken token)
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.SessionStorage.NextKeysAsync(AccountId32Base key, CancellationToken token)
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.SessionStorage.NextKeysAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\SessionStorage.cs:line 42
   at Polkanalysis.Domain.Service.AccountService.GetAccountTypeAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 296
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3,T4](Task`1 t1, Task`1 t2, Task`1 t3, Task`1 t4) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 25
   at Polkanalysis.Domain.Service.AccountService.GetAccountDetailAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 188
   at Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest.ValidAccount_GetDetails_ShouldWorkAsync(String ss58, String polkadotAdress) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\AccountServiceTest.cs:line 37
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest ► ValidAccount_GetDetails_ShouldWorkAsync("","16ZL8yLyXv3V3L3z9ofR1ovFLziyXaN1DPq4yffMAZ9czzBD")

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x357d1d4b7e35f1ebc1786acf83112ea7b85aebd7075c550bd3d1d0c5742be7f8
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.SubstrateClient.GetStorageAsync[T](String parameters, String blockhash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 477
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.v1003003.BalancesStorage.Locks(AccountId32 key, CancellationToken token)
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.BalancesStorage.LocksAsync(AccountId32Base key, CancellationToken token)
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.BalancesStorage.LocksAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\BalancesStorage.cs:line 65
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3,T4,T5,T6,T7,T8](Task`1 t1, Task`1 t2, Task`1 t3, Task`1 t4, Task`1 t5, Task`1 t6, Task`1 t7, Task`1 t8) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 41
   at Polkanalysis.Domain.Service.AccountService.GetAccountDetailAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 158
   at Polkanalysis.Domain.Integration.Tests.Service.AccountServiceTest.ValidAccount_GetDetails_ShouldWorkAsync(String ss58, String polkadotAdress) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\AccountServiceTest.cs:line 37
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 68 in src/Infrastructure/Polkanalysis.Infrastructure.Blockchain.Polkadot/PolkadotAbstractStorage.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests ► GetBlockDetails_ValidBlockHash_ShouldWorkAsync("0x416887b7593b9413613c94f4ec5f5b9c190023e1d5845d82857971afab461a76")

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.PolkadotAbstractStorage.IsPeopleChainAlreadyExistsAsync(SubstrateClient otherClient, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\PolkadotAbstractStorage.cs:line 68
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.IdentityStorage.IdentityOfAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\IdentityStorage.cs:line 44
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3](Task`1 t1, Task`1 t2, Task`1 t3) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 21
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityInnerAsync(SubstrateAccount account, UserIdentityTypeDto type, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 231
   at Polkanalysis.Domain.Internal.CacheManager.HandleFromCacheAsync[TResult](IDistributedCache cache, String cacheKey, Func`1 nonCachedFunc, Func`2 isResultValid, Int32 durationInMinutes, ILogger logger, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Internal\CacheManager.cs:line 57
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 216
   at Polkanalysis.Domain.Service.ExplorerService.GetBlockDetailsAsync(BlockParameterLike block, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 280
   at Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests.GetBlockDetails_ValidBlockHash_ShouldWorkAsync(String blockString) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\Explorer\ExplorerBlockTests.cs:line 81
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests ► GetLastBlocks_ShouldWorkAsync(10)

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: Api called for an unknown Block: Header was not found in the database: 0xdcb42ac4a738cb5eb3d0973afe049d3680bbd17987e962e87c86ca29bfd1b470
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: Api called for an unknown Block: Header was not found in the database: 0xdcb42ac4a738cb5eb3d0973afe049d3680bbd17987e962e87c86ca29bfd1b470
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.Modules.State.GetRuntimeVersionAsync(String blockHash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\Modules\Legacy\State.cs:line 152
   at Polkanalysis.Infrastructure.Blockchain.Common.AbstractStorage.GetVersionAsync(CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain\Common\AbstractStorage.cs:line 35
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.IdentityStorage.IdentityOfAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\IdentityStorage.cs:line 28
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityInnerAsync(SubstrateAccount account, UserIdentityTypeDto type, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 246
   at Polkanalysis.Domain.Internal.CacheManager.HandleFromCacheAsync[TResult](IDistributedCache cache, String cacheKey, Func`1 nonCachedFunc, Func`2 isResultValid, Int32 durationInMinutes, ILogger logger, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Internal\CacheManager.cs:line 57
   at Polkanalysis.Domain.Service.AccountService.GetAccountIdentityAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 216
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2](Task`1 t1, Task`1 t2) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 17
   at Polkanalysis.Domain.Service.ExplorerService.GetBlockLightAsync(BlockParameterLike block, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 195
   at Polkanalysis.Domain.Service.ExplorerService.GetBlockLightAsync(UInt32 blockId, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 173
   at Polkanalysis.Domain.Service.ExplorerService.GetLastBlocksAsync(Int32 nbBlock, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 467
   at Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerBlockTests.GetLastBlocks_ShouldWorkAsync(Int32 nbBlock) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\Explorer\ExplorerBlockTests.cs:line 89
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests ► GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(22708837)

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x0a8e10e5118c82037ea3def406c2312f465b786d2fc9c4b0365397cde432cd82
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x0a8e10e5118c82037ea3def406c2312f465b786d2fc9c4b0365397cde432cd82
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.SubstrateClient.GetStorageAsync[T](String parameters, String blockhash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 477
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.v1003000.NominationPoolsStorage.PoolMembers(AccountId32 key, CancellationToken token)
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.NominationPoolsStorage.PoolMembersAsync(AccountId32Base key, CancellationToken token)
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.NominationPoolsStorage.PoolMembersAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\NominationPoolsStorage.cs:line 108
   at Polkanalysis.Domain.Service.AccountService.GetAccountTypeAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 296
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3,T4](Task`1 t1, Task`1 t2, Task`1 t3, Task`1 t4) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 25
   at Polkanalysis.Domain.Service.AccountService.GetAccountDetailAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 188
   at Polkanalysis.Domain.Service.ExplorerService.GetExtrinsicsAsync(BlockParameterLike block, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 571
   at Polkanalysis.Domain.Service.ExplorerService.GetExtrinsicsAsync(UInt32 blockId, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 534
   at Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests.GetExtrinsics_WithValidBlockNumber_ShouldWorkAsync(Int32 blockId) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\Explorer\ExplorerExtrinsicsTests.cs:line 19
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 603 in src/Infrastructure/Substrate.NetApi/SubstrateClient.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests ► GetExtrinsicsAssociateToBlock_CheckEveryDetails_FromBlockNumber_22666089_ShouldWorkAsync

Failed test found in:
  src/Domain/Polkanalysis.Domain.Integration.Tests/TestResults/test-results.trx
Error:
  StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x3616d94b030f33138be3ec30527061ee9e519c53ec6b27c3e180fe9d9e9f5857
Raw output
StreamJsonRpc.RemoteInvocationException : Client error: UnknownBlock: Header was not found in the database: 0x3616d94b030f33138be3ec30527061ee9e519c53ec6b27c3e180fe9d9e9f5857
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Substrate.NetApi.SubstrateClient.InvokeAsync[T](String method, Object parameters, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 603
   at Substrate.NetApi.SubstrateClient.GetStorageAsync[T](String parameters, String blockhash, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Substrate.NetApi\SubstrateClient.cs:line 477
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.v1003000.SessionStorage.NextKeys(AccountId32 key, CancellationToken token)
   at Polkanalysis.Polkadot.NetApiExt.Generated.Storage.SessionStorage.NextKeysAsync(AccountId32Base key, CancellationToken token)
   at Polkanalysis.Infrastructure.Blockchain.Polkadot.Storage.SessionStorage.NextKeysAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Infrastructure\Polkanalysis.Infrastructure.Blockchain.Polkadot\Storage\SessionStorage.cs:line 42
   at Polkanalysis.Domain.Service.AccountService.GetAccountTypeAsync(SubstrateAccount account, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 296
   at Polkanalysis.Domain.Helper.WaiterHelper.WaitAndReturnAsync[T1,T2,T3,T4](Task`1 t1, Task`1 t2, Task`1 t3, Task`1 t4) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Helper\WaiterHelper.cs:line 25
   at Polkanalysis.Domain.Service.AccountService.GetAccountDetailAsync(SubstrateAccount account, CancellationToken token) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\AccountService.cs:line 188
   at Polkanalysis.Domain.Service.ExplorerService.GetExtrinsicsAsync(BlockParameterLike block, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 571
   at Polkanalysis.Domain.Service.ExplorerService.GetExtrinsicsAsync(UInt32 blockId, CancellationToken cancellationToken) in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain\Service\ExplorerService.cs:line 534
   at Polkanalysis.Domain.Integration.Tests.Service.Explorer.ExplorerExtrinsicsTests.GetExtrinsicsAssociateToBlock_CheckEveryDetails_FromBlockNumber_22666089_ShouldWorkAsync() in D:\a\Polkanalysis\Polkanalysis\src\Domain\Polkanalysis.Domain.Integration.Tests\Service\Explorer\ExplorerExtrinsicsTests.cs:line 86
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)