You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since switch blocks are more than 10MB per era I wanted to dump a few switch blocks as JSON to process them offline so I don't need to request them again and again from the network. Seems like this isn't supported?
What did you expect to happen?
That serialization just works. Indeed I saw that quite a few Write methods aren't implemented yet:
BidsListConverter: throw new NotImplementedException("Write method for Bid not yet implemented");
Delegator: throw new NotImplementedException("Write method for Delegator not yet implemented");
EntryPoint: throw new NotImplementedException("Write method for EntryPointAccess not yet implemented");
SeigniorageAllocation: throw new NotImplementedException("Write method for SeigniorageAllocation not yet implemented");
StoredValue: throw new NotImplementedException("Write method for StoredValue not yet implemented");
Transform: throw new NotImplementedException("Write method for Transform not yet implemented");
Are you willing to submit a pull request to fix this bug?
Sorry, no.
The text was updated successfully, but these errors were encountered:
Yeah, I found that after quite some time as well, I was just abusing the following method directly:
RpcResponse.Parse();
Your solution is much better, of course without modifying the SDK itself.
Serialization and Deserialization seem to work fine that way according to some quick tests I've done. I`m using the following code to get switch blocks btw. which you've sent me on Discord some time ago:
What happened?
Can't serialize results to JSON.
Since switch blocks are more than 10MB per era I wanted to dump a few switch blocks as JSON to process them offline so I don't need to request them again and again from the network. Seems like this isn't supported?
What did you expect to happen?
That serialization just works. Indeed I saw that quite a few
Write
methods aren't implemented yet:BidsListConverter: throw new NotImplementedException("Write method for Bid not yet implemented");
Delegator: throw new NotImplementedException("Write method for Delegator not yet implemented");
EntryPoint: throw new NotImplementedException("Write method for EntryPointAccess not yet implemented");
SeigniorageAllocation: throw new NotImplementedException("Write method for SeigniorageAllocation not yet implemented");
StoredValue: throw new NotImplementedException("Write method for StoredValue not yet implemented");
Transform: throw new NotImplementedException("Write method for Transform not yet implemented");
Are you willing to submit a pull request to fix this bug?
Sorry, no.
The text was updated successfully, but these errors were encountered: