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

Error al desplegar un smartContract desde Truffle #6

Open
alexisce opened this issue Sep 21, 2020 · 0 comments
Open

Error al desplegar un smartContract desde Truffle #6

alexisce opened this issue Sep 21, 2020 · 0 comments

Comments

@alexisce
Copy link

Hola buenas tardes

A la hora de desplegar un smartContract desarrollado con truffle siguiendo las instrucciones del articulo:

https://medium.com/babel-go2chain/como-desplegar-un-smart-contract-contra-la-red-t-de-alastria-56939034e884

Nos aparece el siguiente error:


1_initial_migration.js

Deploying 'Migrations'

Error: *** Deployment Failed ***

"Migrations" could not deploy due to insufficient funds

  • Account: 0x82eb92e298f92ea15b57bd6acdef8f1df6d8bace
  • Balance: 0 wei
  • Message: sender doesn't have enough funds to send tx. The upfront cost is: 9000000000000000 and the sender's account only has: 0
  • Try:
    • Using an adequately funded account
    • If you are using a local Geth node, verify that your node is synced.
at /home/alexisce/.nvm/versions/node/v8.17.0/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:364:1
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)

Truffle v5.1.21 (core: 5.1.21)
Node v8.17.0


¿Se trata de un problema de configuracion o versiones de Truffle?

Os muestro el listado de las versiones que estamos utilizando:

Truffle v5.1.21 (core: 5.1.21)
Solidity v0.5.16 (solc-js)
Node v8.17.0
Web3.js v1.2.1

Y el fragmento del fichero truffle-config.js:

/***********************************************************
telsius: {
host: "[IP_NODE]/rpc",
from: "0x82eb92e298f92ea15b57bd6acdef8f1df6d8bace",
port: 443,
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000,
type: "quorum" // needed for Truffle to support Quorum
}
/***********************************************************

Si desplegamos el mismo smartContract en Ropsten funciona correctamente.

Muchas gracias.

Saludos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant