From 632058f41a75b2b573f3f5c92367774c41e0d023 Mon Sep 17 00:00:00 2001 From: redDwarf03 Date: Sun, 19 Feb 2023 14:00:34 +0100 Subject: [PATCH] v3.0.0 --- CHANGELOG.md | 2 +- pubspec.yaml | 2 +- test/transaction_test.dart | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09a29288..28a7f215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ Changelog ========= -#### Version 2.0.4 (2023-02-08) +#### Version 3.0.0 (2023-02-19) * BREAKING-CHANGE - Dart SDK model classes migrate to immutable classes with freezed. * BREAKING-CHANGE - Change Address().isConform() to Address().isValid() method diff --git a/pubspec.yaml b/pubspec.yaml index f3caa1bc..b6ee4fc0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ name: archethic_lib_dart description: Archethic dart library for Flutter for Node and Browser. This library aims to provide a easy way to create Archethic transaction and to send them over the network homepage: https://github.com/archethic-foundation/libdart -version: 2.0.4 +version: 3.0.0 environment: sdk: '>=2.19.0 <3.0.0' diff --git a/test/transaction_test.dart b/test/transaction_test.dart index a08dc94b..21801040 100644 --- a/test/transaction_test.dart +++ b/test/transaction_test.dart @@ -480,11 +480,11 @@ condition inherit: [ final originSig = crypto.sign(tx.originSignaturePayload(), originKeypair.privateKey); - expect(parsedTx['address']['address'], crypto.deriveAddress('seed', 1)); + expect(parsedTx['address'], crypto.deriveAddress('seed', 1)); expect(parsedTx['type'], 'transfer'); expect( parsedTx['previousPublicKey'], - uint8ListToHex(Uint8List.fromList(transactionKeyPair.publicKey!)), + uint8ListToHex(transactionKeyPair.publicKey!), ); expect(parsedTx['previousSignature'], uint8ListToHex(previousSig)); expect(parsedTx['originSignature'], uint8ListToHex(originSig));