zero-chain
zero-chain copied to clipboard
Make the new and dead accounts based on conf_transfer balances
Fix the accounts status(live or dead) not to be depending on balance module. https://github.com/LayerXcom/zero-chain/blob/3df39dfee20b82dacb6b96004dbde0f13795d59c/runtime/src/lib.rs#L150
In balance module, IsDeadAccount
is implemented here:
https://github.com/paritytech/substrate/blob/3f70d967e9d674bb029c35d547e397a634cf4b02/srml/balances/src/lib.rs#L1073-L1080
substrate再キャッチあっぽしながら勧めている