Coder Social home page Coder Social logo

Comments (7)

xlab avatar xlab commented on August 17, 2024 1

Reopening coz issue need handling for long term. Btw, I think this would be a hotfix for the upcoming release
MetaMask/metamask-extension#11309

So the actual breaking change was in v9.6.0, which is currently deployed in Chrome extension store.

we should wait until v9.6.1 and try without our hack on FE. Should work fine for both dec / hex after v9.6.1

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on August 17, 2024 1

Resolved in InjectiveLabs/injective-ts@fe4b05b and 98821b5

from injective-helix-demo.

albertchon avatar albertchon commented on August 17, 2024

my metamask wasn't unlocked when I pressed the trade button. I was then prompted to unlock metamask and then I saw this error thereafter

from injective-helix-demo.

achilleas-kal avatar achilleas-kal commented on August 17, 2024

This occurs even when MetaMask is unlocked, trades cannot be placed on the FE at all.

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on August 17, 2024

Among other things, the prepareTx endpoint from the injective-exchange returns the chainId, which, for some reason is returned in hex now, and previously I think it was returned as a number?

Example:

{"primaryType":"Tx","domain":{"name":"Injective Web3","version":"1.0.0","chainId":"0x2a","verifyingContract":"cosmos","salt":"0"}}

@albertchon @xlab

On a related note, Metamask did an update on validating the chainId: MetaMask/metamask-extension#11309

from injective-helix-demo.

albertchon avatar albertchon commented on August 17, 2024

Can this be closed now without the dirty fix @bangjelkoski ? https://github.com/MetaMask/metamask-extension/releases

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on August 17, 2024

I will do a check now and close the issue if needed.

from injective-helix-demo.

Related Issues (20)

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.