feat(cosmos): add configuration support for grain storage (#10326)