Skip to content

Commit

Permalink
Update ton sdk library (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvx authored Sep 5, 2021
1 parent 0fd3892 commit 52e3385
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

1.21.0
-----
* Updated TON SDK library to version 1.21.2
* Fix integration tests

1.20.0
-----
* Updated TON SDK library to version 1.20.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- ffi extension
- json extension
- zlib extension
- TON SDK Library __1.20.0__ (download script included)
- TON SDK Library __1.21.2__ (download script included)

## Installation
To install it via [Composer](https://getcomposer.org/) simply run:
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class Scripts
{
private const DEFAULT_SDK_VERSION = '1.20.0';
private const DEFAULT_SDK_VERSION = '1.21.2';

private const SOURCE_FILE_NAME = [
'win32' => 'tonclient_%s_%s_dll.gz',
Expand Down
30 changes: 11 additions & 19 deletions tests/Integration/NetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,8 @@ public function testWaitForCollection(): void
],
(new Filters())->add(
'last_paid',
Filters::IN,
[
1626994845,
1626994874,
1626994901,
1626994923,
1626995009,
1626995043,
1626995129,
]
Filters::EQ,
1626995009,
),
90_000
);
Expand All @@ -188,16 +180,16 @@ public function testWaitForCollection(): void
'result' => [
'acc_type' => 1,
'acc_type_name' => 'Active',
'balance' => '0x1ce2514f',
'boc' => 'te6ccgECEwEAAtEAAm/ABZt8JB+kfd6E26p9ba3ntTAHLk0vdPEuAfyVkcZ2rnyiJoTRAwfPxOgAAAAB40ZDCQc4lFPTQAYBAWGAAAC9aDmSxAAAAAAADbugQ5GEr7/A0frBSqVoBolcj9xQeKrl/o3bS8ET28xX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vMGmbswIAf5w7UTQ9AQBMiDWgDLtRyJvjCNvjCFvjCDtV18EcGh1oWB/upVoeKFgMd7tR28R1wv/uvLgZPgA+kDTf9IAMCHCACCXMCH4J28Qud7y4GUiIiJwyHHPCwEizwoAcc9A+CjPFiTPFiP6AnHPQHD6AnD6AoBAz0D4I88LH3LPQCDJCQAWIvsAXwVfA3Bq2zACAUgMCwDruIkAJ12omgQQIBBa6L5OYB8AHaj5ECAgGegZOg3xgD6Aiy3xnargJg4dqO3iUAgegd5RWuF//ajkDeImADkZf/k6Deo9qv2o5A3iWR6ACwQY4DHCBg4Z4WfwQQNu6BnhZ+456DK54s456DxALeI54tk9qo4NUADK3HAh10kgwSCOKyDAAI4cI9Bz1yHXCwAgwAGW2zBfB9swltswXwfbMOME2ZbbMF8G2zDjBNngItMfNCB0uyCOFTAgghD/////uiCZMCCCEP////6639+W2zBfB9sw4CMh8UABXwc=',
'code_hash' => '98196905d4f1d250741ab885ac2411e0a547c72486f613d8cb5f302fd9d51c6a',
'data' => 'te6ccgEBBQEAZQABYYAAAL1oOZLEAAAAAAANu6BDkYSvv8DR+sFKpWgGiVyP3FB4quX+jdtLwRPbzFd0SWABAgPPIAQCAQHeAwAD0CAAQdhyMJX3+Bo/WClUrQDRK5H7ig8VXL/Ru2l4Int5iu6JLA==',
'data_hash' => 'de7d64125f5587c9c2dc9ddd5cc3d314f8e422ae1d9a938ddcfd711dd66812ca',
'balance' => '0x126b1120f',
'boc' => 'te6ccgECTQEAE1wAAnHADvIkOQCHUBLlPIJfZKFvSL9WzoEmsyauUMF3gxtkFjDSmqRpwwfPyggAAAAB9d8BCUBJrESD00ADAQHfm2UgtLXcX7WDvyigAxFo3LjYQvK1f/pa3yfsdx2M6rUAAAF60HWKF82ykFpa7i/awd+UUAGItG5cbCF5Wr/9LW+T9juOxnVagAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIAAAAAAQGAIARaATbKQWlruL9rB35RQAYi0blxsIXlav/0tb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AHwAY',
'code_hash' => '207dc560c5956de1a2c1479356f8f3ee70a59767db2bf4788b1d61ad42cdad82',
'data' => 'te6ccgEBAgEAmAAB35tlILS13F+1g78ooAMRaNy42ELytX/6Wt8n7HcdjOq1AAABetB1ihfNspBaWu4v2sHflFABiLRuXGwheVq//S1vk/Y7jsZ1WoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAAAAAAEBgBAEWgE2ykFpa7i/awd+UUAGItG5cbCF5Wr/9LW+T9juOxnVagEA==',
'data_hash' => '7cf565c98e475e7f493cc6dcb0d7d2f4ec5fd3eb1aa215d50043d65c927430cf',
'due_payment' => null,
'id' => '0:59b7c241fa47dde84dbaa7d6dade7b530072e4d2f74f12e01fc9591c676ae7ca',
'last_paid' => 1626994845,
'last_trans_lt' => '0x78d190c2',
'id' => '0:ef2243900875012e53c825f64a16f48bf56ce8126b326ae50c177831b641630d',
'last_paid' => 1626995009,
'last_trans_lt' => '0x7d77c042',
'library' => null,
'library_hash' => null,
'proof' => null,
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/TonClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function testVersion(): void
$expected = new ResultOfVersion(
new Response(
[
'version' => '1.20.0'
'version' => '1.21.2'
]
)
);
Expand All @@ -48,7 +48,7 @@ public function testGetApiReference(): void
{
$resultOfGetApiReference = $this->tonClient->getApiReference();

self::assertEquals('1.20.0', $resultOfGetApiReference->getApi()['version']);
self::assertEquals('1.21.2', $resultOfGetApiReference->getApi()['version']);
self::assertCount(9, $resultOfGetApiReference->getApi()['modules']);
}
}
2 changes: 1 addition & 1 deletion tests/Integration/TvmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function testRunGet(): void
$this->expectExceptionObject(
SDKException::create(
[
'message' => 'Contract execution was terminated with error: code 11, value: 128513',
'message' => 'Contract execution was terminated with error: Unknown error, exit code: 11 (unknown error).',
'code' => 414,
]
)
Expand Down

0 comments on commit 52e3385

Please sign in to comment.