Skip to content

[EAN-Issue-2531] Updated supra-extensions and bindings to support evm-automation flow in supra-chain#18

Open
aregng wants to merge 4 commits intotask/issue-2528from
task/issue-2531
Open

[EAN-Issue-2531] Updated supra-extensions and bindings to support evm-automation flow in supra-chain#18
aregng wants to merge 4 commits intotask/issue-2528from
task/issue-2531

Conversation

@aregng
Copy link

@aregng aregng commented Mar 6, 2026

Relates to: https://github.com/Entropy-Foundation/smr-moonshot/issues/2531

  • Added helper solidity scripts to preform governance actions for localnet

…-automation flow in supra-chain

- Added helper solidity scripts to prerform governance actions for localnet
#[derive(Clone, Debug, Getters)]
pub struct AutomatedTransactionBuilder {
block_height: Option<u64>,
chain_id: Option<ChainId>,

Choose a reason for hiding this comment

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

Is there any reason why gas_price_cap is not an Option<u128> in the builder but other fields are? @aregng

Copy link
Author

@aregng aregng Mar 10, 2026

Choose a reason for hiding this comment

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

Initial reasoning having it non-optional does not make sense, so I have made it optional as well.

self
}
pub fn gas_price_cap(mut self, gas_price_cap: u128) -> Self {
pub fn with_gas_price_cap(mut self, gas_price_cap: u128) -> Self {

Choose a reason for hiding this comment

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

is there a reason why gas_price_cap is not an Option<u128>?

#
# - run this script
#
password="Blue!Tiger99@Moon.PROFILE"

Choose a reason for hiding this comment

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

@aregng, is this intentional? If this script will eventually be used for others then perhaps use a different mechanism , say .env, rather than keeping pwd here.

Copy link
Author

Choose a reason for hiding this comment

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

This script is/was a quick solution for the local tests, for the testnet and mainnet more comprehensive set of tools or a tool will be created referencing the current bash and solidity scripts and the preference would be to have them as part of the foundation-multisig repo where all governance/foundation related actions are developed and reside rather than here.
But in any case I have updated this script as well not to have password hardcoded.

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.

2 participants