Open kigawas opened 4 years ago
Hmm, I don't know if HDWalletProvider supports quorum. @CruzMolina do you have any information about whether this is possible?
Hey @kigawas , currently raft
won't work out of the box with @truffle/hdwallet-provider
(nanosecond timestamp issue as mentioned in the StackOverflow thread). I'm not sure if the Proxy mentioned in that thread will integrate well with quorum-wizard
, but last I checked using the default istanbul
BFT should be compatible with @truffle/hdwallet-provider
.
Hey @kigawas , currently
raft
won't work out of the box with@truffle/hdwallet-provider
(nanosecond timestamp issue as mentioned in the StackOverflow thread). I'm not sure if the Proxy mentioned in that thread will integrate well withquorum-wizard
, but last I checked using the defaultistanbul
BFT should be compatible with@truffle/hdwallet-provider
.
Confirmed and switched to istanbul
.
Was wondering whether it can respect the "type" parameter as a normal truffle config.
Was wondering whether it can respect the "type" parameter as a normal truffle config.
This would be awesome, but would require, at a minimum, pulling in the hdwallet-provider
logic into @truffle/contract
... There might be more to it that entails messing around with provider logic.
For future reference, an easy option would be to publish a separate hdwallet-provider
specifically intended for quorum
usage (@truffle/hdwallet-provider-quorum
?) that makes sure to monkey patch web3
to resolve known compatibility issues betw quorum & eth rpc responses.
Issue
Say you have network config, whose backend is a quorum RPC (Raft consensus, started by quorum-wizard).
Steps to Reproduce
start a quorum by quorum-wizard like
npx quorum-wizard -q
cd network/3-nodes-raft-tessera-bash/
andbash start.sh
. Then deploy the contract registry in quorum's cakeshop blockexplorer.Deploy contract
Expected Behavior
Successfully deployed.
Actual Results
It shows error "Number can only safely store up to 53 bits" the same as https://stackoverflow.com/questions/54128954/quorum-ethereum-truffle-error-number-can-only-safely-store-up-to-53-bits/61885468
Environment
truffle version
): Irrelevant, but@truffle/hdwallet-provider": "^1.0.35"
node --version
): 13.13.0npm --version
): 6.14.4