Skip to content

v0.7.0-rc5

Pre-release
Pre-release
Compare
Choose a tag to compare
@NicolasDP NicolasDP released this 07 Nov 15:52
v0.7.0-rc5
d4ac194

Bug fixes

  • prevent deserialisation of invalid data from the network ( #1064 #1066 )
  • fix error with legacy UTxO management in the ledger ( #1071 )

Improvements

  • add P2P policy management (#1076)
  • better chain pulling algorithm reducing bandwidth ( #1078 )
  • add ledger support for ratio delegation (support delegating ratio of total stake to different stake pool at once) (#1084)

House keeping

⚠️ Major Breaking changes

transaction update #1063

  • Keep the transaction in binary format and slice it efficiently on demand (API BREAKING CHANGE)
  • Get rid of AuthenticatedTransaction (now just Transaction) (API BREAKING CHANGE)
  • Redo the transaction builder to be a state machine: 1) set payload 2) set input-outputs 3) set witnesses 4) set payload-auth (API BREAKING CHANGE)
  • Bind certificate with transaction (BREAKING CHANGE)
  • Flatten PoolManagement into PoolUpdate/PoolRetirement (BREAKING CHANGE)
  • Simplify the fees calculation (API BREAKING CHANGE)

REST interface to query UTxO #1081

  • remove the REST endpoint to list all the UTxO
  • allow querying the state of a specific UTxO

JCLI transaction subcommand #1073

id

The command jcli transaction id does not return the FragmentId (which can be used to check the explorer if the transaction was accepted, or a certificate, ...). It does (and always had) returned the data-for-witness which is necessary to create a transaction witness. There is now a jcli transaction data-to-sign subcommand, and the id subcommand` is now deprecated.

auth

There is now a new auth subcommand that allow to sign a transaction with an embedded certificate. the following flow:

jcli certificate new ...
jcli certificate sign <secret-key> ...
jcli transaction new ...
jcli transaction seal ...
jcli transaction to-message ...

is now:

jcli certificate new ...
jcli transaction new ...
... < add inputs, outputs, certificate >
jcli transaction seal ...
jcli transaction auth -k <secret-key> ...
jcli transaction to-message ...

Note: For block0 creation, jcli certificate new + jcli certificate sign is still the way to use it

Explorer mode

pagination for the transaction have changed #1035