-
Notifications
You must be signed in to change notification settings - Fork 48
feat(monero): Remote node load balancing #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 17 commits
df6313a
384bf3d
1fd23ba
c703fc6
260b208
299764e
31240ac
8a6d994
b82d349
bf6ae52
14d926f
5a24113
31be45f
2db0efd
482d026
0b08ca4
418db19
dec3631
4e02a5c
86807f8
c2bbd86
7894581
c103043
241560b
6a1d19b
5058319
67b8b08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,6 @@ target/ | |
| .claude/settings.local.json | ||
| .DS_Store | ||
| build/ | ||
| release-build.sh | ||
| cn_macos | ||
| target-check | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||||||||||||||||||
| #!/bin/bash | ||||||||||||||||||||||
| set -eu | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| if [ "$#" -ne 1 ]; then | ||||||||||||||||||||||
| echo "Usage: $0 <version>" | ||||||||||||||||||||||
| exit 1 | ||||||||||||||||||||||
| fi | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| VERSION=$1 | ||||||||||||||||||||||
| TODAY=$(date +%Y-%m-%d) | ||||||||||||||||||||||
| echo "Bumping version to $VERSION" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Using sed and assuming GNU sed syntax as this is for the github workflow. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Update version in tauri.conf.json | ||||||||||||||||||||||
| sed -i 's/"version": "[^"]*"/"version": "'"$VERSION"'"/' src-tauri/tauri.conf.json | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Update version in Cargo.toml files | ||||||||||||||||||||||
| sed -i -E 's/^version = "[0-9]+\.[0-9]+\.[0-9]+"/version = "'"$VERSION"'"/' swap/Cargo.toml src-tauri/Cargo.toml | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Update changelog | ||||||||||||||||||||||
| sed -i "s/^## \\[Unreleased\\]/## [$VERSION] - $TODAY/" CHANGELOG.md | ||||||||||||||||||||||
| # Add a new [Unreleased] section at the top | ||||||||||||||||||||||
| sed -i '3i## [Unreleased]\n' CHANGELOG.md | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
Comment on lines
+21
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Fix CHANGELOG insertion syntax - sed -i '3i## [Unreleased]\n' CHANGELOG.md
+ sed -i '3i\
## [Unreleased]
' CHANGELOG.md📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||
| echo "Updated all files to version $VERSION." | ||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Include the new
monero-rpc-poolcrate in Cargo.toml updatesThe script only bumps versions in
swap/Cargo.tomlandsrc-tauri/Cargo.toml; it omits the newly addedmonero-rpc-pool/Cargo.toml. Extend the invocation or glob all crates to ensure every workspace member is updated.For example:
📝 Committable suggestion
🤖 Prompt for AI Agents