Skip to content

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
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants