Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Feb 19, 2023
1 parent afe4c1b commit 632058f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions test/transaction_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 632058f

Please sign in to comment.