Libplanet 4.6.0
Released on May 27, 2024.
Due to changes in #3789, a network ran with a prior version may not be compatible with this version. The native implementation of IActionEvaluator
, which is ActionEvaluator
, no longer supports evaluation of PoW Block
s. That is, it is no longer possible to reconstruct states with valid state root hashes purely from past Block
s that includes PoW Block
s.
Deprecated APIs
Backward-incompatible API changes
- (Libplanet.Action) Changed
ActionEvaluate.Evaluate()
to no longer acceptIPreEvaluationBlock
with a protocol version less thanBlockMetadata.PBFTProtocolVersion
. [#3789] - (Libplanet.Action) Changed the description of
IActionEvaluate.Evaluate()
so that it may throwBlockProtocolVersionNotSupportedException
if its implementation is not able to handleIPreEvaluationBlock
with certainBlockMetadata.ProtocolVersion
s. [#3789] - (Libplanet.Types) Removed
nonce
parameter fromBlockMetadata.DerivePreEvaluationHash()
andBlockMetadata.MakeCandidateData()
methods. [#3793, #3794] - (Libplanet.Explorer.Executable) Removed unused
difficultyBoundDivisor
parameter for the executable and removedOptions.DifficultyBoundDivisor
property. [#3796] - (Libplanet.Explorer) Added
balance
,totalSupply
, andvalidatorSet
queries toWorldStateType
. [#3792, #3798] - (Libplanet.Explorer) Deprecated
balance
,balances
,totalSupply
andvalidatorSet
query fromAccountStateType
. [#3792, #3798] - (Libplanet.Explorer) Changed
totalSupply
query underStateQuery
to no longer throw anException
and return a zero amount instead. [#3799]