Skip to content

v1.1.0

Choose a tag to compare

@popenta popenta released this 04 Feb 10:44
· 301 commits to main since this release
254d1a7

What's Changed

This PR contains a small breaking change, that is the fix of an incorrect behavior. The method TransactionComputer.compute_bytes_for_serializing() has been modified to serialize the transaction based on the transaction.options property. A boolean parameter ignore_options has been added and it's set to False by default. This ensures the transaction is serialized based on the options. If the parameter is set to True, it will work as it previously did, serializing the transaction.

If one used the LedgerApp component without LedgerAccount, when passing transactions to be signed they need to be serialized as follows:

transaction = Transaction(...)
app = LedgerApp()
transaction_computer = TransactionComputer()
signature = app.sign_transaction(transaction_computer.compute_bytes_for_signing(transaction, True))

What's Changed

Full Changelog: v1.0.0...v1.1.0