-
Notifications
You must be signed in to change notification settings - Fork 129
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
Draft | Fix #638 | v8+ conformance tests #906
base: master
Are you sure you want to change the base?
Draft | Fix #638 | v8+ conformance tests #906
Conversation
Signed-off-by: shamb0 <r.raajey@gmail.com>
Hello @Stebalien, Attempted quick shot, to fix #638, like to align on solution approach ... Looking for following inputs ...
Steps Tried
clear && \
RUST_LOG=fvm=trace \
VECTOR="test-vectors/corpus/extracted/0006-ohsnap-01/fil_7_storagemarket/AddBalance/SysErrInsufficientFunds/ext-0007-fil_7_storagemarket-AddBalance-SysErrInsufficientFunds-5.json" \
cargo test -j$(nproc) \
-- \
conformance \
--nocapture
|
We extract test vectors from mainnet and testnets. You'll need to use the
We're going to need to fetch the bundle from https://github.com/filecoin-project/builtin-actors/releases. v8+ actors will produce different gas outputs depending on where/how they were compiled, so we can't recompile them every time. Just so you know what you're getting into, this is a non-trivial issue. It's a good way to dig deeper into these code-bases, but this it'll require some investigation and design. |
Thanks for pointer, Can understand the level of difficulty & challenge, sure will try my best to take it forward. |
Signed-off-by: shamb0 <r.raajey@gmail.com>
Signed-off-by: shamb0 <r.raajey@gmail.com>
Signed-off-by: shamb0 <r.raajey@gmail.com>
Signed-off-by: shamb0 <r.raajey@gmail.com>
Hello @Stebalien, Note
Introduced build script
|> reason: exit code of msg 0 did not match; expected: ExitCode { value: 6 }, got ExitCode { value: 1 }. Error: pre-validation failed: Send not from account actor
conformance tests result: 0/1 tests passed (0 skipped)
Error: some vectors failed
thread 'conformance_test_runner' panicked at 'assertion failed: `(left == right)`
left: `1`,
right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/cb121987158d69bb894ba1bcc21dc45d1e0a488f/library/test/src/lib.rs:185:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test conformance_test_runner ... FAILED
|
Draft | Fix for #638