Mainnet Block 4125582 results in the following exception if tried to query by C# RpcClient:3.6.0.
Unhandled exception. System.FormatException: One of the identified items was in an invalid format.
at Neo.Network.RPC.Utility.TransactionAttributeFromJson(JObject json)
at Neo.Network.RPC.Utility.<>c.<TransactionFromJson>b__9_1(JToken p)
at System.Linq.Enumerable.SelectIListIterator`2.ToArray()
at Neo.Network.RPC.Utility.TransactionFromJson(JObject json, ProtocolSettings protocolSettings)
at Neo.Network.RPC.Utility.<>c__DisplayClass6_0.<BlockFromJson>b__0(JToken p)
at System.Linq.Enumerable.SelectIListIterator`2.ToArray()
at Neo.Network.RPC.Utility.BlockFromJson(JObject json, ProtocolSettings protocolSettings)
at Neo.Network.RPC.Models.RpcBlock.FromJson(JObject json, ProtocolSettings protocolSettings)
at Neo.Network.RPC.RpcClient.GetBlockAsync(String hashOrIndex)
at GhostMarket.Blockchain.EVM.BlockProcessing_StartHere.Main(String[] args) in Program.cs:line 63
at GhostMarket.Blockchain.EVM.BlockProcessing_StartHere.<Main>(String[] args)
Issue is that there is no case for TransactionAttributeType.Conflicts(and TransactionAttributeType.NotValidBefore) resulting in the default case -> FormatException
Mainnet Block 4125582 results in the following exception if tried to query by C# RpcClient:3.6.0.
The JSON returned by RPC for Block 4125582
https://github.com/neo-project/neo-modules/blob/718e72e22e71fd612bc3937cd627484185688330/src/RpcClient/Utility.cs#L188-L202
Issue is that there is no case for
TransactionAttributeType.Conflicts
(andTransactionAttributeType.NotValidBefore
) resulting in the default case -> FormatException