Closed freak12techno closed 3 months ago
The StakingParamsFetcher
function has been enhanced to support assigning staking parameters to multiple consumer chains in addition to the original chain. This modification ensures that staking parameters are appropriately propagated across all relevant chains.
Files/Paths | Change Summary |
---|---|
pkg/fetchers/staking_params.go |
Added a loop in the StakingParamsFetcher function to handle multiple chains. |
sequenceDiagram
participant User
participant StakingParamsFetcher
participant OriginalChain
participant ConsumerChain1
participant ConsumerChain2
User->>StakingParamsFetcher: Fetch()
StakingParamsFetcher->>OriginalChain: Assign Parameters
loop for each ConsumerChain
StakingParamsFetcher->>ConsumerChain1: Assign Parameters
StakingParamsFetcher->>ConsumerChain2: Assign Parameters
end
StakingParamsFetcher-->>User: Parameters Assigned
In code so fine, a fetcher's task, To spread the params, a daunting ask, For every chain, both near and far, Parameters reach like guiding star. Through loops it flows, a seamless spree, Ensuring all with parity. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit