Skip to content

Commit e2477a9

Browse files
Remove the Goldsky CLI from rainix.
Its live consumers now deploy with graph deploy to Ormi, and subgraph-deploy never called it. Drop the derivation, its place in subgraph-shell and the default shell, the check-shell smoke test, the README pin, and the sol-shell slim assertion that only existed because it was in the default shell. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8c24a58 commit e2477a9

4 files changed

Lines changed: 3 additions & 44 deletions

File tree

‎.github/workflows/check-shell.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- run: nix develop --command cargo release --version
3535
- run: nix develop --command flamegraph --help
3636
- run: nix develop --command graph --version
37-
- run: nix develop --command goldsky --version
3837
- run: nix develop --command yq --version
3938
- run: nix develop --command gh --version
4039
- run: nix develop --command default-shell-test

‎README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@ candidates at all is left exactly as it is today.
545545
- Solidity: solc 0.8.25
546546
- Foundry: via foundry.nix
547547
- Graph CLI: 0.69.2
548-
- Goldsky CLI: 13.3.4
549548
550549
## License
551550

‎flake.nix‎

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -148,38 +148,6 @@
148148
'';
149149
};
150150

151-
# Kept for consumers that still invoke the Goldsky CLI directly
152-
# (gildlab/offchainAssetVault-subgraph). subgraph-deploy targets Ormi.
153-
goldsky = pkgs.stdenv.mkDerivation rec {
154-
pname = "goldsky";
155-
version = "13.3.4";
156-
src =
157-
let
158-
release-name = "13.3.4";
159-
system-mapping = {
160-
x86_64-linux = "linux";
161-
x86_64-darwin = "macos";
162-
aarch64-darwin = "macos";
163-
};
164-
system-sha = {
165-
x86_64-linux = "sha256:1wg09vz652hv3hb0w7mx7hjxm00c857h2a8kd2vj11wnik8gh73m";
166-
x86_64-darwin = "sha256:048w06x56lk84h9x8q2jf7mdxx8lyzd9nrkxsmfkj39rns1nr4yk";
167-
aarch64-darwin = "sha256:048w06x56lk84h9x8q2jf7mdxx8lyzd9nrkxsmfkj39rns1nr4yk";
168-
};
169-
in
170-
builtins.fetchurl {
171-
url = "https://cli.goldsky.com/${release-name}/${system-mapping.${system}}/goldsky";
172-
sha256 = system-sha.${system};
173-
};
174-
buildInputs = [ ];
175-
phases = [ "installPhase" ];
176-
installPhase = ''
177-
mkdir -p $out/bin
178-
cp $src $out/bin/goldsky
179-
chmod +x $out/bin/goldsky
180-
'';
181-
};
182-
183151
# rainix-curated prettier bundle: a single nix-built node_modules
184152
# tree containing prettier + the standardized plugins, plus a
185153
# .prettierrc.json picked up via PRETTIER_BUNDLE_DIR. Consumers
@@ -773,18 +741,16 @@
773741
'';
774742
};
775743

776-
# Slim shell for subgraph repos: node + the-graph + goldsky +
777-
# subgraph-tasks. No rust, no foundry, no sqlite/yq/age. Lets
778-
# consumers avoid the heavy default closure when CI is just
779-
# subgraph-test.
744+
# Slim shell for subgraph repos: node + the-graph + subgraph-tasks. No
745+
# rust, no foundry, no sqlite/yq/age. Lets consumers avoid the heavy
746+
# default closure when CI is just subgraph-test.
780747
subgraph-shell = pkgs.mkShell {
781748
buildInputs =
782749
node-build-inputs
783750
++ subgraph-tasks
784751
++ common-shell-inputs
785752
++ [
786753
the-graph
787-
goldsky
788754
];
789755
shellHook = ''
790756
${pre-commit.shellHook}
@@ -802,7 +768,6 @@
802768
++ common-shell-inputs
803769
++ [
804770
the-graph
805-
goldsky
806771
pkgs.sqlite
807772
pkgs.yq-go
808773
pkgs.age

‎test/bats/devshell/sol-shell/slim.test.bats‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ assert_not_from_nix_store() {
3636
assert_not_from_nix_store graph
3737
}
3838

39-
@test "goldsky should NOT come from nix (sol-shell stays slim)" {
40-
assert_not_from_nix_store goldsky
41-
}
42-
4339
@test "age should NOT come from nix (sol-shell stays slim)" {
4440
assert_not_from_nix_store age
4541
}

0 commit comments

Comments
 (0)