Released on July 2, 2024.
Deprecated APIs
BlockChain.DetermineGenesisStateRootHash()
has been removed. [#3811]BlockChain.EvaluateGenesis()
has been removed. [#3811]BlockChain.DetermineBlockStateRootHash()
has been removed. [#3811]
Backward-incompatible API changes
- (Libplanet.Action)
IBlockChainStates.GetWorldState(BlockHash?)
does not accept null parameter any more. [#3811] - Bumped
BlockMetadata.CurrentProtocolVersion
to 8. [#3811] BlockChain.EvaluateBlock()
acceptsBlock
instead ofIPreEvaluationBlock
. [#3811]BlockChain.ProposeGenesisBlock()
receives parameterHashDigest<SHA256>? stateRootHash
. [#3811]BlockChain.ProposeGenesisBlock()
does not receive parameterIActionEvaluator actionEvaluator
any more. [#3811]BlockChain.ProposeBlock()
receives parameterHashDigest<SHA256> stateRootHash
. [#3811]- (Libplanet.Net) Changed
Context()
to accept additionalBlockCommit?
typed argument. RemovedlastCommit
parameter fromContext.Start()
. [#3833, #3845] - (Libplanet.Net) Changed
Context.Start()
to throw anInvalidOperationException
whenContext
is not in a valid state. [#3846] - (Libplanet.Net) Removed
IConsensusMessageCommunicator
parameter fromContext()
. [#3848, #3849] - (Libplanet.Net) Added
Running
property toConsensusContext
. [#3851] - (Libplanet.Net) Added
Start()
method toConsensusContext
. [#3851] - (Libplanet.Net) Changed
NewHeight()
to throw aNullReferenceException
if it is called while its internalBlockChain
is in an invalid state. [#3851] - (Libplanet.Net) Removed
Null
value fromConsensusStep
enum. [#3851]
Added APIs
- Added
BlockChain.DetermineNextBlockStateRootHash()
method. [#3811]