Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@derekchen745
Copy link
Contributor

Ticket: SC-4630

Comment on lines 680 to 688
if (transactionType !== undefined) {
if (!isCeloStaking && CELO_STAKING_METHOD_IDS.has(methodId)) {
transactionType = TransactionType.ContractCall;
}
}

if (transactionType === undefined) {
transactionType = TransactionType.ContractCall;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

this could be simplified to something like

if (!isCeloStaking && CELO_STAKING_METHOD_IDS.has(methodId) || transactionType === undefined) {
  transactionType = TransactionType.ContractCall;
}

although ideally we shouldn't need CELO-specific logic here at all

@derekchen745 derekchen745 force-pushed the derek/SC-4630-fix-weth-unwrap branch from bdf58bb to 88de32b Compare December 19, 2025 19:43
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.