Mento V1 to V2 upgrade (exchange command)
#5
|
Hello everyone, The Mento team will propose a new mento upgrade in the next few weeks that will complete the transition towards Mento V2, fully deprecating the old V1 Exchanges as well as Granda Mento, which will be replaced by the Broker contract in Multi Collateral Mento. This upgrade will affect the The easiest way to integrate Mento V2 is by using the mento-sdk. Examples on how to use the sdk can be found in the mento-sdk-examples repo. For any question regarding the upgrade or the integration of Mento V2, don’t hesitate to reach out to us via Discord. |
Replies: 12 comments 7 replies
|
Thanks re-posting your message here @philbow61, appreciate it! I propose that the Mento team makes PRs to ensure that the I don't foresee that we (@celo-org/devtooling) will become subject-matter experts in the new Mento protocol and smart contracts. We'll happily provide PR reviews similar to the feedback we provided here: Could you remind me when you expect to make these changes and when they have to be released by? In other words, what's your timeline for the deprecation process? Thanks! |
|
Removing grandamento makes sense, it really turned out not to be viable. |
|
Hey @philbow61, pinging on my proposal above. The Are you able to prioritise upgrading the |
|
Contacted Mento in Discord DM today:
|
|
can we just remove this feature? |
|
Hi @arthurgousset , we will not be integrating MentoV2 into the Celo CLI. Instead, I'd advise you mark the exchange command as 'deprecated'. For those interested in learning how to use Mento V2 for triggering exchanges, please point them to the Mento SDK examples repo(https://github.com/mento-protocol/mento-sdk-examples). In future, we will be developing a dedicated Mento CLI. This will include specific commands that allows users to initiate exchanges through the broker. |
|
(for future reference) Here is an example use case that is currently blocked (submitted by @martinvol): Use case:
Is this a use case that is on your radar at Mento? (cc @bayological @philbow61) |
|
Hey, We were just bitten by this too on our CI, we have a script which exchanges tokens on Alfajores using the original Exchange contract (mento v1). We’re using an old ContractKit though (v3.2). So this means governance updated the registry to remove the Exchange contract, right? |
Brief update (as of Tue, Jan 30)
|
Update (as of Wed, Feb 7)We just released a beta version of the CLI (4.0.0-beta.1) that fixes the Could you test it and let us know if anything doesn't work as you would expect? (cc @martinvol @philbow61) |
|
@celo/celocli@latest supports exchange through broker as of version 4.0.0 |
Update (as of Wed, Feb 14)We just released @celo/celocli@4.0.0 (changelog) that fixes the |
Update (as of Wed, Feb 14)
We just released @celo/celocli@4.0.0 (changelog) that fixes the
exchangecommand.