Skip to content

Commit c3fcb5d

Browse files
authored
Merge pull request #5330 from casper-network/wro-2025
Reconciling small changes
2 parents 366c8e0 + fff85c8 commit c3fcb5d

File tree

160 files changed

+816
-2887
lines changed

Some content is hidden

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

160 files changed

+816
-2887
lines changed

Cargo.lock

Lines changed: 40 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,17 @@ members = [
1616
"utils/global-state-update-gen",
1717
"utils/validation",
1818
"binary_port",
19-
"smart_contracts/sdk",
20-
"smart_contracts/sdk_codegen",
21-
"smart_contracts/sdk_sys",
22-
"smart_contracts/macros",
19+
"smart_contracts/vm2/sdk",
20+
"smart_contracts/vm2/sdk_sys",
21+
"smart_contracts/vm2/macros",
2322
"vm2_cargo_casper",
2423
# "utils/highway-rewards-analysis",
2524
# "utils/highway-state-grapher",
2625
"executor/wasm_common",
2726
"executor/wasm_interface",
2827
"executor/wasm_host",
2928
"executor/wasmer_backend",
30-
"executor/wasm",
29+
"executor/wasm", "smart_contracts/vm2/sdk_contrib",
3130
]
3231

3332
default-members = [
@@ -41,10 +40,9 @@ default-members = [
4140
"utils/global-state-update-gen",
4241
"utils/validation",
4342
"binary_port",
44-
"smart_contracts/sdk",
45-
"smart_contracts/sdk_sys",
46-
"smart_contracts/sdk_codegen",
47-
"smart_contracts/macros",
43+
"smart_contracts/vm2/sdk",
44+
"smart_contracts/vm2/sdk_sys",
45+
"smart_contracts/vm2/macros",
4846
# "utils/highway-rewards-analysis",
4947
# "utils/highway-state-grapher",
5048
]

ci/casper_updater/src/main.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,19 +215,15 @@ fn main() {
215215
&regex_data::smart_contracts_contract::DEPENDENT_FILES,
216216
),
217217
Package::cargo(
218-
"smart_contracts/sdk_sys",
218+
"smart_contracts/v2/sdk_sys",
219219
&regex_data::smart_contracts_sdk_sys::DEPENDENT_FILES,
220220
),
221221
Package::cargo(
222-
"smart_contracts/sdk",
222+
"smart_contracts/vm2/sdk",
223223
&regex_data::smart_contracts_sdk::DEPENDENT_FILES,
224224
),
225225
Package::cargo(
226-
"smart_contracts/sdk_codegen",
227-
&regex_data::smart_contracts_sdk_codegen::DEPENDENT_FILES,
228-
),
229-
Package::cargo(
230-
"smart_contracts/macros",
226+
"smart_contracts/v2/macros",
231227
&regex_data::smart_contracts_macros::DEPENDENT_FILES,
232228
),
233229
Package::cargo(

ci/casper_updater/src/regex_data.rs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -308,33 +308,15 @@ pub mod smart_contracts_sdk_sys {
308308
pub mod smart_contracts_sdk {
309309
use super::*;
310310

311-
pub static DEPENDENT_FILES: Lazy<Vec<DependentFile>> = Lazy::new(|| {
312-
vec![
313-
DependentFile::new(
314-
"smart_contracts/sdk/Cargo.toml",
315-
MANIFEST_VERSION_REGEX.clone(),
316-
replacement,
317-
),
318-
DependentFile::new(
319-
"smart_contracts/sdk_codegen/Cargo.toml",
320-
Regex::new(r#"(?m)(^casper-contract-sdk = \{[^\}]*version = )"(?:[^"]+)"#).unwrap(),
321-
replacement,
322-
),
323-
]
324-
});
325-
}
326-
327-
pub mod smart_contracts_sdk_codegen {
328-
use super::*;
329-
330311
pub static DEPENDENT_FILES: Lazy<Vec<DependentFile>> = Lazy::new(|| {
331312
vec![DependentFile::new(
332-
"smart_contracts/sdk_codegen/Cargo.toml",
313+
"smart_contracts/sdk/Cargo.toml",
333314
MANIFEST_VERSION_REGEX.clone(),
334315
replacement,
335316
)]
336317
});
337318
}
319+
338320
pub mod smart_contracts_macros {
339321
use super::*;
340322

ci/publish_to_crates_io.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ publish execution_engine_testing/test_support
108108
publish smart_contracts/contract
109109

110110
# smart_contracts/sdk_sys (casper-contract-sdk_sys) -> None
111-
publish smart_contracts/sdk_sys
111+
publish smart_contracts/vm2/sdk_sys
112112

113113
# executor/wasm_common (casper-executor-wasm_common)
114114
# casper-contract-sdk_sys

0 commit comments

Comments
 (0)