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

[Bug] EVM mode silences package errors in move-cli #165

Open
tnowacki opened this issue Mar 30, 2022 · 1 comment
Open

[Bug] EVM mode silences package errors in move-cli #165

tnowacki opened this issue Mar 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Projects

Comments

@tnowacki
Copy link
Contributor

@vgao1996 I had an issue where the CLI silenced the output from the package manager in EVM mode.

For language/tools/move-cli/tests/move_unit_tests/assign_dev_addr_for_dep/Move.toml
If you have B = "0x2"

I would expect my new error from the package manager to show up, instead I get:

test run_all::assign_dev_addr_for_dep/args.evm.txt ... FAILED
Error: Expected output differs from actual output:
Command `package test --evm`:
BUILDING MoveStdlib
BUILDING Bar
BUILDING Foo
Running Move unit tests
[ PASS    ] 0x2::M::nop
Test result: OK. Total tests: 1; passed: 1; failed: 0
Error: Unable to resolve packages for package 'Foo'

Caused by:
    0: While resolving dependency 'Bar' in package 'Foo'
    1: Unable to resolve package dependency 'Bar'
    2: While resolving dependency 'MoveStdlib' in package 'Bar'
    3: While processing dependency 'MoveStdlib'
    4: Unable to find package manifest for 'MoveStdlib' at "Move.toml/./dep/../../../../../../move-stdlib"
@tnowacki tnowacki added the bug Something isn't working label Mar 30, 2022
@junkil-park junkil-park added this to To do in move-on-evm Apr 1, 2022
@vgao1996
Copy link
Contributor

vgao1996 commented Apr 1, 2022

Yeah this is a known bug I'm still investigating. Strangely, the move-unit-test executable seems to be showing the correct error messages, making me suspect the problem is in the move-cli.

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

No branches or pull requests

2 participants