Skip to content

Serializing a transaction with *signatures* no longer serializes the signatures #1070

@mehcode

Description

@mehcode

Description

https://github.com/hiero-ledger/hiero-sdk-rust/pull/966/files#diff-ae5a8740a95234e0439aa9312af40e9a7520b1566fd4139262d47f3f61f17990R529-R530

Notice how to_bytes always builds a fresh transaction list and doesn't refer to signed sources anymore.

Is there another method that can be used to serialize a transaction with signatures?

Steps to reproduce

  1. Create a transaction
  2. Sign the transaction
  3. Serialize the transaction
  4. Deserialize the transaction
  5. Notice the transaction is no longer signed

Additional context

No response

Hedera network

No response

Version

v0.38

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions