Skip to content

Commit

Permalink
Merge pull request #629 from oasisprotocol/pro-wh/bugfix/genesissep
Browse files Browse the repository at this point in the history
consensus: remove separator comment queries
  • Loading branch information
pro-wh authored Feb 8, 2024
2 parents a103b3f + bb3a3e7 commit fd00b8d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions analyzer/consensus/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func (mg *GenesisProcessor) Process(document *genesis.Document, nodesOverride []

func (mg *GenesisProcessor) addRegistryBackendMigrations(document *genesis.Document, nodesOverride []nodeapi.Node) (queries []string, err error) {
// Populate entities.
queries = append(queries, "-- Registry Backend Data\n")
query := `INSERT INTO chain.entities (id, address)
VALUES
`
Expand Down Expand Up @@ -219,7 +218,6 @@ VALUES
//nolint:gocyclo
func (mg *GenesisProcessor) addStakingBackendMigrations(document *genesis.Document) (queries []string, err error) {
// Populate accounts.
queries = append(queries, "-- Staking Backend Data\n")

// Populate special accounts with reserved addresses.
query := `-- Reserved addresses
Expand Down Expand Up @@ -469,7 +467,6 @@ VALUES

func (mg *GenesisProcessor) addGovernanceBackendMigrations(document *genesis.Document) (queries []string) {
// Populate proposals.
queries = append(queries, "-- Governance Backend Data\n")

if len(document.Governance.Proposals) > 0 {
// TODO: Extract `executed` for proposal.
Expand Down

0 comments on commit fd00b8d

Please sign in to comment.