diff --git a/pkg/core/native/eligere.go b/pkg/core/native/eligere.go index 8ce7fdd..7acdef9 100644 --- a/pkg/core/native/eligere.go +++ b/pkg/core/native/eligere.go @@ -865,16 +865,12 @@ func (e *Eligere) executeLawAmendment(ic *interop.Context, proposal *state.Propo // The Lex contract's ratifyAmendment method will be called // This creates or updates a law based on the proposal if e.Lex != nil { - // Determine law category based on proposal category + // All amendments create Federal-level laws + // Constitutional rights (RightLife, RightLiberty, etc.) are immutable in code + // Constitutional proposals require 67% supermajority but still create Federal laws lawCategory := state.LawCategoryFederal - if proposal.Category == state.ProposalCategoryConstitutional { - // Note: Constitutional rights are immutable in Lex - // This would create a constitutional-level law, not modify core rights - lawCategory = state.LawCategoryConstitutional - } // Call Lex to ratify the amendment - // The Lex contract needs to have ratifyAmendment method added e.Lex.RatifyAmendmentInternal(ic, proposal.ID, proposal.ContentHash, lawCategory, 0) } }