multiversx / mx-sdk-py-cli

Python Command Line Tools and SDK for interacting with the MultiversX blockchain and dApps.
Other
48 stars 36 forks source link

Localnet: compatibility with Node 1.7 (Vega) #426

Closed andreibancioiu closed 4 months ago

andreibancioiu commented 4 months ago

Make mxpy localnet compatible with Vega release.

Simplification of genesis.json: no more legacy delegation

Simplification - no more legacy delegation. E.g. (excerpt from genesis.json):

{
        "nickname": "alice",
        "address": "erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th",
        "supply": "100000000000000000000000",
        "balance": "100000000000000000000000",
        "stakingvalue": "0",
        "delegation": {
            "address": "",
            "value": "0"
        }
    },

Simplification of config patching - enableEpochs.toml

Simplification - enableEpochs.toml entries are only minimally adjusted now (they were heavily adjusted before). All feature flags now correspond to: enableEpochs.toml.

Some implications (can lead to breaking changes in using mxpy localnet):