-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Bug][move-compiler-v2] aptos-api tests fail with MOVE_COMPILER_V2=true #13869
Comments
@brmataptos, when I ran the command you gave, only one error is generated, which makes sense because V2 generates different bytecode:
|
We may need V2 specific golden files for api tests. |
I still see the failure for test_get_account_transactions ("ledger version too new"), in addition to the golden file one:
|
If we want to use v2 as default for framework code this needs to be fixed. |
@rahxephon89 now that we are planning to use v2 for framework, should we just update the golden file? We can just have v2 only golden file? |
🐛 Bug
Running
Leads to 3 failures:
tests::state_test::test_get_account_module
has a different goldenfile, due to a bytecode signature difference.MOVE_COMPILER_V2=true
. This would be easy to add toapi/test-context/src/golden_output.rs
.tests::accounts_test::test_get_account_modules_by_ledger_version
reports:tests::transactions_test::test_get_account_transactions
has a shorter error, perhaps because compilation output is mixed into the above output:The text was updated successfully, but these errors were encountered: