alastria / alastriaID-truffle-contracts

Alastria ID truffle Smart Contracts
MIT License
2 stars 5 forks source link

Error deploying in local #38

Closed onmax closed 3 years ago

onmax commented 3 years ago

Deploying contracts in a local node is giving an error

How to reproduce it? Can also see this gist

Workaround

Before, publishing this issue, I've talked with @VictorNS69 which gave me a patch to solve this issue:

You can see those changes in this PR in my own repository

Probably, there is a better way of addressing this issue but we don't know how

VictorNS69 commented 3 years ago

The problem (I think) is that when I try to add these flags { gas: 0x6691b7, gasPrice: 0x0 } to the truffle-config.js file, they do not seem to load and are not set.

Does anyone know if I am doing something wrong, or maybe it is a truffle bug?

We also updated truffle dependencies:

    "@truffle/config": "1.3.1",
    "@truffle/hdwallet-provider": "1.4.2",
    "keythereum": "1.2.0",
    "remixd": "0.2.4-alpha.0",
    "truffle": "5.4.2"

Thank you in advance!