-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hola buenas tardes
A la hora de desplegar un smartContract desarrollado con truffle siguiendo las instrucciones del articulo:
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