Skip to content

Conversation

@udityadav-supraoracles
Copy link

@udityadav-supraoracles udityadav-supraoracles commented Dec 10, 2025

This PR includes smart contracts, libraries, scripts and tests required by automation registry related to Entropy-Foundation/smr-moonshot#2523

Copy link

@aregng aregng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First round of comments.

/// Otherwise suspention is postponed until the end of the transition state.
/// Nothing will be done if automation cycle was already suspended, i.e. in READY state.
/// If native automation feature is enabled and automation lifecycle has been in READY state, then lifecycle is restarted.
function onNewCycle() public {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Move Automation side as chain feature flags where applied from epoch to epoch, the feature suspension was done in the expected natural way by implementing and calling on_new_epoch function during chain reconfiguration which was causing epoch-change as well.

With Evm Automation we do not have this option available. So I think feature total suspension should be rather immediate action run by governance.
In that case this function should be updated to be guarded by onlyOwner and also can be named as toggleAutomationFeature(bool enable)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the use of bool enable argument? We already have functions to enable/disable automation. How this function would be different?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the main reason of having controller and registry separate.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ethereum contracts have size limit of 24KB. The idea was to avoid exceeding the size limit by bifurcating the contracts.

@aregng aregng force-pushed the feature/automation_registry branch from 0bcdd7d to 11d5782 Compare December 16, 2025 19:52
@aregng aregng changed the base branch from feature/evm_automation to feature/blockmeta December 16, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants