State legislation could help pave the way for a public bank