You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the tests fail (even when I provide the default --filter-file).
This should take ~1min.
$ cargo run --release --bin forest-tool -- api compare ~/chainsafe/snapshots/forest_snapshot_calibnet_2024-06-27_height_1738657.forest.car.zst
Validate the captured RPC calls (filecoin-common-node-api).
$ cargo run --quiet --release --manifest-path rust/Cargo.toml --package tool -- openrpc validate spec.json < capture 2>&1| grep -v 'not found in spec'script[1917]: failed to validate method Filecoin.StateGetNetworkParams: [invalid-result]script[2419]: failed to validate method Filecoin.StateMinerInfo: [invalid-result]...script[2453]: failed to validate method Filecoin.StateMinerInfo: [invalid-result]script[2540]: failed to validate method Filecoin.StateMinerProvingDeadline: [invalid-result]script[2542]: failed to validate method Filecoin.StateMinerProvingDeadline: [invalid-result]...script[2575]: failed to validate method Filecoin.StateMinerProvingDeadline: [invalid-result]...
Drilling into the failing items.
Note that these are only the ones covered by Forest's integration tests.
$ sed '1918q;d' capture | cargo run --quiet --release --manifest-path rust/Cargo.toml --package tool -- openrpc validate spec.jsonscript[0]: failed to validate method Filecoin.StateGetNetworkParams (1 errors)invalid result: /properties/SupportedProofTypes/type /SupportedProofTypes [3,4] is not of type "integer"...
$ sed '2420q;d' capture | cargo run --quiet --release --manifest-path rust/Cargo.toml --package tool -- openrpc validatespec.jsonscript[0]: failed to validate method Filecoin.StateMinerInfo (1 errors)invalid result: /properties/WindowPoStProofType/type /WindowPoStProofType 13 is not of type "string"...
$ sed '2541q;d' capture | cargo run --quiet --release --manifest-path rust/Cargo.toml --package tool -- openrpc validatespec.jsonscript[0]: failed to validate method Filecoin.StateMinerProvingDeadline (1 errors)invalid result: /type {"Challenge":1738587,"Close":1738667,"CurrentEpoch":1738628,"FaultCutoff":1738537,"FaultDeclarationCutoff":70,"Index":22,"Open":1738607,"PeriodStart":1737287,"WPoStChallengeLookback":20,"WPoStChallengeWindow":60,"WPoStPeriodDeadlines":48,"WPoStProvingPeriod":2880} is not of type "string"...
The text was updated successfully, but these errors were encountered:
Repro with this setup:
Start an RPC server (
forest
).Start RPC capture (
filecoin-common-node-api
).This should capture ~700MiB.
Make RPC calls (
forest
).Note that the tests fail (even when I provide the default
--filter-file
).This should take ~1min.
$ cargo run --release --bin forest-tool -- api compare ~/chainsafe/snapshots/forest_snapshot_calibnet_2024-06-27_height_1738657.forest.car.zst
Validate the captured RPC calls (
filecoin-common-node-api
).Drilling into the failing items.
Note that these are only the ones covered by Forest's integration tests.
The text was updated successfully, but these errors were encountered: