-
Notifications
You must be signed in to change notification settings - Fork 2
Update alloy #333
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
Update alloy #333
Changes from all commits
79bafe7
10e2d7e
89c5670
06003f8
efeb80c
2c2564a
b7b9203
fadbdfe
b5cc233
7c355bc
862d28b
2c1d71d
66d25ef
ab9288e
6a29dc9
ffd2c54
4359b73
f1fa512
955a67a
051d98a
f17bb0a
3de0ef9
84b63e0
564b363
575bf64
c63e9e7
c960930
e96364d
b63c295
d3141a6
a2e6a4e
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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [target.wasm32-unknown-unknown] | ||
| # Required to make the rand feature of alloy work for wasm32-unknown-unknown | ||
| rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""] |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then | ||
| URL=https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc | ||
| HASH=sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM= | ||
| source_url "$URL" "$HASH" | ||
| fi | ||
|
|
||
| watch_file flake.lock | ||
| watch_file flake.nix | ||
|
|
||
| use flake . --verbose --show-trace | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| name: Git is clean | ||
| on: [push] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.ref }}-git-clean | ||
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
|
|
||
|
Comment on lines
+4
to
+7
Contributor
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. 🧹 Nitpick (assertive) Review concurrency configuration 🤖 Prompt for AI Agents
Contributor
Author
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.
Contributor
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. @0xgleb You're absolutely right! Consistency between workflows is more important than the minor readability difference, and since the concurrency group names are internal to GitHub's system, using nods thoughtfully ✏️ Learnings added
|
||
| jobs: | ||
| git-clean: | ||
| runs-on: ubuntu-latest | ||
|
|
@@ -37,4 +41,4 @@ jobs: | |
| - run: nix develop -c forge fmt | ||
|
|
||
| # Check if the repo is clean after generating pointers and formatting. | ||
| - run: git diff --exit-code | ||
| - run: git diff --exit-code | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| name: Rainix CI | ||
| on: [push] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.ref }}-rainix | ||
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
|
|
||
|
Comment on lines
+4
to
+7
Contributor
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. 🧹 Nitpick (assertive) Review concurrency configuration 🤖 Prompt for AI Agents
Contributor
Author
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.
Contributor
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. @0xgleb Understood! I see you prefer using 🧠 Learnings used |
||
| jobs: | ||
| rainix: | ||
| strategy: | ||
|
|
@@ -55,12 +59,7 @@ jobs: | |
| env: | ||
| ETH_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }} | ||
| ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }} | ||
| DEPLOY_BROADCAST: '' | ||
| DEPLOY_VERIFIER: '' | ||
| DEPLOY_BROADCAST: "" | ||
| DEPLOY_VERIFIER: "" | ||
| DEPLOY_METABOARD_ADDRESS: ${{ vars.CI_DEPLOY_SEPOLIA_METABOARD_ADDRESS }} | ||
| CI_FORK_SEPOLIA_BLOCK_NUMBER: ${{ vars.CI_FORK_SEPOLIA_BLOCK_NUMBER }} | ||
| CI_FORK_SEPOLIA_DEPLOYER_ADDRESS: ${{ vars.CI_FORK_SEPOLIA_DEPLOYER_ADDRESS }} | ||
| CI_DEPLOY_SEPOLIA_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }} | ||
| CI_FORK_POLYGON_RPC_URL: ${{ secrets.CI_FORK_POLYGON_RPC_URL || vars.CI_FORK_POLYGON_RPC_URL }} | ||
| CI_FORK_BSC_RPC_URL: ${{ secrets.CI_FORK_BSC_RPC_URL || vars.CI_FORK_BSC_RPC_URL }} | ||
| run: nix develop -c ${{ matrix.task }} | ||
| run: nix develop -c ${{ matrix.task }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| { | ||
| "editor.rulers": [80] | ||
| "editor.rulers": [ | ||
| 80 | ||
| ], | ||
| "solidity.compileUsingRemoteVersion": "v0.8.25+commit.b61c2a91", | ||
| "solidity.formatter": "forge" | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
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.
🧹 Nitpick (assertive)
Consider the trade-off of verbose output in development.
The
--verbose --show-traceflags are helpful for debugging but might create noisy output during regular development. Consider if this level of verbosity is needed by default.🤖 Prompt for AI Agents
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.
nix/direnv can sometimes take a while to load and without
--verboseit's not clear whether anything is happening or if it's stuck.--show-tracechanges output only in case of an errorThere 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.
@0xgleb Thank you for the clarification! That makes perfect sense - having visual feedback during potentially slow nix/direnv loading is important for user experience, and the trace information is valuable for debugging errors without affecting normal operation.
✏️ Learnings added