Giter Club home page Giter Club logo

Comments (4)

yashirooooo avatar yashirooooo commented on September 10, 2024 1

use @polkadot/api": "4.2.2-4"

from crust.js.

RoyTimes avatar RoyTimes commented on September 10, 2024

That specific version seems to be working. However, it's still throwing a bunch of peer dependency warning.

Is there any PR or discussions that you can point me at that can help me further understand the reason for such err?

from crust.js.

yashirooooo avatar yashirooooo commented on September 10, 2024

Whenever the substrate version is upgraded, there will be some metadata upgrades. crust-maxwell is upgraded from sb 2.0 to 3.0, which leads to an error in the metadata type of AccountInfo. Even we cannot guarantee that the default type of 4.* polkadot/api is fully compatible with the latest version of substrate, @crustio/type-definitions just defines some maxwell-specific types

from crust.js.

RoyTimes avatar RoyTimes commented on September 10, 2024

Thanks for the response. For others who might encounter the same issue: the below package.json config seems to work and introduces minimum dependency conflict warmings ... Closing now.

"dependencies": {
    "@crustio/type-definitions": "^0.0.6",
    "@polkadot/api": "4.2.2-4",
    "@polkadot/api-contract": "4.2.2-4",
    "@polkadot/keyring": "6.5.1",
    "@polkadot/util": "6.5.1",
    "@polkadot/util-crypto": "6.5.1",
    "@polkadot/wasm-crypto": "^4.0.2"
  }

from crust.js.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.