Skip to content

Consider adding a rollup type to header in order to choose validation rule to apply #1042

Closed

Description

@Manav-Aggarwal
          I really don't like those lines. It's exiting fast, and IMHO is very error prone. In general, I would like to see something like:
switch h.rollupType() {
	case based:
		// validation for based rollup
	case optimistic:
		// validation for optimistic rollup
	// ...
}

Originally posted by @tzdybal in #1026 (comment)

Activity

  1. moved this from Backlog to Todo in Evolveon Sep 7, 2023
  2. added
    T:code-hygiene
    on Sep 8, 2023
  3. Manav-Aggarwal commented on Jun 28, 2024

    @Manav-Aggarwal
    MemberAuthor

    Removed when enforcing centralized sequencer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:code-hygiene

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions