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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants