gear-tech / gear

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

Correct runtime constants for tests #3665

Open breathx opened 8 months ago

breathx commented 8 months ago

File Location(s)

pallets/**/mock.rs

Proposal

Set real existential deposit (minimum balance) for all mocked runtimes. Real value is 10_000_000_000_000. This will break A LOT of tests: they should be fixed. All of the demos we use should send value in [0]&[ED, +inf), all extrinsics are same, etc.

Extra note: feel free to set proper BlockGasLimit for tests as well.

breathx commented 8 months ago

I guess @thecaralice can pick it up