Skip to content

0.11.2-rc.2

Latest

Choose a tag to compare

@zoedberg zoedberg released this 11 Nov 14:00
· 1 commit to master since this release
0.11.2-rc.2
b36b4e9

What's Changed

  • Handle allocations the main transition cannot move: state of the paid contract which the transition type being built cannot carry, and additional rights on the same seal beyond the single one a void invoice asks for, are now moved by extra transitions instead of being dropped. Composing a payment returns those leftovers alongside the main transition
  • Add RgbPsbt::push_rgb_transitions, which checks a whole batch of transitions in memory before writing it. push_rgb_transition set each input's consumer separately, deserializing and re-serializing the contract's entire consumer map every time, which is quadratic in the number of inputs and takes hours with u16 inputs. Pushing transitions one at a time is quadratic in their number too, so spending a UTXO holding u16 allocations, each moved by its own single-input transition, took well over 15 minutes. Add RgbPsbtError::DoubleSpend for a batch that spends the same opout twice
  • Decode each transition only once when building PSBT bundles: rgb_bundles decoded a transition from the PSBT once per input it spends, which is quadratic in the number of inputs, so committing a transition with u16 inputs took hours
  • CLI: drop terminals from consignment inspection, following their removal in rgb-ops, and rewrite the NIA transfer test fixture without them
  • Update rgb-strict-encoding and rgb-strict-types to 1.0.6, and rgb-ops to 0.11.2-rc.2
  • Replace the retired macos-14 CI runner with macos-15

Full Changelog: 0.11.2-rc.1...0.11.2-rc.2