atomone-hub / atomone

AtomOne chain software
Apache License 2.0
14 stars 5 forks source link

chore(x/gov): move law and amendment proposals to the new `v1` system that uses `sdk.Msg` #20

Closed giunatale closed 1 month ago

giunatale commented 1 month ago

Changes the law and constitution amendments from being a copy of the legacy text proposal to being compliant with the v1 system based on sdk.Msgs. The keeper handlers for now do a no-op in both cases.

Since there is no stateful validation possible, the best thing to do for now is to have the law and amendment proposals be empty and let the content be purely in the summary, i.e. same as "text proposals" for gov/v1.