Closed jimmychu0807 closed 4 years ago
@JoshOrndorff
On this branch, I have written test to include pot initial minimum_balance into consideration. Test passes now. The main changes is in fn new_test_ext()
, there is also these lines:
crate::GenesisConfig {}
.assimilate_storage::<TestRuntime>(&mut t)
.unwrap();
being run. With this, it means min balance is indeed set properly in pot account.
But when running regularly, interacting using polkadot-JS app, if we query the pot account after purging a chain, we still see the pot amount start from 0 instead of the min balance.
Not sure where the bug is...
Good debugging work @jimmychu0807 This is a mystery to me as well.
close by #319
Initially raised in #308. This can be verified with using polkadot-js app to query the system:account of the charity account.
Verified at the following screenshots.