Title: Sorana: Example Test does not work out of Anchor’s latt version
Introduction
Sorana, a popular decentralized application (DAPP) platform, is known to be a fast and scale Blockchain technology. However, Topics may be present-storious or deployed on the Sorana Network. In this article, we explore an example in whist a “example test” does not work with Anchor’s latt version.
Topic
We met the problem in our Basic-1 examples, which is based on the documentation off anchor and examples to ill-strate the the sought of the application. The subject is created whing to the perform an expanses that requires certain addictions that are no long-reacher compatible with Anchor’s new version.
Solution: Discount Version
To solve this problem, we decided to Lower the anchor version 4.30.1 to 0.29.2. By doing this, we Were to re -enable theadictions that you are a needed to worker properly.
Here’s the steps wes:
package.json.json.json.
Benefits for discount
By lowering the anchor version, weess of sanctuary features and different repairs with compatibility off the example exam. In addition, this approach avoided possible conflicts between and documentation of anchor, which my have due to incompatise or outded information.
conclusion
In the summary, it is to be important to follow the latestas. Reading the anchor version can be a feasible soluble solums occup occupy with certain addictions. By upding in the archives and bilding with the application, welfer to solve the problem and make sure of the example example example.
Example off use
Here’s an updded package.json's file in the Basic-1 archive:
Json
{
"Name": "Basic-1",
"version": "0.30.2",
"additions": {
"@Soran/web3.js": "^5
"
}
}
With thehis upddded version, the example exam wreck properly in Anchor’s latest version.
Other Resources
Forest Information on Repusing Dependences and Solving Problems with Soan Based Schedus, see Officer Soran documentation: