Skip to content

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jul 4, 2025

DRAFT for now unfortunately. See filecoin-project/go-state-types#397 that this depends on. We have to:

@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz Jul 4, 2025
@rvagg
Copy link
Member Author

rvagg commented Jul 4, 2025

Background for this is in Slack:

curl -X POST https://api.calibration.node.glif.io/rpc/v1 \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "Filecoin.StateDecodeParams",
    "params": [
      "t03", // CRON ACTOR
      1, // METHOD_NUM 1
      "gYGCQwDpBwE=", 
      [
        { "/": "bafy2bzacedpaiat6lkx7bfvoibvfpx62sce3winwb5dmnkdsszgva6pguc5oy" },
        { "/": "bafy2bzacebuyutgmfr5l6e2k4rnqtpdmj7dby4vo46ai63qfqinkxx5zdmie6" }
      ]
    ],
    "id": 1
  }'

{"error":{"code":1,"message":"fatal error calling 'Filecoin.StateDecodeParams': panic in rpc method 'Filecoin.StateDecodeParams': interface conversion: *cron.ConstructorParams is not typegen.CBORUnmarshaler: missing method UnmarshalCBOR"},"id":1,"jsonrpc":"2.0"}

@@ -85,21 +85,21 @@ require (
github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab
github.com/invopop/jsonschema v0.12.0
github.com/ipfs/bbloom v0.0.4
github.com/ipfs/boxo v0.20.0
github.com/ipfs/go-block-format v0.2.0
github.com/ipfs/boxo v0.32.0
Copy link
Member Author

Choose a reason for hiding this comment

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

ugh!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⌨️ In Progress
Development

Successfully merging this pull request may close these issues.

1 participant