Skip to content

Conversation

@ginesdt
Copy link
Contributor

@ginesdt ginesdt commented Sep 23, 2025

When an ERC20 token was selected as the payment method, its decimals were not being updated correctly and defaulted to 18. This caused failures (wrong allowance and wrong amount when creating job) for tokens that use a different number of decimals. E.g., 6 decimals for EURC. This PR ensures that the decimals are refreshed whenever the token address changes.

Fixes #473

@ginesdt ginesdt merged commit 16d13f3 into master Sep 23, 2025
3 checks passed
@ginesdt ginesdt deleted the fix-erc20-jobs branch September 23, 2025 12:11
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.

Can't create a job with ERC20 as payment

2 participants