Skip to content

Error al desplegar un smartContract desde Truffle #6

@alexisce

Description

@alexisce

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions