Giter VIP home page Giter VIP logo

Comments (7)

daniel-farina avatar daniel-farina commented on August 14, 2024 1

I'm adding more details here to reproduce the issue. I'm adding some seed phrases for the team to test it. This is fine as this chain will get deleted.

This is an out of the box vue app from starport.

The .env for the VUE app is:

VUE_APP_API_COSMOS=https://rest-ufo.alien.blue
VUE_APP_WS_TENDERMINT=wss://wsrpc-ufo.alien.blue/websocket
VUE_APP_API_TENDERMINT=https://rpc-ufo.alien.blue
VUE_APP_ADDRESS_PREFIX=alien
VUE_APP_CHAIN_ID=alien
VUE_APP_CHAIN_NAME="Alien"

What works

Sending from bash works without any issues:

Chain-id: alien

aliend tx bank send alien1ajay55sd4474vrs97fesqky9wt0rf9epyfw4ce alien1dut3t6c4m3m4zck7nr8mdm6an56xls26rw5yft 1000alien --chain-id alien --keyring-backend test

Also sending from the Vuejs's native wallet works perfectly.

The error - Steps to reproduce:

Background

I deleted the local store, and create a brand new Keplr wallet, new browser session, etc.

Visit: https://dapp.alien.blue/

Load this wallet to Keplr:

awesome problem genre agree paddle field banana witness wink business ask term hair doctor tree pond churn burden series involve swift author stem today

Now you are a millionare, jk.

Then connect the wallet like always
image

Then send 1000 to this address

alien1dut3t6c4m3m4zck7nr8mdm6an56xls26rw5yft

image

This what the payload looks like:

{
  "txBody": {
    "messages": [
      {
        "fromAddress": "alien1ajay55sd4474vrs97fesqky9wt0rf9epyfw4ce",
        "toAddress": "alien1dut3t6c4m3m4zck7nr8mdm6an56xls26rw5yft",
        "amount": [
          {
            "denom": "alien",
            "amount": "10000"
          }
        ]
      }
    ],
    "memo": ""
  },
  "authInfo": {
    "signerInfos": [
      {
        "publicKey": {
          "type_url": "/cosmos.crypto.secp256k1.PubKey",
          "value": "CiEDMUDoTCc+uaWzRAOi37p3v3/A4zNshFlbBlIES5qwvNs="
        },
        "modeInfo": {
          "single": {
            "mode": "SIGN_MODE_DIRECT"
          }
        },
        "sequence": "7"
      }
    ],
    "fee": {
      "amount": [
        {
          "denom": "alien",
          "amount": "5000"
        }
      ],
      "gasLimit": "200000"
    }
  },
  "chainId": "alien",
  "accountNumber": "0"
}

It will sit there processing for a while.....
image

Then this error shows on the console:

image

Also, if you send a transaction from Kepler:

image

It shows a error as well:

image

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024 1

Adding the no-legacy-stdTx flag works. We'll prepare a release of the frontend. Soon enough it's deployed and I'll update this issue.

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024 1

Released under v0.1.55

Updating your @starport/vue package is necessary to get the fix.

cc @daniel-farina

from web.

daniel-farina avatar daniel-farina commented on August 14, 2024 1

awesome job @marinhoarthur
Thank you for working with us and keeping us posted along the way.

from web.

marinhoarthur avatar marinhoarthur commented on August 14, 2024

We'll be experimenting with no-legacy-stdTx in here

As soon as we have updates on this, will be posted here.

cc @daniel-farina

from web.

daniel-farina avatar daniel-farina commented on August 14, 2024

Great,
I was just testing that last night based on 167.

You should be able to use the .env above and run the vue locally against the testing chain we made.

Thank you

from web.

daniel-farina avatar daniel-farina commented on August 14, 2024

Great news! We will test it on our side.

from web.

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.