Alberto Benegiamo
Alberto Benegiamo
## Why this should be merged MerkleDB is likely to require dropping the use of `Chain.GetTx` in txs execution in favour of smaller, more specific data, **whose lifetime is bounded...
## Why this should be merged ## How this works ## How this was tested
## Why this should be merged It shouldn't! ## How this works Just trying to rebuild P-chain state on top of the MerkleDB. This requires also starting to define what...
## Why this should be merged We relax the lenght requirement of NodeID type and allow avalanche go to smoothly handle NodeID of potentially different sizes and be more future...
## Why this should be merged We have some technical documentation stored in `platformvm` package, which was not visible enough, nor updated. This PR start to tackle these issues. ##...
## Why this should be merged This is the first of three PRs which simplify UT creation in P-chain. This PR centralize genesis creation in UTs. Genesis creation is moved...
## Why this should be merged In https://github.com/ava-labs/avalanchego/pull/2107 we moved to a `genesistest` the machinery to build UTs genesis. Here we keep on going with `vm.Config` and `vm.Ctx`, moving them...
## Why this should be merged P-chain unit tests needs to be easier to maintain. Specifically I currently find non-trivial to understand what specific fork a unit test is testing...
## Why this should be merged Building setup for unit test in platformVm is cumbersome. Once of the reasons is that we use genesisBytes to initialize the platformVM state. This...
## Why this should be merged ## How this works ## How this was tested