-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some types and enum variants were not properly json-serializing #4980
Some types and enum variants were not properly json-serializing #4980
Conversation
@@ -283,7 +283,7 @@ impl<'a> TransactionV1Builder<'a> { | |||
|
|||
/// Returns a new `TransactionV1Builder` suitable for building a native change_bid_public_key | |||
/// transaction. | |||
pub fn new_change_bid_public_key<A: Into<U512>>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Piggy backed this fix, this function needs no templating
bors r+ |
4980: Some types and enum variants were not properly json-serializing r=zajko a=zajko The types/enum variants that changed: * DelegatorKind::Purse(uref_addr) (uref_addr used to json-serialize as array of u8, now it json-serializes as a base16 encoded string of that vec) * UnbondKind::DelegatedPurse (uref_addr) (uref_addr used to json-serialize as array of u8, now it json-serializes as a base16 encoded string of that vec) * StoredValue::RawBytes(raw_bytes_vec) -> raw_bytes_vec serialized as an array of u8, but based on how we serialize Bytes in StoredValue::ContractWasm::bytes I changed it that it serializes as a string (to be consistent with serialization of Bytes type) This will affect casper-client-rs and sidecar. Co-authored-by: Jakub Zajkowski <[email protected]>
Build failed: |
bors r+ |
Build succeeded: |
bf56812
into
casper-network:feat-2.0
@zajko @darthsiroftardis , the
|
@davidatwhiletrue Could you give more detail on how you came to this result? Are you using latest
And got the result:
|
@zajko , yes, I was using |
The types/enum variants that changed:
This will affect casper-client-rs and sidecar.