Skip to content

chore: remove deprecated serialization for exceptions #1566

chore: remove deprecated serialization for exceptions

chore: remove deprecated serialization for exceptions #1566

Triggered via push January 14, 2025 10:45
Status Queued
Total duration
Artifacts
Matrix: Run Benchmark.Net benchmarks
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Crypto/GenerateKeyParamTriesExceedException.cs#L26
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Crypto/InvalidCiphertextException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Evidence/DuplicateVoteException.cs#L83
Member 'DuplicateVoteException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'DuplicateVoteException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockBytesLengthException.cs#L37
Member 'InvalidBlockBytesLengthException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockBytesLengthException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockEvidenceHashException.cs#L70
Member 'InvalidBlockEvidenceHashException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockEvidenceHashException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockProtocolVersionException.cs#L41
Member 'InvalidBlockProtocolVersionException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockProtocolVersionException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockPreEvaluationHashException.cs#L69
Member 'InvalidBlockPreEvaluationHashException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockPreEvaluationHashException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockTxCountException.cs#L33
Member 'InvalidBlockTxCountException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockTxCountException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (linux-8cores): src/Libplanet.Types/Blocks/InvalidBlockPublicKeyException.cs#L56
Member 'InvalidBlockPublicKeyException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockPublicKeyException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Crypto/GenerateKeyParamTriesExceedException.cs#L26
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Crypto/InvalidCiphertextException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Evidence/DuplicateVoteException.cs#L83
Member 'DuplicateVoteException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'DuplicateVoteException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockBytesLengthException.cs#L37
Member 'InvalidBlockBytesLengthException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockBytesLengthException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockEvidenceHashException.cs#L70
Member 'InvalidBlockEvidenceHashException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockEvidenceHashException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockProtocolVersionException.cs#L41
Member 'InvalidBlockProtocolVersionException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockProtocolVersionException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockPreEvaluationHashException.cs#L69
Member 'InvalidBlockPreEvaluationHashException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockPreEvaluationHashException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockPublicKeyException.cs#L56
Member 'InvalidBlockPublicKeyException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockPublicKeyException.GetObjectData(SerializationInfo, StreamingContext)'.
Run Benchmark.Net benchmarks (windows-8cores): src/Libplanet.Types/Blocks/InvalidBlockSignatureException.cs#L84
Member 'InvalidBlockSignatureException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidBlockSignatureException.GetObjectData(SerializationInfo, StreamingContext)'.