Skip to content

Conversation

dimriou
Copy link
Contributor

@dimriou dimriou commented Aug 12, 2025

No description provided.

Comment on lines 235 to 240
info := params["info"]
if len(info) != 2 {
return nil, fmt.Errorf("incorrect size for info: %v", info)
}
to := common.HexToAddress(info[0]) // metacall address
dApp := common.HexToAddress(info[1])
Copy link

@LunkRat LunkRat Aug 19, 2025

Choose a reason for hiding this comment

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

Are we sure that an array of strings is the best design here? The worry about this design is that the positional requirements in the array are hard to validate and track across deployment systems and tooling.

One alternative could be to use a TOML table with named params for to and dApp, maybe like the below?

[relayConfig.dualTransmission.meta.info]
to = "0x000000..." # metacall address
dApp = "0x000000..."

@dimriou dimriou changed the base branch from oev-393_metaclient to develop August 25, 2025 12:01
Copy link
Contributor

Static analysis results are available

Hey @dimriou, you can view Slither reports in the job summary here or download them as artifact here.
Please check them before merging and make sure you have addressed all issues.

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