publish: fix(accounts): actually commit states/register code

generated from commit ec149a571a1780faff77afa2857c1855dad8d04b