etoroxlabs / etoken-libra Goto Github PK
View Code? Open in Web Editor NEWA joyful early experiment of building eTokens on Libra
License: MIT License
A joyful early experiment of building eTokens on Libra
License: MIT License
After copying eToken.mvir
to language/functional_tests/tests/testsuite/modules/
, I'm trying to complete a test with cargo test -p functional_tests eToken
with no success.
Here is the output:
cargo test -p functional_tests eToken.mvir
Finished dev [unoptimized + debuginfo] target(s) in 0.55s
Running target/debug/deps/functional_tests-abeeba34ec30f75e
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out
Running target/debug/deps/testsuite-46ecb34142c1b610
running 1 tests
error: Invalid Token
====================================================================================================
tests/testsuite/modules/eToken.mvir
info: Evaluation Outputs
[0] Transaction(0)
[1] Stage(Parser)
[2] "ParserError: Invalid token at 0"
[3] Status(Failure)
Note: enable pretty printing by setting 'env PRETTY=1'.
error: Unmatched Errors
[2] "ParserError: Invalid token at 0"
thread 'functional_tests::modules/eToken.mvir' panicked at 'test failed', language/functional_tests/tests/testsuite.rs:211:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
test functional_tests::modules/eToken.mvir ... FAILED
failures:
functional_tests::modules/eToken.mvir
test result: FAILED. 0 passed; 1 failed; 493 filtered out
error: test failed, to rerun pass '-p functional_tests --test testsuite'
Branch: testnet
(up to date)
PS: I'm completely new to Rust and its environment, I might be asking something obvious (and I apologize in advance for this).
I see the README.md only mention on how we can do functional_test
the mvir file via
cargo test -p functional_tests eToken
But I'm curious that, for now.
Can we deploy our customized mvir file to the local libra node(s) ?
What like what we can deploy our .sol on Ethereum.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.