Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve x/evm genesis state testing (#69)
* refactor param test cases to allow sharing up to genesis tests; add extra param sorting and uniqueness tests; remove legacy validations used for old param store; add enabled precompiles to params constructor and default params * refactor storage validations to prevent false positives; improve complexity of test cases; prevent access of key before validation; and use empty struct map for uniq checks * remove dead storage slice copy code; this test checked that the data was the same, however did not check it was actually a copy, so instead of improving tests, remove the unused code * use types_test package for genesis tests; refactor genesis account tests * update genesis tests to remove false positives; removed outdated tests that did not match test name; increase test coverage and confidence; refactor uniqueness check to use struct map and to not access account fields until after validations have run
- Loading branch information