simolus3 / web3dart

Ethereum library, written in Dart.
MIT License
442 stars 273 forks source link

Version incompatibilities with latest packages uuid, http, pointycastle #145

Closed degloff closed 3 years ago

degloff commented 3 years ago

For various dependency reasons I had to upgrade several packages which required me to do overrides. I tried with webdev 1.2.3 and also recent dev versions.

I need to add the following overrides in pubspec.yaml because of web3dart version issues:

uuid: any pointycastle: any http: any

There is now an issue with uuid version. Can you update your dependency and create a version that can handle the latest packages of uuid, pointycastle and http?

Launching lib/main.dart on sdk gphone x86 arm in debug mode... Running Gradle task 'assembleDebug'... ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/web3dart-1.2.3/lib/json_rpc.dart:34:7: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.

FAILURE: Build failed with an exception.

simolus3 commented 3 years ago

Which web3dart version are you using exactly? I've published some pre-releases of 2.0.0-dev to pub that should support the latest dependencies.

simolus3 commented 3 years ago

I've just published version 2.0 which supports all the latest dependencies.