Skip to content

Conversation

@rvagg
Copy link
Contributor

@rvagg rvagg commented Jan 15, 2026

Plus some additional fixes that seem to work for me.

Uses merged versions of all the dependencies, so no more custom branches.

utils/example-storage-e2e.js running on host against container
$ PRIVATE_KEY=0xf0ea8d631d31668a3b26999169037c0b75f505c675522d956e7cf114938d7f81 \
RPC_URL=http://localhost:5701/rpc/v1 \
WARM_STORAGE_ADDRESS=0x4A8a81765bFBe09D6fDd167EF954a1D3401340e5 \
MULTICALL3_ADDRESS=0x2e1F1424b41ad7b2E34b0a60501edFc82FEf5BE8 \
USDFC_ADDRESS=0xB514FeE11119E0923950C09A181F1fa3aa62C80b \
SP_REGISTRY_ADDRESS=0x123DeEe2aD1d87757cb59eFA77b4975CbfB8be9d \
node utils/example-storage-e2e.js utils/example-storage-e2e.js
=== Synapse SDK Storage E2E Example ===

Reading file...
  Reading file: utils/example-storage-e2e.js

--- Initializing Synapse SDK ---
RPC URL: http://localhost:5701/rpc/v1
Warm Storage Address: 0x4A8a81765bFBe09D6fDd167EF954a1D3401340e5
Multicall3 Address: 0x2e1F1424b41ad7b2E34b0a60501edFc82FEf5BE8
USDFC Address: 0xB514FeE11119E0923950C09A181F1fa3aa62C80b
✓ Synapse instance created
Wallet address: 0x47CC9101fD026fC112D7FADf6B3c9DF5bE7D4A8c

--- Checking Balances ---
FIL balance: 999.9999902893803 FIL
USDFC balance: 99999.000000 USDFC

--- Setting Up Storage Context ---
✓ Selected service provider: 0x446339aE7245e3cd1FeD701b685C196C69af695e
✓ Using existing data set: 1
Data set ID: 1
Data set contains 2 piece CIDs

--- Service Provider Details ---
Provider ID: 1
Provider Address: 0x446339aE7245e3cd1FeD701b685C196C69af695e
Provider Name: PDP_SP_1
Active: true
PDP Service URL: http://localhost:5714

--- Preflight Upload Check ---
Estimated costs:
  Per epoch (30s): 0.000000 USDFC
  Per day: 0.000000 USDFC
  Per month: 0.000000 USDFC
✓ Sufficient allowances available

--- Uploading ---
Uploading file to service provider...

  Upload progress: 16.99 KB / 16.99 KB (100.0%)
✓ Upload complete! PieceCID: bafkzcibdrz3avnvlg6xarulr54cshlz3sy2eoau2agzumw6vd64yupvbgrh4wcae
✓ Piece addition transaction: 0x44e8d8d6795883d72fa3b0cef1e0b578c21056e512fbf3a0eb7059dcb3a70341
✓ Piece addition confirmed! ID(s): 2

--- Upload Summary ---
File 1: utils/example-storage-e2e.js
    PieceCID: bafkzcibdrz3avnvlg6xarulr54cshlz3sy2eoau2agzumw6vd64yupvbgrh4wcae
    Size: 16.99 KB
    Piece ID: 2

--- Downloading Files ---
Downloading file...

  Downloading file 1: bafkzcibdrz3avnvlg6xarulr54cshlz3sy2eoau2agzumw6vd64yupvbgrh4wcae

✓ Downloaded 1 file successfully

--- Verifying Data ---
File 1 (utils/example-storage-e2e.js): ✅ MATCH (16.99 KB)

✅ SUCCESS: All downloaded files match originals!

--- Piece Status ---
Data set exists on provider: true
Data set last proven: 01/01/1970, 1:05:00 pm
Data set next proof due: 01/01/1970, 2:10:00 pm
Hours until challenge window: 0.1

