github multiversx/mx-chain-mainnet-config v1.1.37.0

3 years ago

Release v1.1.37.0 is out 🚀

Release description:
Binary Update v1.1.37

What's new:
#2703 Creation of the assessment tool that will be used in the host benchmark process:

  • #2701 Added new tool's boilerplate code + hosts parameters info.
  • #2740 Refactored integrationTests/vm area to make the code reusable.
  • #2746 Added benchmarks for assessment tools and further refactored integration tests.
  • #2754 Added csv output support for host info and benchmarks results in host assessment tool.

#2747 Made the metrics available in /network/economics endpoint persistent.
#2741 Interceptors small refactor: extracted the common functionality in a baseDataInterceptor as to decrease the number of parameters passed on each common function, minor refactoring on the RegisterMessageProcessor function as to return more information on the error.
#2757 Removed utils reference in integration tests to TestScProcessor.
#2742 Added APIBlock extra fields and checks.
#2762 Implemented block execution invariant as a final check after a block is created or processed (this should avoid situation when a cross shard miniblock would generate a stuck situation in destination shard due to gas limit exceed generated by an old/new bug introduced.
#2759 Added Merkle proofs support: Added GetProof() and VerifyProof() methods for the trie. Removed some methods from the trie interface, as they were duplicated in StorageManager.
#2784 Added unit tests and the new Arwen version.
#2778 Added github action for codecov. This new action will generate a report with code coverage
#2783 Added unit tests for block execution invariant.
#2798 Updated the libp2p libraries to the latest version and adapted the code accordingly.
#2782 Added the first batch of trie sync optimization: tweaked the NumConcurrentTrieSyncers parameter, added MaxHardCapForMissingNodes parameter in order to avoid OOM exceptions.
#2805 3-rd party libraries version bump for: gogo-protobuf, urfave-cli, mitchellh-mapstructure, btcsuite, golang-protobuf, pelletier-toml
#2781 Activated the transaction simulation endpoint.
#2815 Implemented the address/{address}/keys endpoint that will return a map containing all keys and their values for an account. The value is represented in hexadecimal encoding.
#2811 System delegation improvements: added delegation total rewards for users, reDelegateRewards on top of delegation cap feature, set and get the metadata, added set on and off reDelegateRewards on top of delegation cap, deleted list of delegators, added number of users instead of it, improved automatic delegators deletion when the delegators won't hold funds.
#2814 SC query response refactor.
#2777 Removed the elasticsearch indexer implementation from this repository.
#2826 Renamed the delegation meta data fields.
#2771 Added some invariants for end of epoch economics.
#2827 Extended API route /transaction/simulate with an extra query parameter checkSignature in order to simulate a transaction without the correct signature.
#2812 Moved the transaction integrity checks to TransactionHandler interface.
#2817 Implemented redundancy mechanism for nodes.
#2835 Bump github.com/libp2p/go-libp2p-core from 0.8.0 to 0.8.5.
#2833 Made the heartbeat sender to use another BLS key when the node is running in redundancy mode with the main node activated.
#2775 Improved block API package test coverage.
#2840 Referenced the new elastic-indexer-go version and made the according changes.
#2854 Implemented delegation manager system smartcontract config change option, added tests.
#2878 Added new feature to unStake and unBond from additional queue without waiting the unBond period. The same goes for unStakeTokens and unBondTokens if there are no more nodes registered for the given validator.
#2881 Updated semi-integration tests framework to work also with the system smart contracts from metachain. Added semi-integration tests for the validators system smart contract.
#2886 API routes endpoint changes: removed /network/total-staked endpoint, added the values returned by /total-staked endpoint in /network/economics, added total topUp value in /network/economics.
#2894 Added metric rounds per epoch in the API route endpoint /network/config.
#2907 UnStake improvements: removed unnecessary fields in delegation struct, replaced unbonding period from nonce to epoch as to allow easier computation.

Bug fixes:
#2692 Fixed the ShardCoordinator.ComputeIdFromBytes function.
#2699 Fixed the local scripts and the default gas schedule files.
#2722 Removed some useless code in baseBlockTrack.go file.
#2731 Fixed linter issues on the production and testing code.
#2748 Made the linter require changes only to the new code + removed log colors.
#2736 Minor fix on determining the next epoch in early start of epoch event when triggering hardfork.
#2713 Fixes for economics v2 when some differences in the end of epoch computed rewards and the distributed rewards appeared. Fixed the dust from integer division applied on the leader fees for each block proposer. 10% of the fees are accumulated for each produced block.
#2752 Update go version on docker images.
#2755 Fixed seldom failing unit tests in heartbeat and p2p packages.
#2750 Added fix for gasRemaining computation in case of async callback and ESDT transfer.
#2760 Fixed the percentage of value accuracy and backwards compatibility in end of epoch economics computation.
#2765 Fixed the wrong call of built in functions when executing transactions on the metachain.
#2766 Changed integration test for the ESDT burn edge case, added new asserts.
#2769 Fixed hardfork integration tests by using a temporary directory for each test. Fixed the wrong generation of negative-value rewards transactions by using a more appropriate economics configuration when building the TestProcessorNode instances
#2786 Tests fixes after enabling code coverage tool. Excluded mock directory from code coverage analysis.
#2806 Fixed bad test detected by the code coverage tool.
#2809 More tests fixes that triggered false negative code coverage issues.
#2820 Fixed the modifyTotalDelegationCap for infinite amount.
#2824 Fixed a heartbeat unit test for code coverage tool.
#2832 Fixed the situation when the TotalCumulatedRewards rewards did not contain the claimRewards value.
#2838 Fixed another heartbeat unit test for code coverage tool.
#2837 Fixed the unStake from waiting operation at end of epoch.
#2836 Fixed the /transaction/cost endpoint: the formula used to compute gasLimit for the provided transaction was wrong.
#2856 Fixed the code coverage percentage computation by excluding the proto generated files.
#2863 Fixed a node unit test for code coverage tool.
#2861 Fixed backwards compatibility in intermediate results.
#2872 Added log.Error when the gas schedule fails to load in systemSCFactory.go. Added new gas schedule version file. Fixed local testnet scripts.
#2903 Fixed the minimum unstake value.

Don't miss a new mx-chain-mainnet-config release

NewReleases is sending notifications on new releases.