Inheritance is a major problem if you have assets in cryptocurrency.
Frankly, nobody gives the private key to anybody, even not give to wife or relatives.
We all know that when we will die, all our assets in crypto will not transfer to heirs-inheritors.
Have some legal ways to apply to get assets as heir. But it can take a long time and can be not easy if the assets in overseas crypto exchanges or in a web wallet. Heirs will also have to pay inheritance tax.

A small add-on can solve this problem. I am not a smart contract developer but I guess that developers can do.
My idea is if a person's ERC20 wallet will have no transaction for 1 year, all assets will automatically transfer to previously defined other ETH wallet which is heir's wallet.
I am not a developer or tech guy but I think that a smart contract can make auto transfers to previously defined account if there will be no transaction within 1 year.

We will all pass away but our families can use our wealth when we die.