Open 0o-de-lally opened 3 years ago
@liangping I merged address-vector
branch into miner-onboarding
and fixed most of the test cases. All the functional tests are passing. Also swarm is working. Plus the transactions the depend on addressvector.
However all the e2e tests are not working. It gives a compiler error now. Probably related to creating the addressvector. Can you take a look?
repro:
cd libra/language/e2e-testsuite/ && cargo test ol
I didn't reproduce this issue? Did you push you code?
Here's introduction for proptest framework. https://docs.rs/proptest/0.8.7/proptest/
@tarcieri can you take a quick look at this? Repro with cd libra/language/e2e-testsuite/ && cargo test ol
Is there a particular branch I should be running this on? On the default OLv4
branch it appears to be working:
running 9 tests
test tests::ol_minerstate_onboarding::miner_onboarding ... ignored
test tests::ol_trusted_account_update::demo ... ok
test tests::ol_demo::demo ... ok
test tests::ol_autopay_enable::autopay_enable_test ... ok
test tests::ol_autopay_create::autopay_create_test ... ok
test tests::ol_minerstate_commit::miner_commit ... ok
test tests::ol_reconfig::reconfig_bulk_update_test ... ok
test tests::ol_upgrade_oracle::test_single_oracle_tx ... ok
test tests::ol_upgrade_oracle::test_validators_oracle_tx ... ok
ahh yes would be branch address-vector
branch miner-onboarding
We want to add the type AddressVector to all transaction helpers in Rust, so that transaction scripts which use vector
as an argument can be called from Rust.On branch
address-vector
Steps to test:
cargo check
Two issues:
https://github.com/OLSF/libra/blob/9a4c230bc742545cbb70a5cf55610bbd7adfbebb/language/transaction-builder/generator/src/common.rs#L31-L37
cargo check
fails because there is no type AddressVector = Vechttps://github.com/OLSF/libra/blob/9a4c230bc742545cbb70a5cf55610bbd7adfbebb/language/transaction-builder/generator/src/rust.rs#L455-L464