feat(cowswap): update EURe on GNOSIS#1309
Conversation
📝 WalkthroughWalkthroughThe changes update the token list for EURe on Gnosis Chain (chainId 100), renaming the existing entry to v1 and introducing a new v2 entry with a different contract address and accompanying metadata file. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@src/public/CowSwap.json`:
- Around line 1642-1656: Update the top-level metadata in CowSwap.json: set the
"timestamp" field to the current ISO-8601 timestamp (or current epoch time used
elsewhere in the file) and bump the top-level "version" object to reflect this
change (increment the patch number, or minor if your versioning policy requires)
so clients detect the updated token list; ensure you update the same
CowSwap.json that contains the modified tokens array (the new EURe entries).
| "symbol": "EURe", | ||
| "name": "Monerium EUR emoney", | ||
| "name": "Monerium EUR emoney v1", | ||
| "address": "0xcB444e90D8198415266c6a2724b7900fb12FC56E", | ||
| "decimals": 18, | ||
| "chainId": 100, | ||
| "logoURI": "https://files.cow.fi/token-lists/images/100/0xcb444e90d8198415266c6a2724b7900fb12fc56e/logo.png" | ||
| }, | ||
| { | ||
| "symbol": "EURe", | ||
| "name": "Monerium EUR emoney v2", | ||
| "address": "0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430", | ||
| "decimals": 18, | ||
| "chainId": 100, | ||
| "logoURI": "https://files.cow.fi/token-lists/images/100/0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430/logo.png" | ||
| }, |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
find .github -type f -name "*.yml" -o -name "*.yaml" | head -20Repository: cowprotocol/token-lists
Length of output: 568
🏁 Script executed:
rg -l "timestamp|version|CowSwap" .github/workflows/ --type yamlRepository: cowprotocol/token-lists
Length of output: 235
🏁 Script executed:
rg -n "timestamp|version" src/public/CowSwap.json -A 2 -B 2 | head -30Repository: cowprotocol/token-lists
Length of output: 193
🏁 Script executed:
cat -n .github/workflows/processRequest.yml | head -100Repository: cowprotocol/token-lists
Length of output: 4956
🏁 Script executed:
cat -n .github/workflows/executeAction.yml | head -100Repository: cowprotocol/token-lists
Length of output: 3836
🏁 Script executed:
rg -n "timestamp|version" scripts/ -A 3 -B 3 --type javascript | head -50Repository: cowprotocol/token-lists
Length of output: 101
🏁 Script executed:
rg -n "workflowHelper" --type json --type yamlRepository: cowprotocol/token-lists
Length of output: 146
🏁 Script executed:
fd -t f "package.json|tsconfig|webpack|build" src/Repository: cowprotocol/token-lists
Length of output: 49
🏁 Script executed:
cat -n package.json | head -80Repository: cowprotocol/token-lists
Length of output: 4457
🏁 Script executed:
cat -n src/scripts/workflow_helper.pyRepository: cowprotocol/token-lists
Length of output: 4485
Update token list metadata (timestamp/version) in this PR.
The automation that processes token additions/removals does not update the top-level timestamp and version fields in CowSwap.json—it only modifies the tokens array. Clients rely on these fields to detect updates, so you'll need to manually bump them in this PR.
🤖 Prompt for AI Agents
In `@src/public/CowSwap.json` around lines 1642 - 1656, Update the top-level
metadata in CowSwap.json: set the "timestamp" field to the current ISO-8601
timestamp (or current epoch time used elsewhere in the file) and bump the
top-level "version" object to reflect this change (increment the patch number,
or minor if your versioning policy requires) so clients detect the updated token
list; ensure you update the same CowSwap.json that contains the modified tokens
array (the new EURe entries).
Summary
Add
v1suffix to EURe v1Add
v2EURe with thev2suffixSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.