Skip to content
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

RPC error in Filecoin.StateMarketDeals #5085

Closed
hanabi1224 opened this issue Dec 16, 2024 · 0 comments · Fixed by #5089
Closed

RPC error in Filecoin.StateMarketDeals #5085

hanabi1224 opened this issue Dec 16, 2024 · 0 comments · Fixed by #5089
Assignees
Labels
Type: Bug Something isn't working

Comments

@hanabi1224
Copy link
Contributor

hanabi1224 commented Dec 16, 2024

Describe the bug

We start getting invalid utf-8 sequence of 1 bytes from index 29 which might be related to FIP-0027

It starts failing since deal proposal ID 208273

With below payload

{"jsonrpc":"2.0","id":0,"method":"Filecoin.StateMarketStorageDeal","params":
[208272, [{"/":"bafy2bzacecwlmnh4c3k7tg7a3ywfhd57bdte47pnihyjf7nmsnekdd4m34bvk"},{"/":"bafy2bzacedf4rnf7t43on4jvqd423htdwuz3s2wwvppwmgu3c22hr4iy4e2vs"},{"/":"bafy2bzacea3wdkta5xwlgikakokxo7tzkk52z6mide67hgtpipe7xncn6d4cc"},{"/":"bafy2bzacecdozdbjihw7gwp26kioyrzmk7fcn2wxrgnjhwqcbxsafafgfvcro"}]]
}

Lotus response:

{"id":0,"jsonrpc":"2.0","result":{"Proposal":{"PieceCID":{"/":"baga6ea4seaqknmo53ymcvgnwyesyb6muftyxaoslh7fzewojiqmy2nzumm6w6jq"},"PieceSize":8388608,"VerifiedDeal":false,"Client":"t0151181","Provider":"t0150406","Label":"","StartEpoch":2236973,"EndEpoch":2755373,"StoragePricePerEpoch":"0","ProviderCollateral":"0","ClientCollateral":"0"},"State":{"SectorNumber":0,"SectorStartEpoch":-1,"LastUpdatedEpoch":-1,"SlashEpoch":-1}}}

Forest response:

{"jsonrpc":"2.0","id":0,"error":{"code":-32603,"message":"invalid utf-8 sequence of 1 bytes from index 29"}}

To reproduce

  1. Go to '...'
  2. Run '....'
  3. See error

Log output

Log Output
paste log output...

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS:
  • Branch/commit
  • Hardware

Other information and links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant