Consensys / tessera

Tessera - Enterprise Implementation of Quorum's transaction manager
https://docs.tessera.consensys.net/
Apache License 2.0
175 stars 105 forks source link

get error on 'eth.getPrivateTransaction' #1522

Closed laurivers closed 1 year ago

laurivers commented 1 year ago

I deployed the sample contract code ('private-contract.js') successfully,and could call the private.set()and private.get successfully. But when I called eth.getPrivateTransaction, got error like this.

> private.set(40,{from:eth.accounts[0],privateFor:["6CZ/yNFFCVXxPFFGKLDwo0h1HXSgJsWEH11ddZhRVlo="]});
"0x281125ea71298123c16574c8818732c20a1e4352292c4eafc4b63887499f55a4"
> eth.getPrivateTransaction('0x281125ea71298123c16574c8818732c20a1e4352292c4eafc4b63887499f55a4')
Error: invalid character '`' looking for beginning of value
    at web3.js:6355:37(47)
    at web3.js:5089:62(37)
    at <eval>:1:26(4)

> eth.getPrivateTransactionReceipt('0x281125ea71298123c16574c8818732c20a1e4352292c4eafc4b63887499f55a4')
Error: invalid character '`' looking for beginning of value
    at web3.js:6355:37(47)
    at web3.js:5089:62(37)
    at <eval>:1:33(4)
baptiste-b-pegasys commented 1 year ago

see https://github.com/ConsenSys/quorum/issues/1642