Libplanet 2.3.0
Released on June 28, 2023.
Backward-incompatible API changes
- (@planetarium/tx) Removed some types and functions related to actions because the concept of
SystemAction
andCustomAction
was removed since 1.1.0 and some system actions were removed since 1.2.0. [#3230]- Removed
encodeUnsignedTxWithCustomActions()
function. - Removed
encodeUnsignedTxWithSystemAction()
function. - Removed
UnsignedTxWithCustomActions
type. - Removed
UnsignedTxWithSystemAction
type. - Removed
encodeMint()
function. - Removed
encodeTransfer()
function. - Removed
encodeSystemAction()
function. - Removed
CustomAction
type. - Removed
SystemAction
type. - Removed
Mint
type. - Removed
Transfer
type. - Added
encodeUnsignedTx()
function. - Added
UnsignedTx
type. signTx(UnsignedTxWithCustomActions | UnsignedTxWithSystemAction)
function's signature becamesignTx(UnsignedTx)
.SignedTx<T extends UnsignedTxWithCustomActions | UnsignedTxWithSystemAction>
's signature becameSignedTx<T extends UnsignedTx>
.
- Removed
- Changed the type for
IAccountStateDelta.UpdatedFungibleAssets
toIImmutableSet<(Address, Currency)>
fromIImmutableDictionary<Address, IImmutableSet<Currency>>
. [#3244] - Changed the type for
IAccountStateDelta.TotalUpdatedFungibleAssets
toIImmutableSet<(Address, Currency)>
fromIImmutableDictionary<Address, IImmutableSet<Currency>>
. [#3244] - Added
IAccountStateDelta.Delta
propery. [#3245] - Removed
IValidatorSupportStateDelta
interface. [#3247] - Added
IAccountStateDeltaView.GetValidatorSet()
interface method. [#3247] - Added
IAccountStateDelta.SetValidator()
interface method. [#3247] - Changed the name
IAccountStateDelta.TotalSupplyUpdatedCurrencies
toIAccountStateDelta.UpdatedTotalSupplyCurrencies
. [#3248] - Changed
TxSuccess.UpdatedStates
's type toIImmutableDictionary<Address, IValue>
fromIImmutableDictionary<Address, IValue?>
. [#3248] - Added
IBlockChainStates.GetState()
interface method. [#3250] - Added
IBlockStates.GetState()
interface method. [#3250] - Changed
IBlockStates
to inheritIAccountState
interface. [#3251]
Added APIs
- Added
IAccountDelta
interface and its default implementationAccountDelta
class. [#3245]