Skip to content

Tempo - add cs to change default fee token - #20510

Merged
flodesi merged 9 commits into
developfrom
flodesi/tempo-set-fee-token
Dec 4, 2025
Merged

flodesi merged 9 commits into
developfrom
flodesi/tempo-set-fee-token

Conversation

@flodesi

@flodesi flodesi commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@flodesi flodesi changed the title Tempo - add cs to change default fee token [DO NOT MERGE] Tempo - add cs to change default fee token Dec 2, 2025
@github-actions

github-actions Bot commented Dec 2, 2025 •

Copy link
Copy Markdown
Contributor

CORA - Pending Reviewers

All codeowners have approved! ✅

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@trunk-io

trunk-io Bot commented Dec 3, 2025 •

Copy link
Copy Markdown

Static Badge   Static Badge   Static Badge   Static Badge

View Full Report ↗︎ ⋅ Docs

return out, fmt.Errorf("abi pack: %w", err)
}

data = append(data, encodedArgs...)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

very minor nit, I think there is a slightly better way to do this, using abi.pack or something like that. but this is fine as well

Comment on lines +32 to +37
chain, err := findChainBySelector(env, cfg.ChainSel)
if err != nil {
return out, fmt.Errorf("error: %w finding chain by selector: %d", err, cfg.ChainSel)
}

evmChain, ok := chain.(evm.Chain)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you can simply do, instead of findChainBySelector method & casting
env.BlockChains.EVMChains()[chainSelector]

@cl-sonarqube-production

Copy link
Copy Markdown

@flodesi flodesi changed the title [DO NOT MERGE] Tempo - add cs to change default fee token Tempo - add cs to change default fee token Dec 4, 2025
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.

4 participants