webb-tools / zero-knowledge-gadgets

Zero-knowledge gadgets for Webb's cross-chain blockchain applications.
Apache License 2.0
89 stars 29 forks source link

update parity-scale-codec #211 #212

Closed salman01zp closed 2 years ago

salman01zp commented 2 years ago

Ink 3.0-rc9 brought some breaking changes one of which is to upgrade parity-scale-codec to version="3".

more info about Ink! 3.0-rc9 changes : here

arkwork-setups had a dep parity-scale-codec, version="2" which started creating multiple version conflicts in ink! smartcontracts

e.g
error: There are multiple `parity-scale-codec` packages in your project, and the specification `parity-scale-codec` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
  parity-scale-codec:2.3.1
  parity-scale-codec:3.1.2
drewstone commented 2 years ago

You'll also want a version bump @salman01zp