gear-tech / gear

Web3 Ultimate Execution Engine
https://gear-tech.io
GNU General Public License v3.0
233 stars 104 forks source link

Update pallet runtime mocks config close to real values #3191

Open ukint-vs opened 1 year ago

ukint-vs commented 1 year ago

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.

grishasobol commented 1 year ago

Corresponding https://github.com/gear-tech/gear/issues/2977