Open ukint-vs opened 1 year ago
pallets/*/src/mock.rs
To test our pallets we need to use configs that are close to real runtime and update tests accordingly. For example ExistentialDeposit must be much bigger than 500 because our mocked weights are equal to production weights.
ExistentialDeposit
Corresponding https://github.com/gear-tech/gear/issues/2977
File Location(s)
pallets/*/src/mock.rs
Proposal
To test our pallets we need to use configs that are close to real runtime and update tests accordingly. For example
ExistentialDeposit
must be much bigger than 500 because our mocked weights are equal to production weights.