Skip to content

[WIP]: srv3 upgrade-voting script#1715

Draft
krogla wants to merge 9 commits intofeat/staking-router-3.0from
feat/srv3-voting-script
Draft

[WIP]: srv3 upgrade-voting script#1715
krogla wants to merge 9 commits intofeat/staking-router-3.0from
feat/srv3-voting-script

Conversation

@krogla
Copy link
Copy Markdown
Member

@krogla krogla commented Mar 14, 2026

SRv3, CSMv3, CMv2

  • upgrade deploy script
  • voting script

Comment on lines +701 to +708
function getAgentEVMScript() public view returns (bytes memory) {
VoteItem[] memory voteItems = getVoteItems();
CallsScriptBuilder.Context memory scriptBuilder = CallsScriptBuilder.create();
for (uint256 i = 0; i < voteItems.length; ++i) {
scriptBuilder.addCall(voteItems[i].call.to, voteItems[i].call.data);
}
return scriptBuilder.getResult();
}

Check warning

Code scanning / Slither

Unused return Medium

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