Release v1.0.115 is out 🚀
What's new:
- #1455 Genesis file refactor: changed the genesis file to allow the following operations: balance minting, direct staking and delegated staking. Added checks against both genesis.json and nodesSetup.json files. Added the possibility to deploy smartcontracts at genesis time.
- #1524 Heartbeat system refactoring by carving out the components from the
node
package. The heartbeat system can no longer be deactivated from the config.toml file as this will cripple the node's network sharding subsystem. - #1723 Enabled the route which returns the cost of a transaction:
/transaction/cost
- #1713 Added software version to the block header and check for it to be non-zero length and less than 10.
- #1714 Refactored the size check unmarshalizer in order to optimize how it works. Instead of doing a marshal operation on the received obj will try to do a type assertion to convert obj (type
interface{}
) in aSizer
type obj. If type assertion works fine new object of typeSizer
can return size in bytes of the received object. - #1721 Standardized the randez-vous strings to the format suggested by the libp2p team. The format will be in the form
/erd/kad/[version]
(such as/erd/kad/1.0.115
). - #1726 Implemented a grace period in which the node's rating won't be decreased after a hardfork event.
- #1553 Updated libp2p libraries to the newest released versions. Added prints in ContinuousKadDhtDiscoverer that will help the debugging process, added basic print capability for external libp2p libraries. Refactored netMessenger closing process. Now the instance will safely stop all launched go routines
Bug fixes:
- #1552 Hardfork fixes regarding the import and export mechansim.
- #1712 Fix new relevant issues found by running some linters supported by the GolangCI tool.
- #1715 Enable "put" functionality to new persister only after persister is created.
- #1554 Moved
minNumPeersToConsider
andminNumOfPeersToConsiderBlockValid
to config.toml file. - #1721 Fixed the bad config passing on the peerDiscoverer implementations, updated refresh interval for the seeder node.
- #1726 Fixed start in epoch config for the
minNumPeersToConsider
andminNumOfPeersToConsiderBlockValid
parameters. - #1537 Unstaked nodes were not actually removed from the network. Leaving nodes were set to observer status and moved to shard zero and it appeared they are reshuffled. Priority given to unstake nodes before rating leaving nodes.
- #1724 Fixed the situation when unbond could work if the node is still a validator (because of the insufficient number of new nodes that would have replaced the leaving nodes)
- #1729 Fixed the restart with DB issue that was caused by the wrongly placed
set epoch for put
call. - #1725 Minor fixes in local testnet scripts and in SC address prints.
- #1728 Added checks for epoch start configuration when starting the bootstrap component. Otherwise, this could occur in late errors.
Note: This release should start with a new DB