Skip to content

SDM: Update feature toggles when interop hardfork is renamed to lagoon #21129

Description

@geoknee

I.e. after this PR lands #21105.

// IsSDM gates Sequencer-Defined Metering. When this returns false, span batches
// carrying PostExec transactions are rejected during derivation.
func (c *Config) IsSDM(time uint64) bool {
return c.IsInterop(time)
}

We should also ensure consistency between op-reth and op-node, kona-node

/// Whether SDM post-exec transactions are enabled for this node.
///
/// SDM is not scheduled yet. Keep this disabled outside of explicit
/// integration-test setups.
#[doc(hidden)]
pub sdm_enabled: bool,

/// Returns true if SDM post-exec transactions are active at the given timestamp.
///
/// SDM is currently unscheduled and must not activate as part of Jovian or Karst.
#[must_use]
pub const fn is_sdm_active(&self, _timestamp: u64) -> bool {
false
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions