From d618f0857dd2073c59de2523a51b2b7e6a96cece Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Thu, 30 Oct 2025 16:26:27 -0500 Subject: [PATCH 01/11] fvm optional, saves 24mb binary size --- Makefile | 20 +++++++++++++++++++- extern/filecoin-ffi | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 668089c46..5f500db52 100644 --- a/Makefile +++ b/Makefile @@ -10,14 +10,32 @@ FFI_DEPS:=$(addprefix $(FFI_PATH),$(FFI_DEPS)) $(FFI_DEPS): build/.filecoin-install ; +# When enabled, build size-optimized libfilcrypto by default +CURIO_OPTIMAL_LIBFILCRYPTO ?= 1 + build/.filecoin-install: $(FFI_PATH) - $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%) + @if [ "$(CURIO_OPTIMAL_LIBFILCRYPTO)" = "1" ]; then \ + $(MAKE) curio-libfilecoin; \ + else \ + $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%); \ + fi @touch $@ MODULES+=$(FFI_PATH) BUILD_DEPS+=build/.filecoin-install CLEAN+=build/.filecoin-install +## Custom libfilcrypto build for Curio (size-optimized, no FVM) +.PHONY: curio-libfilecoin +curio-libfilecoin: + FFI_BUILD_FROM_SOURCE=1 \ + FFI_USE_GPU=1 \ + FFI_USE_OPENCL=1 \ + FFI_USE_MULTICORE_SDR=1 \ + RUSTFLAGS='-C codegen-units=1 -C opt-level=3 -C strip=symbols' \ + $(MAKE) -C $(FFI_PATH) clean .install-filcrypto + @echo "Rebuilt libfilcrypto for Curio (OpenCL+multicore, no default features)." + ffi-version-check: @[[ "$$(awk '/const Version/{print $$5}' extern/filecoin-ffi/version.go)" -eq 3 ]] || (echo "FFI version mismatch, update submodules"; exit 1) BUILD_DEPS+=ffi-version-check diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 586063e9c..d6570b004 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 586063e9cfa45147d554f176759520398715ba41 +Subproject commit d6570b00438737eeb26610389dd718e4830fc1e4 From 842d810c45a8e9b9503f1568e4b6cd1e552a131b Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Mon, 3 Nov 2025 18:30:50 -0600 Subject: [PATCH 02/11] fvm for tests --- .github/workflows/ci.yml | 3 ++- Makefile | 13 ++++++++++++- extern/filecoin-ffi | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c3c95c25..57c851c1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -195,6 +195,7 @@ jobs: - name: Install FFI env: GITHUB_TOKEN: ${{ github.token }} + CURIO_OPTIMAL_LIBFILCRYPTO: 0 run: | make deps shell: bash @@ -230,7 +231,7 @@ jobs: echo "Using YugabyteDB Container IP: ${{env.CURIO_HARMONYDB_HOSTS}}" export CURIO_HARMONYDB_HOSTS=${{ env.CURIO_HARMONYDB_HOSTS }} export LOTUS_HARMONYDB_HOSTS=${{ env.CURIO_HARMONYDB_HOSTS }} - go test -v --tags=debug -timeout 30m ${{ matrix.test-suite.target }} + go test -v --tags="debug,fvm" -timeout 30m ${{ matrix.test-suite.target }} - name: Stop YugabyteDB container if: always() # Ensure this runs even if the tests fail diff --git a/Makefile b/Makefile index 5f500db52..919b8618d 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ build/.filecoin-install: $(FFI_PATH) @if [ "$(CURIO_OPTIMAL_LIBFILCRYPTO)" = "1" ]; then \ $(MAKE) curio-libfilecoin; \ else \ - $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%); \ + FFI_USE_FVM=1 $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%); \ fi @touch $@ @@ -100,6 +100,17 @@ CLEAN+=build/.update-modules deps: $(BUILD_DEPS) .PHONY: deps +## Test targets + +test-deps: CURIO_OPTIMAL_LIBFILCRYPTO=0 +test-deps: $(BUILD_DEPS) + @echo "Built dependencies with FVM support for testing" +.PHONY: test-deps + +test: test-deps + go test -v -tags="cgo,fvm" -timeout 30m ./itests/... +.PHONY: test + ## ldflags -s -w strips binary CURIO_TAGS ?= cunative diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index d6570b004..a9f1473a2 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit d6570b00438737eeb26610389dd718e4830fc1e4 +Subproject commit a9f1473a275e1313b7a4b5539bd0ea4905aa1930 From 7ef94744ddaddef538ee9cd7ecc10caf77e055ce Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Mon, 10 Nov 2025 16:43:34 -0600 Subject: [PATCH 03/11] review changes --- Makefile | 5 ++--- extern/filecoin-ffi | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 919b8618d..88c77de1f 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,9 @@ CURIO_OPTIMAL_LIBFILCRYPTO ?= 1 build/.filecoin-install: $(FFI_PATH) @if [ "$(CURIO_OPTIMAL_LIBFILCRYPTO)" = "1" ]; then \ - $(MAKE) curio-libfilecoin; \ + FFI_DISABLE_FVM=1 $(MAKE) curio-libfilecoin; \ else \ - FFI_USE_FVM=1 $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%); \ + $(MAKE) -C $(FFI_PATH) $(FFI_DEPS:$(FFI_PATH)%=%); \ fi @touch $@ @@ -30,7 +30,6 @@ CLEAN+=build/.filecoin-install curio-libfilecoin: FFI_BUILD_FROM_SOURCE=1 \ FFI_USE_GPU=1 \ - FFI_USE_OPENCL=1 \ FFI_USE_MULTICORE_SDR=1 \ RUSTFLAGS='-C codegen-units=1 -C opt-level=3 -C strip=symbols' \ $(MAKE) -C $(FFI_PATH) clean .install-filcrypto diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index a9f1473a2..4ba7b36fb 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit a9f1473a275e1313b7a4b5539bd0ea4905aa1930 +Subproject commit 4ba7b36fbdd832cb4ae872a7b7029165dbd355bf From 49859aafba991ac5b4c10e68c9982257c537f408 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Mon, 10 Nov 2025 17:05:09 -0600 Subject: [PATCH 04/11] cgo-bindings gcc12 --- extern/filecoin-ffi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 4ba7b36fb..05bc4f842 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 4ba7b36fbdd832cb4ae872a7b7029165dbd355bf +Subproject commit 05bc4f842fc0fe65fbac92c9ecaa94aa334de8d1 From 827c0e3a54534a212d1dc3c61955d3c065721c50 Mon Sep 17 00:00:00 2001 From: Andy Jackson Date: Tue, 11 Nov 2025 11:46:37 -0600 Subject: [PATCH 05/11] lint --- extern/filecoin-ffi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 4ba7b36fb..3084e07c9 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 4ba7b36fbdd832cb4ae872a7b7029165dbd355bf +Subproject commit 3084e07c99583046a1be271cffa42625f1ffd7c0 From 3e2009fbb887c0b3dc459ab88e89b62c480826e4 Mon Sep 17 00:00:00 2001 From: Andy Jackson Date: Tue, 11 Nov 2025 11:48:17 -0600 Subject: [PATCH 06/11] merge --- extern/filecoin-ffi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 3084e07c9..377980587 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 3084e07c99583046a1be271cffa42625f1ffd7c0 +Subproject commit 3779805870f9d070bb73a8083feef25c93be9c51 From 73eee8283cb26338f0520fc54ad1ba1807d027ed Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Mon, 1 Dec 2025 15:49:28 -0600 Subject: [PATCH 07/11] fix filecoin-ffi --- extern/filecoin-ffi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/filecoin-ffi b/extern/filecoin-ffi index 377980587..a7d5488a8 160000 --- a/extern/filecoin-ffi +++ b/extern/filecoin-ffi @@ -1 +1 @@ -Subproject commit 3779805870f9d070bb73a8083feef25c93be9c51 +Subproject commit a7d5488a8e5c0f732ba24ff8768ac5903e3d38b1 From 9eb54751479a55ea65463d43665bca92c99ebc35 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Tue, 2 Dec 2025 13:44:50 -0600 Subject: [PATCH 08/11] gen --- Makefile | 18 ++++- .../default-curio-configuration.md | 1 + documentation/en/curio-cli/curio.md | 81 +++++++++++++++++++ go.mod | 12 +-- go.sum | 24 +++--- 5 files changed, 116 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 88c77de1f..1ceb9d9be 100644 --- a/Makefile +++ b/Makefile @@ -298,10 +298,24 @@ marketgen: swag init -dir market/mk20/http -g http.go -o market/mk20/http --parseDependencyLevel 3 --parseDependency .PHONY: marketgen -gensimple: api-gen go-generate cfgdoc-gen docsgen marketgen docsgen-cli +# Run gen steps sequentially in a single shell to avoid Go build cache race conditions. +# The "unlinkat: directory not empty" error occurs when multiple go processes +# contend for the same build cache simultaneously. +# Set GOCACHE_CLEAN=1 to clear the build cache before running (fixes persistent issues). +gensimple: +ifeq ($(GOCACHE_CLEAN),1) + $(GOCC) clean -cache +endif + $(MAKE) deps + $(MAKE) api-gen + $(MAKE) go-generate + $(MAKE) cfgdoc-gen + $(MAKE) docsgen + $(MAKE) marketgen + $(MAKE) docsgen-cli $(GOCC) run ./scripts/fiximports go mod tidy -.PHONY: gen +.PHONY: gensimple fiximports: $(GOCC) run ./scripts/fiximports diff --git a/documentation/en/configuration/default-curio-configuration.md b/documentation/en/configuration/default-curio-configuration.md index 8d802061e..185268f48 100644 --- a/documentation/en/configuration/default-curio-configuration.md +++ b/documentation/en/configuration/default-curio-configuration.md @@ -5,6 +5,7 @@ description: The default curio configuration # Default Curio Configuration ```toml +Error parsing language # Subsystems defines configuration settings for various subsystems within the Curio node. # # type: CurioSubsystemsConfig diff --git a/documentation/en/curio-cli/curio.md b/documentation/en/curio-cli/curio.md index 63a879bfc..7ce440520 100644 --- a/documentation/en/curio-cli/curio.md +++ b/documentation/en/curio-cli/curio.md @@ -1,5 +1,6 @@ # curio ``` +Error parsing language NAME: curio - Filecoin decentralized storage network provider @@ -42,6 +43,7 @@ GLOBAL OPTIONS: ## curio cli ``` +Error parsing language NAME: curio cli - Execute cli commands @@ -66,6 +68,7 @@ OPTIONS: ### curio cli info ``` +Error parsing language NAME: curio cli info - Get Curio node info @@ -78,6 +81,7 @@ OPTIONS: ### curio cli storage ``` +Error parsing language NAME: curio cli storage - manage sector storage @@ -105,6 +109,7 @@ OPTIONS: #### curio cli storage attach ``` +Error parsing language NAME: curio cli storage attach - attach local storage path @@ -149,6 +154,7 @@ OPTIONS: #### curio cli storage detach ``` +Error parsing language NAME: curio cli storage detach - detach local storage path @@ -162,6 +168,7 @@ OPTIONS: #### curio cli storage list ``` +Error parsing language NAME: curio cli storage list - list local storage paths @@ -175,6 +182,7 @@ OPTIONS: #### curio cli storage find ``` +Error parsing language NAME: curio cli storage find - find sector in the storage system @@ -187,6 +195,7 @@ OPTIONS: #### curio cli storage generate-vanilla-proof ``` +Error parsing language NAME: curio cli storage generate-vanilla-proof - generate vanilla proof for a sector @@ -199,6 +208,7 @@ OPTIONS: #### curio cli storage redeclare ``` +Error parsing language NAME: curio cli storage redeclare - redeclare sectors in a local storage path @@ -216,6 +226,7 @@ OPTIONS: ### curio cli log ``` +Error parsing language NAME: curio cli log - Manage logging @@ -233,6 +244,7 @@ OPTIONS: #### curio cli log list ``` +Error parsing language NAME: curio cli log list - List log systems @@ -245,6 +257,7 @@ OPTIONS: #### curio cli log set-level ``` +Error parsing language NAME: curio cli log set-level - Set log level @@ -278,6 +291,7 @@ OPTIONS: ### curio cli wait-api ``` +Error parsing language NAME: curio cli wait-api - Wait for Curio api to come online @@ -291,6 +305,7 @@ OPTIONS: ### curio cli stop ``` +Error parsing language NAME: curio cli stop - Stop a running Curio process @@ -303,6 +318,7 @@ OPTIONS: ### curio cli cordon ``` +Error parsing language NAME: curio cli cordon - Cordon a machine, set it to maintenance mode @@ -315,6 +331,7 @@ OPTIONS: ### curio cli uncordon ``` +Error parsing language NAME: curio cli uncordon - Uncordon a machine, resume scheduling @@ -327,6 +344,7 @@ OPTIONS: ### curio cli index-sample ``` +Error parsing language NAME: curio cli index-sample - Provides a sample of CIDs from an indexed piece @@ -340,6 +358,7 @@ OPTIONS: ## curio run ``` +Error parsing language NAME: curio run - Start a Curio process @@ -357,6 +376,7 @@ OPTIONS: ## curio config ``` +Error parsing language NAME: curio config - Manage node config by layers. The layer 'base' will always be applied at Curio start-up. @@ -380,6 +400,7 @@ OPTIONS: ### curio config default ``` +Error parsing language NAME: curio config default - Print default node config @@ -393,6 +414,7 @@ OPTIONS: ### curio config set ``` +Error parsing language NAME: curio config set - Set a config layer or the base by providing a filename or stdin. @@ -406,6 +428,7 @@ OPTIONS: ### curio config get ``` +Error parsing language NAME: curio config get - Get a config layer by name. You may want to pipe the output to a file, or use 'less' @@ -418,6 +441,7 @@ OPTIONS: ### curio config list ``` +Error parsing language NAME: curio config list - List config layers present in the DB. @@ -430,6 +454,7 @@ OPTIONS: ### curio config interpret ``` +Error parsing language NAME: curio config interpret - Interpret stacked config layers by this version of curio, with system-generated comments. @@ -443,6 +468,7 @@ OPTIONS: ### curio config remove ``` +Error parsing language NAME: curio config remove - Remove a named config layer. @@ -455,6 +481,7 @@ OPTIONS: ### curio config edit ``` +Error parsing language NAME: curio config edit - edit a config layer @@ -472,6 +499,7 @@ OPTIONS: ### curio config new-cluster ``` +Error parsing language NAME: curio config new-cluster - Create new configuration for a new cluster @@ -484,6 +512,7 @@ OPTIONS: ## curio test ``` +Error parsing language NAME: curio test - Utility functions for testing @@ -501,6 +530,7 @@ OPTIONS: ### curio test window-post ``` +Error parsing language NAME: curio test window-post - Compute a proof-of-spacetime for a sector (requires the sector to be pre-sealed). These will not send to the chain. @@ -519,6 +549,7 @@ OPTIONS: #### curio test window-post here ``` +Error parsing language NAME: curio test window-post here - Compute WindowPoSt for performance and configuration testing. @@ -539,6 +570,7 @@ OPTIONS: #### curio test window-post task ``` +Error parsing language NAME: curio test window-post task - Test the windowpost scheduler by running it on the next available curio. If tasks fail all retries, you will need to ctrl+c to exit. @@ -554,6 +586,7 @@ OPTIONS: #### curio test window-post vanilla ``` +Error parsing language NAME: curio test window-post vanilla - Compute WindowPoSt vanilla proofs and verify them. @@ -570,6 +603,7 @@ OPTIONS: ### curio test debug ``` +Error parsing language NAME: curio test debug - Collection of debugging utilities @@ -588,6 +622,7 @@ OPTIONS: #### curio test debug ipni-piece-chunks ``` +Error parsing language NAME: curio test debug ipni-piece-chunks - generate ipni chunks from a file @@ -600,6 +635,7 @@ OPTIONS: #### curio test debug debug-snsvc ``` +Error parsing language NAME: curio test debug debug-snsvc @@ -634,6 +670,7 @@ OPTIONS: ##### curio test debug debug-snsvc deposit ``` +Error parsing language NAME: curio test debug debug-snsvc deposit - Deposit FIL into the Router contract (client) @@ -648,6 +685,7 @@ OPTIONS: ##### curio test debug debug-snsvc client-initiate-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc client-initiate-withdrawal - Initiate a withdrawal request from the client's deposit @@ -662,6 +700,7 @@ OPTIONS: ##### curio test debug debug-snsvc client-complete-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc client-complete-withdrawal - Complete a pending client withdrawal after the withdrawal window elapses @@ -675,6 +714,7 @@ OPTIONS: ##### curio test debug debug-snsvc client-cancel-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc client-cancel-withdrawal - Cancel a pending client withdrawal request @@ -688,6 +728,7 @@ OPTIONS: ##### curio test debug debug-snsvc redeem-client ``` +Error parsing language NAME: curio test debug debug-snsvc redeem-client - Redeem a client voucher (service role) @@ -705,6 +746,7 @@ OPTIONS: ##### curio test debug debug-snsvc redeem-provider ``` +Error parsing language NAME: curio test debug debug-snsvc redeem-provider - Redeem a provider voucher (provider role) @@ -722,6 +764,7 @@ OPTIONS: ##### curio test debug debug-snsvc service-initiate-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc service-initiate-withdrawal - Initiate a withdrawal request from the service pool @@ -736,6 +779,7 @@ OPTIONS: ##### curio test debug debug-snsvc service-complete-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc service-complete-withdrawal - Complete a pending service withdrawal after the withdrawal window elapses @@ -749,6 +793,7 @@ OPTIONS: ##### curio test debug debug-snsvc service-cancel-withdrawal ``` +Error parsing language NAME: curio test debug debug-snsvc service-cancel-withdrawal - Cancel a pending service withdrawal request @@ -762,6 +807,7 @@ OPTIONS: ##### curio test debug debug-snsvc service-deposit ``` +Error parsing language NAME: curio test debug debug-snsvc service-deposit - Deposit funds into the service pool (service role) @@ -776,6 +822,7 @@ OPTIONS: ##### curio test debug debug-snsvc get-client-state ``` +Error parsing language NAME: curio test debug debug-snsvc get-client-state - Query the state of a client @@ -789,6 +836,7 @@ OPTIONS: ##### curio test debug debug-snsvc get-provider-state ``` +Error parsing language NAME: curio test debug debug-snsvc get-provider-state - Query the state of a provider @@ -802,6 +850,7 @@ OPTIONS: ##### curio test debug debug-snsvc get-service-state ``` +Error parsing language NAME: curio test debug debug-snsvc get-service-state - Query the service state @@ -814,6 +863,7 @@ OPTIONS: ##### curio test debug debug-snsvc create-client-voucher ``` +Error parsing language NAME: curio test debug debug-snsvc create-client-voucher - Create a client voucher @@ -828,6 +878,7 @@ OPTIONS: ##### curio test debug debug-snsvc create-provider-voucher ``` +Error parsing language NAME: curio test debug debug-snsvc create-provider-voucher - Create a provider voucher @@ -844,6 +895,7 @@ OPTIONS: ##### curio test debug debug-snsvc propose-service-actor ``` +Error parsing language NAME: curio test debug debug-snsvc propose-service-actor - Propose a new service actor @@ -858,6 +910,7 @@ OPTIONS: ##### curio test debug debug-snsvc accept-service-actor ``` +Error parsing language NAME: curio test debug debug-snsvc accept-service-actor - Accept a proposed service actor @@ -871,6 +924,7 @@ OPTIONS: ##### curio test debug debug-snsvc validate-client-voucher ``` +Error parsing language NAME: curio test debug debug-snsvc validate-client-voucher - Validate a client voucher signature @@ -887,6 +941,7 @@ OPTIONS: ##### curio test debug debug-snsvc validate-provider-voucher ``` +Error parsing language NAME: curio test debug debug-snsvc validate-provider-voucher - Validate a provider voucher signature @@ -903,6 +958,7 @@ OPTIONS: #### curio test debug proofsvc-client ``` +Error parsing language NAME: curio test debug proofsvc-client - Interact with the remote proof service @@ -921,6 +977,7 @@ OPTIONS: ##### curio test debug proofsvc-client create-voucher ``` +Error parsing language NAME: curio test debug proofsvc-client create-voucher - Create a client voucher @@ -935,6 +992,7 @@ OPTIONS: ##### curio test debug proofsvc-client submit ``` +Error parsing language NAME: curio test debug proofsvc-client submit - Submit a proof request @@ -953,6 +1011,7 @@ OPTIONS: ##### curio test debug proofsvc-client status ``` +Error parsing language NAME: curio test debug proofsvc-client status - Check proof status @@ -966,6 +1025,7 @@ OPTIONS: ## curio web ``` +Error parsing language NAME: curio web - Start Curio web interface @@ -985,6 +1045,7 @@ OPTIONS: ## curio guided-setup ``` +Error parsing language NAME: curio guided-setup - Run the guided setup for migrating from lotus-miner to Curio or Creating a new Curio miner @@ -997,6 +1058,7 @@ OPTIONS: ## curio seal ``` +Error parsing language NAME: curio seal - Manage the sealing pipeline @@ -1014,6 +1076,7 @@ OPTIONS: ### curio seal start ``` +Error parsing language NAME: curio seal start - Start new sealing operations manually @@ -1033,6 +1096,7 @@ OPTIONS: ### curio seal events ``` +Error parsing language NAME: curio seal events - List pipeline events @@ -1048,6 +1112,7 @@ OPTIONS: ## curio unseal ``` +Error parsing language NAME: curio unseal - Manage unsealed data @@ -1067,6 +1132,7 @@ OPTIONS: ### curio unseal info ``` +Error parsing language NAME: curio unseal info - Get information about unsealed data @@ -1079,6 +1145,7 @@ OPTIONS: ### curio unseal list-sectors ``` +Error parsing language NAME: curio unseal list-sectors - List data from the sectors_unseal_pipeline and sectors_meta tables @@ -1093,6 +1160,7 @@ OPTIONS: ### curio unseal set-target-state ``` +Error parsing language NAME: curio unseal set-target-state - Set the target unseal state for a sector @@ -1122,6 +1190,7 @@ OPTIONS: ### curio unseal check ``` +Error parsing language NAME: curio unseal check - Check data integrity in unsealed sector files @@ -1139,6 +1208,7 @@ OPTIONS: ## curio market ``` +Error parsing language NAME: curio market @@ -1158,6 +1228,7 @@ OPTIONS: ### curio market seal ``` +Error parsing language NAME: curio market seal - start sealing a deal sector early @@ -1172,6 +1243,7 @@ OPTIONS: ### curio market add-url ``` +Error parsing language NAME: curio market add-url - Add URL to fetch data for offline deals @@ -1187,6 +1259,7 @@ OPTIONS: ### curio market move-to-escrow ``` +Error parsing language NAME: curio market move-to-escrow - Moves funds from the deal collateral wallet into escrow with the storage market actor @@ -1202,6 +1275,7 @@ OPTIONS: ### curio market ddo ``` +Error parsing language NAME: curio market ddo - Create a new offline verified DDO deal for Curio @@ -1218,6 +1292,7 @@ OPTIONS: ## curio fetch-params ``` +Error parsing language NAME: curio fetch-params - Fetch proving parameters @@ -1230,6 +1305,7 @@ OPTIONS: ## curio calc ``` +Error parsing language NAME: curio calc - Math Utils @@ -1248,6 +1324,7 @@ OPTIONS: ### curio calc batch-cpu ``` +Error parsing language NAME: curio calc batch-cpu - Analyze and display the layout of batch sealer threads @@ -1267,6 +1344,7 @@ OPTIONS: ### curio calc supraseal-config ``` +Error parsing language NAME: curio calc supraseal-config - Generate a supra_seal configuration @@ -1287,6 +1365,7 @@ OPTIONS: ## curio toolbox ``` +Error parsing language NAME: curio toolbox - Tool Box for Curio @@ -1304,6 +1383,7 @@ OPTIONS: ### curio toolbox fix-msg ``` +Error parsing language NAME: curio toolbox fix-msg - Updated DB with message data missing from chain node @@ -1317,6 +1397,7 @@ OPTIONS: ### curio toolbox register-pdp-service-provider ``` +Error parsing language NAME: curio toolbox register-pdp-service-provider - Register a PDP service provider with Filecoin Service Registry Contract diff --git a/go.mod b/go.mod index f065850a9..e97b72e6b 100644 --- a/go.mod +++ b/go.mod @@ -112,13 +112,13 @@ require ( go.opencensus.io v0.24.0 go.uber.org/multierr v1.11.0 go.uber.org/zap v1.27.0 - golang.org/x/crypto v0.43.0 + golang.org/x/crypto v0.45.0 golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b - golang.org/x/net v0.46.0 - golang.org/x/sync v0.17.0 - golang.org/x/sys v0.37.0 - golang.org/x/term v0.36.0 - golang.org/x/text v0.30.0 + golang.org/x/net v0.47.0 + golang.org/x/sync v0.18.0 + golang.org/x/sys v0.38.0 + golang.org/x/term v0.37.0 + golang.org/x/text v0.31.0 golang.org/x/tools v0.38.0 golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da ) diff --git a/go.sum b/go.sum index 0a9ac8d38..be8df3a12 100644 --- a/go.sum +++ b/go.sum @@ -1564,8 +1564,8 @@ golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04= -golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0= +golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q= +golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1660,8 +1660,8 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4= -golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= +golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY= +golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1686,8 +1686,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug= -golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= +golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= +golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1767,8 +1767,8 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ= -golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= +golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/telemetry v0.0.0-20251009181524-91c411e14f39 h1:jHQt1JBuPc+c/cAlupnkce8or0E04hX2Oqmnqq1XCVA= golang.org/x/telemetry v0.0.0-20251009181524-91c411e14f39/go.mod h1:Pi4ztBfryZoJEkyFTI5/Ocsu2jXyDr6iSdgJiYE/uwE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -1780,8 +1780,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= -golang.org/x/term v0.36.0 h1:zMPR+aF8gfksFprF/Nc/rd1wRS1EI6nDBGyWAvDzx2Q= -golang.org/x/term v0.36.0/go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss= +golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU= +golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1794,8 +1794,8 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k= -golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= +golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= +golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= From c99d93f5af0e846c44680829ed92536104e8b984 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Tue, 2 Dec 2025 14:09:41 -0600 Subject: [PATCH 09/11] mod tidy fix --- .github/workflows/ci.yml | 2 +- GO_VERSION_MIN | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57c851c1f..61abcb915 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - '**' env: - GO_VERSION: 1.24 + GO_VERSION: "1.24.7" jobs: ci-lint: diff --git a/GO_VERSION_MIN b/GO_VERSION_MIN index 614245ec4..8407e2600 100644 --- a/GO_VERSION_MIN +++ b/GO_VERSION_MIN @@ -1 +1 @@ -1.24 \ No newline at end of file +1.24.7 From 8d61e4fbf1c1e621b4e17be723f9789310e1338f Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Tue, 2 Dec 2025 14:30:51 -0600 Subject: [PATCH 10/11] lint/gen --- api/api_chain_all.go | 1 - api/api_chain_limited.go | 1 - build/params_2k.go | 1 - build/params_calibnet.go | 1 - build/params_mainnet.go | 1 - build/params_testnet.go | 1 - cmd/curio/ffi.go | 2 +- .../default-curio-configuration.md | 1 - documentation/en/curio-cli/curio.md | 81 ------------------- harmony/resources/getGPU.go | 1 - harmony/resources/getGPU_darwin.go | 1 - harmony/resources/memsys.go | 22 ----- 12 files changed, 1 insertion(+), 113 deletions(-) delete mode 100644 harmony/resources/memsys.go diff --git a/api/api_chain_all.go b/api/api_chain_all.go index e055896db..2ad7811eb 100644 --- a/api/api_chain_all.go +++ b/api/api_chain_all.go @@ -1,5 +1,4 @@ //go:build !forest -// +build !forest package api diff --git a/api/api_chain_limited.go b/api/api_chain_limited.go index cd6fb1104..48e3032f7 100644 --- a/api/api_chain_limited.go +++ b/api/api_chain_limited.go @@ -1,5 +1,4 @@ //go:build forest -// +build forest package api diff --git a/build/params_2k.go b/build/params_2k.go index 6803030c0..e611a6a8b 100644 --- a/build/params_2k.go +++ b/build/params_2k.go @@ -1,5 +1,4 @@ //go:build 2k -// +build 2k package build diff --git a/build/params_calibnet.go b/build/params_calibnet.go index 3cb080d4c..e5defa216 100644 --- a/build/params_calibnet.go +++ b/build/params_calibnet.go @@ -1,5 +1,4 @@ //go:build calibnet -// +build calibnet package build diff --git a/build/params_mainnet.go b/build/params_mainnet.go index 86a00f7d5..a1d4fa702 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -1,5 +1,4 @@ //go:build !calibnet && !debug && !2k -// +build !calibnet,!debug,!2k package build diff --git a/build/params_testnet.go b/build/params_testnet.go index 02e700e1f..0822daabe 100644 --- a/build/params_testnet.go +++ b/build/params_testnet.go @@ -1,5 +1,4 @@ //go:build debug -// +build debug package build diff --git a/cmd/curio/ffi.go b/cmd/curio/ffi.go index 976fecf93..22fb2dcf3 100644 --- a/cmd/curio/ffi.go +++ b/cmd/curio/ffi.go @@ -1,13 +1,13 @@ package main import ( + "context" "fmt" "os" "github.com/ipfs/go-cid" "github.com/snadrus/must" "github.com/urfave/cli/v2" - "golang.org/x/net/context" "github.com/filecoin-project/go-jsonrpc" diff --git a/documentation/en/configuration/default-curio-configuration.md b/documentation/en/configuration/default-curio-configuration.md index 185268f48..8d802061e 100644 --- a/documentation/en/configuration/default-curio-configuration.md +++ b/documentation/en/configuration/default-curio-configuration.md @@ -5,7 +5,6 @@ description: The default curio configuration # Default Curio Configuration ```toml -Error parsing language # Subsystems defines configuration settings for various subsystems within the Curio node. # # type: CurioSubsystemsConfig diff --git a/documentation/en/curio-cli/curio.md b/documentation/en/curio-cli/curio.md index 7ce440520..63a879bfc 100644 --- a/documentation/en/curio-cli/curio.md +++ b/documentation/en/curio-cli/curio.md @@ -1,6 +1,5 @@ # curio ``` -Error parsing language NAME: curio - Filecoin decentralized storage network provider @@ -43,7 +42,6 @@ GLOBAL OPTIONS: ## curio cli ``` -Error parsing language NAME: curio cli - Execute cli commands @@ -68,7 +66,6 @@ OPTIONS: ### curio cli info ``` -Error parsing language NAME: curio cli info - Get Curio node info @@ -81,7 +78,6 @@ OPTIONS: ### curio cli storage ``` -Error parsing language NAME: curio cli storage - manage sector storage @@ -109,7 +105,6 @@ OPTIONS: #### curio cli storage attach ``` -Error parsing language NAME: curio cli storage attach - attach local storage path @@ -154,7 +149,6 @@ OPTIONS: #### curio cli storage detach ``` -Error parsing language NAME: curio cli storage detach - detach local storage path @@ -168,7 +162,6 @@ OPTIONS: #### curio cli storage list ``` -Error parsing language NAME: curio cli storage list - list local storage paths @@ -182,7 +175,6 @@ OPTIONS: #### curio cli storage find ``` -Error parsing language NAME: curio cli storage find - find sector in the storage system @@ -195,7 +187,6 @@ OPTIONS: #### curio cli storage generate-vanilla-proof ``` -Error parsing language NAME: curio cli storage generate-vanilla-proof - generate vanilla proof for a sector @@ -208,7 +199,6 @@ OPTIONS: #### curio cli storage redeclare ``` -Error parsing language NAME: curio cli storage redeclare - redeclare sectors in a local storage path @@ -226,7 +216,6 @@ OPTIONS: ### curio cli log ``` -Error parsing language NAME: curio cli log - Manage logging @@ -244,7 +233,6 @@ OPTIONS: #### curio cli log list ``` -Error parsing language NAME: curio cli log list - List log systems @@ -257,7 +245,6 @@ OPTIONS: #### curio cli log set-level ``` -Error parsing language NAME: curio cli log set-level - Set log level @@ -291,7 +278,6 @@ OPTIONS: ### curio cli wait-api ``` -Error parsing language NAME: curio cli wait-api - Wait for Curio api to come online @@ -305,7 +291,6 @@ OPTIONS: ### curio cli stop ``` -Error parsing language NAME: curio cli stop - Stop a running Curio process @@ -318,7 +303,6 @@ OPTIONS: ### curio cli cordon ``` -Error parsing language NAME: curio cli cordon - Cordon a machine, set it to maintenance mode @@ -331,7 +315,6 @@ OPTIONS: ### curio cli uncordon ``` -Error parsing language NAME: curio cli uncordon - Uncordon a machine, resume scheduling @@ -344,7 +327,6 @@ OPTIONS: ### curio cli index-sample ``` -Error parsing language NAME: curio cli index-sample - Provides a sample of CIDs from an indexed piece @@ -358,7 +340,6 @@ OPTIONS: ## curio run ``` -Error parsing language NAME: curio run - Start a Curio process @@ -376,7 +357,6 @@ OPTIONS: ## curio config ``` -Error parsing language NAME: curio config - Manage node config by layers. The layer 'base' will always be applied at Curio start-up. @@ -400,7 +380,6 @@ OPTIONS: ### curio config default ``` -Error parsing language NAME: curio config default - Print default node config @@ -414,7 +393,6 @@ OPTIONS: ### curio config set ``` -Error parsing language NAME: curio config set - Set a config layer or the base by providing a filename or stdin. @@ -428,7 +406,6 @@ OPTIONS: ### curio config get ``` -Error parsing language NAME: curio config get - Get a config layer by name. You may want to pipe the output to a file, or use 'less' @@ -441,7 +418,6 @@ OPTIONS: ### curio config list ``` -Error parsing language NAME: curio config list - List config layers present in the DB. @@ -454,7 +430,6 @@ OPTIONS: ### curio config interpret ``` -Error parsing language NAME: curio config interpret - Interpret stacked config layers by this version of curio, with system-generated comments. @@ -468,7 +443,6 @@ OPTIONS: ### curio config remove ``` -Error parsing language NAME: curio config remove - Remove a named config layer. @@ -481,7 +455,6 @@ OPTIONS: ### curio config edit ``` -Error parsing language NAME: curio config edit - edit a config layer @@ -499,7 +472,6 @@ OPTIONS: ### curio config new-cluster ``` -Error parsing language NAME: curio config new-cluster - Create new configuration for a new cluster @@ -512,7 +484,6 @@ OPTIONS: ## curio test ``` -Error parsing language NAME: curio test - Utility functions for testing @@ -530,7 +501,6 @@ OPTIONS: ### curio test window-post ``` -Error parsing language NAME: curio test window-post - Compute a proof-of-spacetime for a sector (requires the sector to be pre-sealed). These will not send to the chain. @@ -549,7 +519,6 @@ OPTIONS: #### curio test window-post here ``` -Error parsing language NAME: curio test window-post here - Compute WindowPoSt for performance and configuration testing. @@ -570,7 +539,6 @@ OPTIONS: #### curio test window-post task ``` -Error parsing language NAME: curio test window-post task - Test the windowpost scheduler by running it on the next available curio. If tasks fail all retries, you will need to ctrl+c to exit. @@ -586,7 +554,6 @@ OPTIONS: #### curio test window-post vanilla ``` -Error parsing language NAME: curio test window-post vanilla - Compute WindowPoSt vanilla proofs and verify them. @@ -603,7 +570,6 @@ OPTIONS: ### curio test debug ``` -Error parsing language NAME: curio test debug - Collection of debugging utilities @@ -622,7 +588,6 @@ OPTIONS: #### curio test debug ipni-piece-chunks ``` -Error parsing language NAME: curio test debug ipni-piece-chunks - generate ipni chunks from a file @@ -635,7 +600,6 @@ OPTIONS: #### curio test debug debug-snsvc ``` -Error parsing language NAME: curio test debug debug-snsvc @@ -670,7 +634,6 @@ OPTIONS: ##### curio test debug debug-snsvc deposit ``` -Error parsing language NAME: curio test debug debug-snsvc deposit - Deposit FIL into the Router contract (client) @@ -685,7 +648,6 @@ OPTIONS: ##### curio test debug debug-snsvc client-initiate-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc client-initiate-withdrawal - Initiate a withdrawal request from the client's deposit @@ -700,7 +662,6 @@ OPTIONS: ##### curio test debug debug-snsvc client-complete-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc client-complete-withdrawal - Complete a pending client withdrawal after the withdrawal window elapses @@ -714,7 +675,6 @@ OPTIONS: ##### curio test debug debug-snsvc client-cancel-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc client-cancel-withdrawal - Cancel a pending client withdrawal request @@ -728,7 +688,6 @@ OPTIONS: ##### curio test debug debug-snsvc redeem-client ``` -Error parsing language NAME: curio test debug debug-snsvc redeem-client - Redeem a client voucher (service role) @@ -746,7 +705,6 @@ OPTIONS: ##### curio test debug debug-snsvc redeem-provider ``` -Error parsing language NAME: curio test debug debug-snsvc redeem-provider - Redeem a provider voucher (provider role) @@ -764,7 +722,6 @@ OPTIONS: ##### curio test debug debug-snsvc service-initiate-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc service-initiate-withdrawal - Initiate a withdrawal request from the service pool @@ -779,7 +736,6 @@ OPTIONS: ##### curio test debug debug-snsvc service-complete-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc service-complete-withdrawal - Complete a pending service withdrawal after the withdrawal window elapses @@ -793,7 +749,6 @@ OPTIONS: ##### curio test debug debug-snsvc service-cancel-withdrawal ``` -Error parsing language NAME: curio test debug debug-snsvc service-cancel-withdrawal - Cancel a pending service withdrawal request @@ -807,7 +762,6 @@ OPTIONS: ##### curio test debug debug-snsvc service-deposit ``` -Error parsing language NAME: curio test debug debug-snsvc service-deposit - Deposit funds into the service pool (service role) @@ -822,7 +776,6 @@ OPTIONS: ##### curio test debug debug-snsvc get-client-state ``` -Error parsing language NAME: curio test debug debug-snsvc get-client-state - Query the state of a client @@ -836,7 +789,6 @@ OPTIONS: ##### curio test debug debug-snsvc get-provider-state ``` -Error parsing language NAME: curio test debug debug-snsvc get-provider-state - Query the state of a provider @@ -850,7 +802,6 @@ OPTIONS: ##### curio test debug debug-snsvc get-service-state ``` -Error parsing language NAME: curio test debug debug-snsvc get-service-state - Query the service state @@ -863,7 +814,6 @@ OPTIONS: ##### curio test debug debug-snsvc create-client-voucher ``` -Error parsing language NAME: curio test debug debug-snsvc create-client-voucher - Create a client voucher @@ -878,7 +828,6 @@ OPTIONS: ##### curio test debug debug-snsvc create-provider-voucher ``` -Error parsing language NAME: curio test debug debug-snsvc create-provider-voucher - Create a provider voucher @@ -895,7 +844,6 @@ OPTIONS: ##### curio test debug debug-snsvc propose-service-actor ``` -Error parsing language NAME: curio test debug debug-snsvc propose-service-actor - Propose a new service actor @@ -910,7 +858,6 @@ OPTIONS: ##### curio test debug debug-snsvc accept-service-actor ``` -Error parsing language NAME: curio test debug debug-snsvc accept-service-actor - Accept a proposed service actor @@ -924,7 +871,6 @@ OPTIONS: ##### curio test debug debug-snsvc validate-client-voucher ``` -Error parsing language NAME: curio test debug debug-snsvc validate-client-voucher - Validate a client voucher signature @@ -941,7 +887,6 @@ OPTIONS: ##### curio test debug debug-snsvc validate-provider-voucher ``` -Error parsing language NAME: curio test debug debug-snsvc validate-provider-voucher - Validate a provider voucher signature @@ -958,7 +903,6 @@ OPTIONS: #### curio test debug proofsvc-client ``` -Error parsing language NAME: curio test debug proofsvc-client - Interact with the remote proof service @@ -977,7 +921,6 @@ OPTIONS: ##### curio test debug proofsvc-client create-voucher ``` -Error parsing language NAME: curio test debug proofsvc-client create-voucher - Create a client voucher @@ -992,7 +935,6 @@ OPTIONS: ##### curio test debug proofsvc-client submit ``` -Error parsing language NAME: curio test debug proofsvc-client submit - Submit a proof request @@ -1011,7 +953,6 @@ OPTIONS: ##### curio test debug proofsvc-client status ``` -Error parsing language NAME: curio test debug proofsvc-client status - Check proof status @@ -1025,7 +966,6 @@ OPTIONS: ## curio web ``` -Error parsing language NAME: curio web - Start Curio web interface @@ -1045,7 +985,6 @@ OPTIONS: ## curio guided-setup ``` -Error parsing language NAME: curio guided-setup - Run the guided setup for migrating from lotus-miner to Curio or Creating a new Curio miner @@ -1058,7 +997,6 @@ OPTIONS: ## curio seal ``` -Error parsing language NAME: curio seal - Manage the sealing pipeline @@ -1076,7 +1014,6 @@ OPTIONS: ### curio seal start ``` -Error parsing language NAME: curio seal start - Start new sealing operations manually @@ -1096,7 +1033,6 @@ OPTIONS: ### curio seal events ``` -Error parsing language NAME: curio seal events - List pipeline events @@ -1112,7 +1048,6 @@ OPTIONS: ## curio unseal ``` -Error parsing language NAME: curio unseal - Manage unsealed data @@ -1132,7 +1067,6 @@ OPTIONS: ### curio unseal info ``` -Error parsing language NAME: curio unseal info - Get information about unsealed data @@ -1145,7 +1079,6 @@ OPTIONS: ### curio unseal list-sectors ``` -Error parsing language NAME: curio unseal list-sectors - List data from the sectors_unseal_pipeline and sectors_meta tables @@ -1160,7 +1093,6 @@ OPTIONS: ### curio unseal set-target-state ``` -Error parsing language NAME: curio unseal set-target-state - Set the target unseal state for a sector @@ -1190,7 +1122,6 @@ OPTIONS: ### curio unseal check ``` -Error parsing language NAME: curio unseal check - Check data integrity in unsealed sector files @@ -1208,7 +1139,6 @@ OPTIONS: ## curio market ``` -Error parsing language NAME: curio market @@ -1228,7 +1158,6 @@ OPTIONS: ### curio market seal ``` -Error parsing language NAME: curio market seal - start sealing a deal sector early @@ -1243,7 +1172,6 @@ OPTIONS: ### curio market add-url ``` -Error parsing language NAME: curio market add-url - Add URL to fetch data for offline deals @@ -1259,7 +1187,6 @@ OPTIONS: ### curio market move-to-escrow ``` -Error parsing language NAME: curio market move-to-escrow - Moves funds from the deal collateral wallet into escrow with the storage market actor @@ -1275,7 +1202,6 @@ OPTIONS: ### curio market ddo ``` -Error parsing language NAME: curio market ddo - Create a new offline verified DDO deal for Curio @@ -1292,7 +1218,6 @@ OPTIONS: ## curio fetch-params ``` -Error parsing language NAME: curio fetch-params - Fetch proving parameters @@ -1305,7 +1230,6 @@ OPTIONS: ## curio calc ``` -Error parsing language NAME: curio calc - Math Utils @@ -1324,7 +1248,6 @@ OPTIONS: ### curio calc batch-cpu ``` -Error parsing language NAME: curio calc batch-cpu - Analyze and display the layout of batch sealer threads @@ -1344,7 +1267,6 @@ OPTIONS: ### curio calc supraseal-config ``` -Error parsing language NAME: curio calc supraseal-config - Generate a supra_seal configuration @@ -1365,7 +1287,6 @@ OPTIONS: ## curio toolbox ``` -Error parsing language NAME: curio toolbox - Tool Box for Curio @@ -1383,7 +1304,6 @@ OPTIONS: ### curio toolbox fix-msg ``` -Error parsing language NAME: curio toolbox fix-msg - Updated DB with message data missing from chain node @@ -1397,7 +1317,6 @@ OPTIONS: ### curio toolbox register-pdp-service-provider ``` -Error parsing language NAME: curio toolbox register-pdp-service-provider - Register a PDP service provider with Filecoin Service Registry Contract diff --git a/harmony/resources/getGPU.go b/harmony/resources/getGPU.go index a9a207125..c50c70f06 100644 --- a/harmony/resources/getGPU.go +++ b/harmony/resources/getGPU.go @@ -1,5 +1,4 @@ //go:build !darwin -// +build !darwin package resources diff --git a/harmony/resources/getGPU_darwin.go b/harmony/resources/getGPU_darwin.go index 6ba5c57a5..986172029 100644 --- a/harmony/resources/getGPU_darwin.go +++ b/harmony/resources/getGPU_darwin.go @@ -1,5 +1,4 @@ //go:build darwin -// +build darwin package resources diff --git a/harmony/resources/memsys.go b/harmony/resources/memsys.go deleted file mode 100644 index 1a45b5b22..000000000 --- a/harmony/resources/memsys.go +++ /dev/null @@ -1,22 +0,0 @@ -//go:build darwin || freebsd || openbsd || dragonfly || netbsd -// +build darwin freebsd openbsd dragonfly netbsd - -package resources - -import ( - "encoding/binary" - "syscall" -) - -func sysctlUint64(name string) (uint64, error) { - s, err := syscall.Sysctl(name) - if err != nil { - return 0, err - } - // hack because the string conversion above drops a \0 - b := []byte(s) - if len(b) < 8 { - b = append(b, 0) - } - return binary.LittleEndian.Uint64(b), nil -} From d3bc16bd60e11a1662ea22dd40991c9b49c1d247 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Tue, 2 Dec 2025 15:37:06 -0600 Subject: [PATCH 11/11] go mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e97b72e6b..b55d1b774 100644 --- a/go.mod +++ b/go.mod @@ -114,7 +114,6 @@ require ( go.uber.org/zap v1.27.0 golang.org/x/crypto v0.45.0 golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b - golang.org/x/net v0.47.0 golang.org/x/sync v0.18.0 golang.org/x/sys v0.38.0 golang.org/x/term v0.37.0 @@ -370,6 +369,7 @@ require ( go.yaml.in/yaml/v2 v2.4.3 // indirect go4.org v0.0.0-20230225012048-214862532bf5 // indirect golang.org/x/mod v0.29.0 // indirect + golang.org/x/net v0.47.0 // indirect golang.org/x/telemetry v0.0.0-20251009181524-91c411e14f39 // indirect golang.org/x/time v0.14.0 // indirect gonum.org/v1/gonum v0.16.0 // indirect