Skip to content

Conversation

@jalbrekt85
Copy link
Collaborator

this allows us to pass in simple tuple params instead of having to json serialize the param when interfacing with safetxbuilder

so we can do this:

campaign_params = (chain_id, gauge_address, ...,)
campaign_manager.createCampaign(campaign_params, ...)

instead of this

campaign_params = json.dumps([str(chain_id), gauge_address, ...,], separators=(',', ':'))
campaign_manager.createCampaign(campaign_params, ...)

Copy link
Collaborator

@gosuto-inzasheru gosuto-inzasheru left a comment

Choose a reason for hiding this comment

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

lgtm!

@gosuto-inzasheru gosuto-inzasheru merged commit cc3facf into main Oct 14, 2025
7 checks passed
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