Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not enough gas was sent in the transaction #21

Open
johnykes opened this issue Mar 30, 2023 · 1 comment
Open

Not enough gas was sent in the transaction #21

johnykes opened this issue Mar 30, 2023 · 1 comment
Assignees

Comments

@johnykes
Copy link

johnykes commented Mar 30, 2023

Hi,
I'm trying to do a simple ESDTTransfer and it seems that the gasLimit parameter is not working.

      let tx = {
        receiver:
          "erd1q4uy7rvftd9xwjec47xuml5pd0u58djq6jm4v5q3r9d92fen3m9qjmg3r9",
        data: "ESDTTransfer@555344432d386434303638@0f4240",
        value: 0,
        gasLimit: 50000000000
      }
      
      await this.$erdjs.dapp
        .sendTransaction(tx)
        .then(({ sessionId, error }) => {
          if (error) {
            alert(error)
          }
          console.log(`sessionId ${sessionId}`)
        })

=>
https://devnet-explorer.multiversx.com/transactions/429fcc36f8f2251fba040c94a1f371443855916463fa37bcd8d51c118b44300a

@ionvv
Copy link
Member

ionvv commented Apr 1, 2023

Thanks for reporting, scheduling time this week to investigate.

@ionvv ionvv self-assigned this Jun 15, 2023
@ionvv ionvv moved this to Todo in erdjs-vue workflow Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants