[Libra] Update dependencies, point to latest code changes#1252
[Libra] Update dependencies, point to latest code changes#1252ea-open-source wants to merge 12 commits into0LNetworkCommunity:v6from
Conversation
…cli, util and off chain
| const UID_TAKEN: u64 = 010023; | ||
| /// Attempt to make a payment to a non-community-wallet | ||
| const PAYEE_NOT_COMMUNITY_WALLET: u64 = 010024; | ||
| // /// Attempt to make a payment to a non-community-wallet |
There was a problem hiding this comment.
Could you add why this is commented out and what to do with it in the future?
There was a problem hiding this comment.
These are not exactly my changes but auto-gerenated changes after running make stdlib
There was a problem hiding this comment.
Oh yes sorry, did not see they were in releases folder.
| fun maybe_pay_if_deadline_today(vm: &signer, state: &mut TxSchedule) acquires Freeze { | ||
| let epoch = DiemConfig::get_current_epoch(); | ||
| fun maybe_pay_deadline(vm: &signer, state: &mut TxSchedule, epoch: u64) acquires Freeze { | ||
| // let epoch = DiemConfig::get_current_epoch(); |
| storage-interface = { path = "../storage/storage-interface" } | ||
| move-core-types = { git = "https://github.com/0LNetworkCommunity/move-0L", rev = "94e1039c9fdf1472c2c7775de43135d28dafc955" } | ||
| move-resource-viewer = { git = "https://github.com/0LNetworkCommunity/move-0L", rev = "94e1039c9fdf1472c2c7775de43135d28dafc955" } | ||
| move-core-types = { git = "https://github.com/0LNetworkCommunity/move-0L", branch = "v6" } |
There was a problem hiding this comment.
We want to use rev instead of branch. Using branch is discouraged since it requires manual cargo update which is super easy to forget, causes inconsistency and confusion. Plus, our upstreams Diem, Aptos are also using rev more than branches.
There was a problem hiding this comment.
Interesting, I was under the impression that this upgrade aims to remove rev and instead use branch for easier update in the future. Any concern about build reproducibility can be addressed by a static move.lock with own rev.
I understand your concern about manual cargo update but if someone want to update the rev they would have to rerun cargo update anyway.
There was a problem hiding this comment.
No, you do not need cargo update if you use rev, you can test it. That's why rev is suggested in the community.
|
@Dat-H-Tran Also take a look at the smoke and forge testsuites, I believe they are not building |
As I have pointed out during our stand up last week. This failed build is because Please give the final words on this issue of using |
|
@Dat-H-Tran Let's use revs. |
Motivation
This PR is one part of the process to switch Carpe build to the latest v6 development.
There will be another PR after this one to update the cargo.lock file once the updated dependecies on Move-0L is accepted and with added fix to missing
multisig_addressofencode_community_transfer_script_functionHave you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Pass build.
Related PRs
#70