Consensys / anonymous-zether

A private payment system for Ethereum-based blockchains, with no trusted setup.
Other
296 stars 78 forks source link

Final transfer test fails in truffle test #52

Closed Rodrirafa closed 2 years ago

Rodrirafa commented 2 years ago

Using macOS, node and yarn versions as indicated in the prerequisites.

transfer test fals with output:

4 passing (13s) 1 failing

1) Contract: ZSC should allow transferring: Uncaught TypeError: Cannot read property 'London' of undefined at signed (/Users/user/.nvm/versions/node/v12.18.3/lib/node_modules/truffle/build/webpack:/node_modules/web3-eth-accounts/lib/index.js:151:18) at /Users/user/.nvm/versions/node/v12.18.3/lib/node_modules/truffle/build/webpack:/node_modules/web3-eth-accounts/lib/index.js:224:1 at processTicksAndRejections (internal/process/task_queues.js:97:5)

ibudisteanu commented 2 years ago

It looks like an internal error in the ethereum library. Try upgrading or downgrading their web3 eth library

Rodrirafa commented 2 years ago

Hello, it seems to be truffle's web3 version that I need to change, correct?

Rodrirafa commented 2 years ago

I changed truffle's version all together. It works now, the version that works is 5.1.63 (for truffle). Although I think any number of older versions might work. Thank you.