omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

Fixes issue #18 #22

Closed nickemmons closed 6 years ago

nickemmons commented 6 years ago

This fixes the error TypeError: contract() takes from 1 to 2 positional arguments but 3 were given from issue #18

It fixes it by initializing the contract with abi passed as a keyword argument. The error goes away and tests pass.

smartcontracts commented 6 years ago

Made unnecessary by https://github.com/omisego/plasma-mvp/pull/26

smartcontracts commented 6 years ago

As background, this was a bug in the difference in web3py versions (v3 or v4) and is fixed in #26 by requiring v3.

smartcontracts commented 6 years ago

Closing as this was fixed in #26