Skip to content

Commit

Permalink
Update ton sdk library to 1.20.0 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvx authored Aug 30, 2021
1 parent 16640d6 commit 0fd3892
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 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.20.0
-----
* Updated TON SDK library to version 1.20.0
* Fix integration tests

1.19.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.19.0__ (download script included)
- TON SDK Library __1.20.0__ (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.19.0';
private const DEFAULT_SDK_VERSION = '1.20.0';

private const SOURCE_FILE_NAME = [
'win32' => 'tonclient_%s_%s_dll.gz',
Expand Down
8 changes: 4 additions & 4 deletions tests/Integration/BocTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testParseMessage(): void
[
'parsed' =>
[
'json_version' => 5,
'json_version' => 6,
'id' => '75d7104cc0cfd4f48a867400ff441c4474028aaa579e44145d906d6acf236eb9',
'boc' => 'te6ccgEBAQEAWAAAq2n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE/zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzSsG8DgAAAAAKOaKEaAL9GKRZA',
'status' => 5,
Expand Down Expand Up @@ -73,7 +73,7 @@ public function testParseTransaction(): void
[
'parsed' =>
[
'json_version' => 5,
'json_version' => 6,
'id' => '4c03498690e9a55331028db426ca4de5de14712378d41ad7d11ea8d6b11ea10c',
'boc' => 'te6ccgECBwEAAYkAA69zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzAAABR1qFb0Lij3YXUvjToK2gGChcRuRSuIb3FgwIfQ0a0OUOaL3siwAAAUdahW9BX6MaNQABQIBQQBAg8ECSoYhRAYEQMCAFvAAAAAAAAAAAAAAAABLUUtpEnlC4z33SeGHxRhIq/htUa7i3D8ghbwxhQTn44EAJ5CYUwRPhAAAAAAAAAAAGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIJy0Bq5P0Ypvb5oB+x5VnOvRmYDssmzdSanPSX4X2kee5HMK7L0RSHsU+/Gjvd3WQcZJ1DggGMRzLOyn3c0TLunlAEBoAYAq2n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE/zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzSoYhRAAAAAAKOtQregL9GNGpA',
'status' => 3,
Expand Down Expand Up @@ -161,7 +161,7 @@ public function testParseAccount(): void
[
'parsed' =>
[
'json_version' => 5,
'json_version' => 6,
'id' => '-1:9999999999999999999999999999999999999999999999999999999999999999',
'workchain_id' => -1,
'boc' => 'te6ccgECZQEAGoMAAnfP+ZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmSyrGVgAAAAAAAAAAAAAAAAgDYpPymZ0AAE0AGAQEBwAICA88gBQMBAd4EAAPQIABB3IAIbU29eLMFwv/ylzomUqgROil6+S37zmb2TpmXYOJ8Aib/APSkICLAAZL0oOGK7VNYMPShCQcBCvSkIPShCAAAAgEgDAoB9P9/Ie1E0CDXScIBjjTT/9M/0wDV9AX4b9P/0//TB9Mf0wfTB/QE9AX4bfhs+HL4cfhw+G74a/hqf/hh+Gb4Y/hijjP0BXD4anD4a234bG34bXD4bm34b3D4cHD4cXD4cnABgED0DvK91wv/+GJw+GNw+GZ/+GHi0w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TYEBAPQOIJEx3rOOFFMzpDUh+E1VAcjLB1mBAQD0Q/ht3jCk6DBTEruRIZEi4mMArPhyIXK7kSGXIacCpHOpBOL4cSH4bl8G+ELIy//4Q88LP/hGzwsA+E/I9AD4SvhL+E74UPhR+FL4TPhNXoDPEcv/y//LB8sfywfLB/QA9ADJ7VT4D/IAAGmnAhxwCdItBz1yHXCwDAAZCQ4uAh1w0fkOFTEcAAkODBAyKCEP////28sZDgAfAB+EdukN6A==',
Expand Down Expand Up @@ -197,7 +197,7 @@ public function testParseBlock(): void
[
'parsed' =>
[
'json_version' => 5,
'json_version' => 6,
'id' => '61e209076c820c9904bf5ce1541c964dd00d46936ca576a816a7eafd62ef0abd',
'status' => 2,
'status_name' => 'finalized',
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.19.0'
'version' => '1.20.0'
]
)
);
Expand All @@ -48,7 +48,7 @@ public function testGetApiReference(): void
{
$resultOfGetApiReference = $this->tonClient->getApiReference();

self::assertEquals('1.19.0', $resultOfGetApiReference->getApi()['version']);
self::assertEquals('1.20.0', $resultOfGetApiReference->getApi()['version']);
self::assertCount(9, $resultOfGetApiReference->getApi()['modules']);
}
}

0 comments on commit 0fd3892

Please sign in to comment.