Skip to content

Commit c8c97b2

Browse files
authored
Crates and repos renaming; repo ever_types merged into repo ever_block
1 parent 3dba9a9 commit c8c97b2

File tree

245 files changed

+1309
-2149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+1309
-2149
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Version 0.58.2
6+
7+
- Repo ever_types merged into repo ever_block
8+
9+
## Version 0.58.0
10+
11+
- The crate was renamed from `ton_node` to `ever-node`
12+
- Supported renaming of other crates
13+
514
## Version 0.57.0
615

716
- Shadow SMFT is prepared for first deployment

Cargo.toml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
build = 'common/build/build.rs'
33
edition = '2021'
4-
name = 'ton_node'
5-
version = '0.57.0'
4+
name = 'ever-node'
5+
version = '0.58.2'
66

77
[workspace]
88
members = [ 'storage' ]
@@ -86,17 +86,16 @@ stream-cancel = '0.8.0'
8686
string-builder = '^0.2.0'
8787
tokio = { features = [ 'rt-multi-thread' ], version = '1.5' }
8888
tokio-util = '0.7'
89-
adnl = { features = [ 'client', 'node', 'server' ], git = 'https://github.com/tonlabs/ever-adnl.git', tag = '0.10.15' }
89+
adnl = { features = [ 'client', 'node', 'server' ], git = 'https://github.com/everx-labs/ever-adnl.git', tag = '0.10.22' }
9090
catchain = { path = 'catchain' }
91-
lockfree = { git = 'https://github.com/tonlabs/lockfree.git' }
91+
ever_abi = { git = 'https://github.com/everx-labs/ever-abi.git', tag = '2.5.1' }
92+
ever_block = { git = 'https://github.com/everx-labs/ever-block.git', tag = '1.10.0' }
93+
ever_block_json = { git = 'https://github.com/everx-labs/ever-block-json.git', tag = '0.8.3' }
94+
ever_executor = { git = 'https://github.com/everx-labs/ever-executor.git', tag = '1.17.3' }
95+
ever_vm = { git = 'https://github.com/everx-labs/ever-vm.git', tag = '2.1.2' }
96+
lockfree = { git = 'https://github.com/everx-labs/lockfree.git' }
9297
storage = { path = 'storage' }
93-
ton_abi = { git = 'https://github.com/tonlabs/ever-abi.git', tag = '2.4.25' }
94-
ton_api = { git = 'https://github.com/tonlabs/ever-tl.git', package = 'ton_api', tag = '0.3.72' }
95-
ton_block = { git = 'https://github.com/tonlabs/ever-block.git', tag = '1.9.141' }
96-
ton_block_json = { git = 'https://github.com/tonlabs/ever-block-json.git', tag = '0.7.231' }
97-
ton_executor = { git = 'https://github.com/tonlabs/ever-executor.git', tag = '1.16.122' }
98-
ton_types = { git = 'https://github.com/tonlabs/ever-types.git', tag = '2.0.39' }
99-
ton_vm = { git = 'https://github.com/tonlabs/ever-vm.git', tag = '1.9.22' }
98+
ton_api = { git = 'https://github.com/everx-labs/ever-tl.git', package = 'ton_api', tag = '0.3.77' }
10099
validator_session = { path = 'validator-session' }
101100

102101
[dev-dependencies]
@@ -108,20 +107,20 @@ pretty_assertions = '1.3'
108107
tokio = { features = [ 'macros' ], version = '1.5' }
109108

110109
[features]
111-
default = [ 'telemetry', 'ton_types/export_key' ]
112-
export_key = [ 'catchain/export_key', 'ton_types/export_key' ]
110+
default = [ 'telemetry', 'ever_block/export_key' ]
111+
export_key = [ 'catchain/export_key', 'ever_block/export_key' ]
113112
external_db = [ 'rdkafka' ]
114113
fast_finality_extra = [ ]
115-
gosh = [ 'ton_block/gosh', 'ton_vm/gosh' ]
114+
gosh = [ 'ever_block/gosh', 'ever_vm/gosh' ]
116115
log_metrics = [ ]
117116
prometheus = [ 'metrics-exporter-prometheus', 'log_metrics' ]
118-
signature_with_id = [ 'ton_block/signature_with_id', 'ton_vm/signature_with_id', 'ton_executor/signature_with_id' ]
117+
signature_with_id = [ 'ever_block/signature_with_id', 'ever_vm/signature_with_id', 'ever_executor/signature_with_id' ]
119118
slashing = [ 'validator_session/slashing' ]
120119
statsd = [ 'metrics-exporter-statsd', 'log_metrics', 'dep:statsd' ]
121120
telemetry = [ 'adnl/telemetry', 'storage/telemetry' ]
122121
trace_alloc = [ ]
123122
trace_alloc_detail = [ 'trace_alloc' ]
124-
verification = [ 'ton_types/export_key' ]
123+
verification = [ 'ever_block/export_key' ]
125124