--- Storage Information ---
Your 1 file is now stored on the Filecoin network:
- Data set ID: 1
- Service provider: 0x446339aE7245e3cd1FeD701b685C196C69af695e

Uploaded pieces:

  File 1: utils/example-storage-e2e.js
    PieceCID: bafkzcibdrz3avnvlg6xarulr54cshlz3sy2eoau2agzumw6vd64yupvbgrh4wcae
    Piece ID: 2
    Size: 16.99 KB
    Retrieval URL: http://localhost:5714/piece/bafkzcibdrz3avnvlg6xarulr54cshlz3sy2eoau2agzumw6vd64yupvbgrh4wcae

The service provider(s) will periodically prove they still have your data.
You are being charged based on the storage size and duration.

Plus some additional fixes that seem to work for me
@rvagg rvagg requested a review from redpanda-f January 15, 2026 12:05
@FilOzzy FilOzzy added this to FOC Jan 15, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Jan 15, 2026
fs::create_dir_all(dir)?;
}

set_volume_ownership(&curio_sp_dir)?;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why this wasn't a problem before but it was a blocker for me this time

/// when starting a fresh devnet because the cached addresses point to contracts
/// that don't exist on the new chain. This function removes the devnet entry
/// so that contracts are actually deployed.
pub fn clear_cached_devnet_deployments() -> Result<(), Box<dyn Error>> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ran into this one once - tried to start again after a previous deployment and it said it skipped over deploying these but it was because it had old addresses that weren't even there

@github-project-automation github-project-automation bot moved this from 📌 Triage to ✔️ Approved by reviewer in FOC Jan 15, 2026
@redpanda-f redpanda-f merged commit ec34f23 into feat/redpanda/v1-rc Jan 15, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC Jan 15, 2026
redpanda-f added a commit that referenced this pull request Jan 16, 2026
* fix: status

* update: status

* fix: readme

* fix: adv

* fix: CI fixed, default repo links fixed, should work

* setup docker

* fix: tar prerequisite

* fix: manual artifacts/ dir creation

* fix: default update

* fix: defaults

* update: docker login

* add: docker images cache

* fix: naming for builder image

* add: rust cache

* CI fixes for disk

* fix: disk issues

* update: CI

* fix: start should be parallel

* fix: more robust CI

* yaml validity

* add: backoff logic and retry

* fix: retry to defaults

* fix: CI, privileged operations

* fix: ci.yml

* fix: compute version hashes

* fix: ci

* fix: ci

* remove: chain progression checks from curio

* add: CI

* fix: CI

* fix: CI

* remove: writing to file

* fix: docker and execution

* fix: build

* add: userdel

* fix: bunch of issues

* fix: CI

* fix: stuff

* fix: retry proof parameters download

* fix: CI downloads proof params from AWS S3

* add: debugging

* fix: proof params

* add: debug logging

* add: debug logging

* Add link to Portainer UI in README

* nit around "Need More" section.

* remove: proof-params SHA check

* fix: docker images and container names use constant now

* fix: cleanup does not delete previously known docker images for no_docker_build

* add: deployment fixes

* fix: docker images and container names

* fix: CI

* fix: retry logic for PDP retry

* increase storage attach wait time

* fix: constants, view into downloaded code

* update: CI for docker logs dump

* Update ci.yml

* fixes

* fix: CI teardown

* add: self hosted runner integration

* add: openssl dependency

* add: openssl-dev dependency

* CI: lists logs files

* add: synapse updates

* makehappy: fmt

* fix: curio default

* update: bump lotus version to 1.34.4-rc1

* fix: branch names

* fix: clippy

* add: sysinfo

* add: sysinfo

* add: bigrunner

* chore: update for merged curio and synapse-sdk PRs (#27)

Plus some additional fixes that seem to work for me

* update: CI

* fix: runs-on

* change: instance type for CI

* update: dependents

* update: CI for V1

---------

Co-authored-by: Steve Loeppky <[email protected]>
Co-authored-by: Rod Vagg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants