File tree Expand file tree Collapse file tree 7 files changed +27
-14
lines changed Expand file tree Collapse file tree 7 files changed +27
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Release Notes
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## 0.30.0 Feb 17, 2022
5
+ ### New
6
+ - Account has new field ` init_code_hash `
7
+ - ` q-server ` 0.47.0 with ` X-Evernode-Expected-Account-Boc-Version ` header support
8
+
4
9
## 0.29.1 Feb 17, 2022
5
10
### Fixed
6
11
- Build with new version q-server 0.46.0
Original file line number Diff line number Diff line change 14
14
],
15
15
"p8" : {
16
16
"version" : 5 ,
17
- "capabilities" : " 1070 "
17
+ "capabilities" : " 1326 "
18
18
},
19
19
"p9" : [
20
20
0 ,
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ hex = "0.4.2"
11
11
serde_json = " 1.0.62"
12
12
tokio = { version = " 0.2.13" , features = [" macros" ] }
13
13
14
- ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.38 ' }
14
+ ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.39 ' }
15
15
ton_client = { git = ' https://github.com/tonlabs/TON-SDK.git' , package = " ton_client" , tag = ' 1.28.0' }
16
16
ton_types = { git = ' https://github.com/tonlabs/ton-labs-types' , tag = ' 1.10.12' }
17
- ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.31 ' }
17
+ ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.32 ' }
18
18
19
19
ton_node_old = { path = " ../ton_node" }
20
20
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ rustc-hex = "1.0"
32
32
unexpected = { path = " parity/util/unexpected" }
33
33
34
34
# In-house
35
- ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , default-features = false , tag = ' 1.8.31 ' }
36
- ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.38 ' }
35
+ ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , default-features = false , tag = ' 1.8.32 ' }
36
+ ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.39 ' }
37
37
ton_types = { git = ' https://github.com/tonlabs/ton-labs-types' , tag = ' 1.10.12' }
38
38
39
39
Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ tokio-io-timeout = "0.3.1"
33
33
# Domestic
34
34
poa = { path = " ../poa" }
35
35
ton_api = { git = ' https://github.com/tonlabs/ton-labs-tl' , package = ' ton_api' , tag = ' 0.2.110' }
36
- ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.38 ' }
37
- ton_executor = { git = ' https://github.com/tonlabs/ton-labs-executor' , tag = ' 1.15.54 ' }
36
+ ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.39 ' }
37
+ ton_executor = { git = ' https://github.com/tonlabs/ton-labs-executor' , tag = ' 1.15.56 ' }
38
38
ton_types = { git = ' https://github.com/tonlabs/ton-labs-types' , tag = ' 1.10.12' }
39
- ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.31 ' }
40
- ton_labs_assembler = { git = " https://github.com/tonlabs/ton-labs-assembler.git" , tag = ' 1.2.30 ' }
39
+ ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.32 ' }
40
+ ton_labs_assembler = { git = " https://github.com/tonlabs/ton-labs-assembler.git" , tag = ' 1.2.31 ' }
41
41
42
42
# TBD
43
43
# ethcore-network = { git = "https://github.com/paritytech/parity-ethereum.git", package = "ethcore-network" }
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ clap = "2.32.0"
8
8
log = " 0.4.6"
9
9
log4rs = " 0.8.3"
10
10
ton_node = { path = " ../ton_node" , features = [" startup_node" ], package = " ton_node_old" }
11
- ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.38 ' }
12
- ton_block_json = { git = " https://github.com/tonlabs/ton-labs-block-json.git" , tag = ' 0.7.3 ' }
13
- ton_executor = { git = ' https://github.com/tonlabs/ton-labs-executor' , tag = ' 1.15.54 ' }
11
+ ton_block = { git = ' https://github.com/tonlabs/ton-labs-block' , tag = ' 1.7.39 ' }
12
+ ton_block_json = { git = " https://github.com/tonlabs/ton-labs-block-json.git" , tag = ' 0.7.5 ' }
13
+ ton_executor = { git = ' https://github.com/tonlabs/ton-labs-executor' , tag = ' 1.15.56 ' }
14
14
ton_types = { git = ' https://github.com/tonlabs/ton-labs-types' , tag = ' 1.10.12' }
15
- ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.31 ' }
15
+ ton_vm = { git = ' https://github.com/tonlabs/ton-labs-vm' , tag = ' 1.8.32 ' }
16
16
ed25519-dalek = " 1.0.0-pre.4"
17
17
reqwest = " 0.9.7"
18
18
http = " 0.1.17"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use ton_node::node_engine::{DocumentsDb, MessagesReceiver};
21
21
use ton_node:: error:: { NodeResult , NodeErrorKind , NodeError } ;
22
22
use ton_node:: node_engine:: messages:: { InMessagesQueue , QueuedMessage } ;
23
23
use serde:: Deserialize ;
24
- use ton_types:: { AccountId , SliceData } ;
24
+ use ton_types:: { AccountId , SliceData , BuilderData } ;
25
25
use ton_types:: cells_serialization:: serialize_toc;
26
26
use ton_types:: types:: UInt256 ;
27
27
use std:: io:: Cursor ;
@@ -405,9 +405,17 @@ impl DocumentsDb for ArangoHelper {
405
405
let account_addr = account. get_id ( ) . unwrap_or_default ( ) ;
406
406
let cell = account. serialize ( ) ?;
407
407
let boc = serialize_toc ( & cell) ?;
408
+ let mut boc1 = None ;
409
+ if account. init_code_hash ( ) . is_some ( ) {
410
+ // new format
411
+ let mut builder = BuilderData :: new ( ) ;
412
+ account. write_original_format ( & mut builder) ?;
413
+ boc1 = Some ( serialize_toc ( & builder. into_cell ( ) ?) ?) ;
414
+ }
408
415
let set = AccountSerializationSet {
409
416
account,
410
417
boc,
418
+ boc1,
411
419
proof : None ,
412
420
..Default :: default ( )
413
421
} ;
You can’t perform that action at this time.
0 commit comments