126125
[profile]
127126

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ cargo test --release -- --nocapture --test-threads=1
4646

4747
To get help about command line arguments, run
4848
```
49-
ton_node --help
49+
ever-node --help
5050
```
5151

5252
## Everscale/Venom Console Usage

bin/adnl_ping.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*
2-
* Copyright (C) 2019-2021 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

@@ -20,8 +20,8 @@ use std::{convert::TryInto, env, fs::File, io::BufReader, sync::Arc};
2020
use ton_api::ton::{TLObject, rpc::ton_node::GetCapabilities};
2121
#[cfg(feature = "telemetry")]
2222
use ton_api::tag_from_boxed_type;
23-
use ton_node::config::TonNodeGlobalConfigJson;
24-
use ton_types::{error, fail, base64_decode, Ed25519KeyOption, Result};
23+
use ever_node::config::TonNodeGlobalConfigJson;
24+
use ever_block::{error, fail, base64_decode, Ed25519KeyOption, Result};
2525

2626
include!("../common/src/test.rs");
2727

bin/adnl_resolve.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
/*
2-
* Copyright (C) 2019-2022 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

1414
use adnl::node::{AdnlNode, AdnlNodeConfig};
1515
use adnl::{DhtNode, DhtSearchPolicy};
1616
use std::{convert::TryInto, env, fs::File, io::BufReader};
17-
use ton_node::config::TonNodeGlobalConfigJson;
18-
use ton_types::{error, fail, base64_decode, KeyId, Result};
17+
use ever_node::config::TonNodeGlobalConfigJson;
18+
use ever_block::{error, fail, base64_decode, KeyId, Result};
1919

2020
include!("../common/src/test.rs");
2121

bin/console.rs

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
/*
2-
* Copyright (C) 2019-2023 EverX. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

1414
use adnl::{
1515
common::TaggedTlObject, client::{AdnlClient, AdnlClientConfig, AdnlClientConfigJson}
1616
};
17+
use ever_abi::{Contract, Token, TokenValue, Uint};
18+
use ever_block::{
19+
error, fail, AccountStatus, base64_decode, base64_encode, BlockIdExt, BuilderData,
20+
Deserializable, Ed25519KeyOption, Result, Serializable, ShardAccount, SliceData,
21+
UInt256, write_boc
22+
};
23+
use ever_block_json::parse_state;
1724
use std::{collections::HashMap, convert::TryInto, env, str::FromStr, time::Duration};
18-
use ton_abi::{Contract, Token, TokenValue, Uint};
1925
use ton_api::{
2026
serialize_boxed,
2127
ton::{
@@ -26,13 +32,6 @@ use ton_api::{
2632
};
2733
#[cfg(feature = "telemetry")]
2834
use ton_api::tag_from_bare_object;
29-
use ton_block::{
30-
AccountStatus, Deserializable, BlockIdExt, Serializable, ShardAccount
31-
};
32-
use ton_types::{
33-
error, fail, base64_decode, base64_encode, BuilderData, Ed25519KeyOption, Result,
34-
SliceData, UInt256, write_boc
35-
};
3635

3736
include!("../common/src/test.rs");
3837

@@ -626,7 +625,7 @@ impl ControlClient {
626625
let body = BuilderData::with_raw(data, len)?;
627626
let body = body.into_cell()?;
628627
log::trace!("message body {}", body);
629-
let data = ton_types::write_boc(&body)?;
628+
let data = write_boc(&body)?;
630629
let path = params.next().map(
631630
|path| path.to_string()).unwrap_or("recover-query.boc".to_string()
632631
);
@@ -780,7 +779,7 @@ impl ControlClient {
780779
body
781780
};
782781
log::trace!("message body {}", body);
783-
let data = ton_types::write_boc(&body)?;
782+
let data = write_boc(&body)?;
784783
let path = params.next().map(
785784
|path| path.to_string()).unwrap_or("validator-query.boc".to_string()
786785
);
@@ -808,7 +807,7 @@ impl ControlClient {
808807
let zerostate =
809808
serde_json::from_str::<serde_json::Map<String, serde_json::Value>>(&zerostate)
810809
.map_err(|err| error!("Can't parse read zerostate json file: {}", err))?;
811-
let zerostate = ton_block_json::parse_state(&zerostate)
810+
let zerostate = parse_state(&zerostate)
812811
.map_err(|err| error!("Can't parse read zerostate json file: {}", err))?;
813812

814813
let key = SliceData::load_builder(index.write_to_new_cell()?)?;
@@ -941,12 +940,12 @@ mod test {
941940
use serde_json::json;
942941
use storage::block_handle_db::BlockHandle;
943942
use ton_api::deserialize_boxed;
944-
use ton_block::{
943+
use ever_block::{
945944
generate_test_account_by_init_code_hash,
946945
BlockLimits, ConfigParam0, ConfigParam34, ConfigParamEnum, McStateExtra, ParamLimits,
947946
ShardIdent, ShardStateUnsplit, ValidatorDescr, ValidatorSet
948947
};
949-
use ton_node::{
948+
use ever_node::{
950949
collator_test_bundle::{create_engine_telemetry, create_engine_allocated},
951950
config::TonNodeConfig, engine_traits::{EngineAlloc, EngineOperations},
952951
internal_db::{InternalDbConfig, InternalDb, state_gc_resolver::AllowStateGcSmartResolver},
@@ -955,7 +954,7 @@ mod test {
955954
validator::validator_manager::ValidationStatus, shard_states_keeper::PinnedShardStateGuard,
956955
};
957956
#[cfg(feature = "telemetry")]
958-
use ton_node::engine_traits::EngineTelemetry;
957+
use ever_node::engine_traits::EngineTelemetry;
959958

960959
const CFG_DIR: &str = "./target";
961960
const CFG_NODE_FILE: &str = "light_node.json";
@@ -987,7 +986,7 @@ mod test {
987986
&ShardAccount::with_params(&account, UInt256::default(), 0).unwrap()
988987
).unwrap();
989988
let cell = ss.serialize().unwrap();
990-
let bytes = ton_types::write_boc(&cell).unwrap();
989+
let bytes = write_boc(&cell).unwrap();
991990
let shard_state_id = BlockIdExt::with_params(
992991
ShardIdent::full(0),
993992
0,
@@ -1025,7 +1024,7 @@ mod test {
10251024
ss.write_custom(Some(&ms)).unwrap();
10261025

10271026
let cell = ss.serialize().unwrap();
1028-
let bytes = ton_types::write_boc(&cell).unwrap();
1027+
let bytes = write_boc(&cell).unwrap();
10291028
let master_state_id = BlockIdExt::with_params(
10301029
ShardIdent::masterchain(),
10311030
0,

bin/dhtscan.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/*
2-
* Copyright (C) 2019-2021 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

1414
use adnl::node::{AdnlNode, AdnlNodeConfig};
1515
use adnl::DhtNode;
1616
use adnl::OverlayNode;
1717
use std::{collections::HashMap, env, fs::File, io::BufReader, ops::Deref, sync::Arc};
18-
use ton_node::config::TonNodeGlobalConfigJson;
19-
use ton_types::{error, fail, base64_encode, KeyOption, Result};
18+
use ever_node::config::TonNodeGlobalConfigJson;
19+
use ever_block::{error, fail, base64_encode, KeyOption, Result};
2020

2121
include!("../common/src/test.rs");
2222

bin/gendht.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
2-
* Copyright (C) 2019-2021 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

1414
use adnl::{adnl_node_test_key, adnl_node_test_config, node::{AdnlNode, AdnlNodeConfig}};
1515
use adnl::DhtNode;
1616
use std::{env, ops::Deref, sync::Arc};
17-
use ton_types::{error, base64_encode, KeyOption, Result};
17+
use ever_block::{error, base64_encode, KeyOption, Result};
1818

1919
async fn gen(ip: &str, dht_key_enc: &str) -> Result<()> {
2020
let config = AdnlNodeConfig::from_json(

bin/keygen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/*
2-
* Copyright (C) 2019-2021 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

14-
use ton_types::{base64_decode, base64_encode, Ed25519KeyOption, Result};
14+
use ever_block::{base64_decode, base64_encode, Ed25519KeyOption, Result};
1515

1616
fn gen() -> Result<()> {
1717
let (private, public) = Ed25519KeyOption::generate_with_json()?;

bin/keyid.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/*
2-
* Copyright (C) 2019-2021 TON Labs. All Rights Reserved.
2+
* Copyright (C) 2019-2024 EverX. All Rights Reserved.
33
*
44
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
55
* this file except in compliance with the License.
66
*
77
* Unless required by applicable law or agreed to in writing, software
88
* distributed under the License is distributed on an "AS IS" BASIS,
99
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10-
* See the License for the specific TON DEV software governing permissions and
10+
* See the License for the specific EVERX DEV software governing permissions and
1111
* limitations under the License.
1212
*/
1313

1414
use std::{convert::TryInto, env};
15-
use ton_types::{error, fail, base64_decode, base64_encode, Ed25519KeyOption, Result};
15+
use ever_block::{error, fail, base64_decode, base64_encode, Ed25519KeyOption, Result};
1616

1717
fn compute(typ: &str, key: &str) -> Result<()> {
1818
let key_bin = base64_decode(key)?;

0 commit comments

Comments
 (0)