Skip to content

Commit

Permalink
feat: remove the v0 execution layer cut (#4002)
Browse files Browse the repository at this point in the history
* feat: remove the `v0` cut

* fix: snapshots update

* fix: remove the `v0` execution layer cut leftovers

* fix(scripts): `execution_layer.py` should work with the only latest cut

* feat: the latest cut should have the index 1
  • Loading branch information
valeriyr authored Nov 12, 2024
1 parent a7d4447 commit af9a325
Show file tree
Hide file tree
Showing 154 changed files with 34 additions and 40,579 deletions.
6 changes: 0 additions & 6 deletions .github/crates-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,3 @@ iota-move-natives-latest:
- "iota-execution/latest/iota-move-natives/**"
iota-verifier-latest:
- "iota-execution/latest/iota-verifier/**"
iota-adapter-v0:
- "iota-execution/v0/iota-adapter/**"
iota-move-natives-v0:
- "iota-execution/v0/iota-move-natives/**"
iota-verifier-v0:
- "iota-execution/v0/iota-verifier/**"
129 changes: 3 additions & 126 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ exclude = [
"external-crates/move/crates/move-vm-types",
"external-crates/move/crates/serializer-tests",
"external-crates/move/crates/test-generation",
"external-crates/move/move-execution/v0/crates/bytecode-verifier-tests",
"external-crates/move/move-execution/v0/crates/move-abstract-interpreter",
"external-crates/move/move-execution/v0/crates/move-bytecode-verifier",
"external-crates/move/move-execution/v0/crates/move-stdlib-natives",
"external-crates/move/move-execution/v0/crates/move-vm-runtime",
"sdk/move-bytecode-template",
]
members = [
Expand Down Expand Up @@ -162,9 +157,6 @@ members = [
"iota-execution/latest/iota-adapter",
"iota-execution/latest/iota-move-natives",
"iota-execution/latest/iota-verifier",
"iota-execution/v0/iota-adapter",
"iota-execution/v0/iota-move-natives",
"iota-execution/v0/iota-verifier",
]

[workspace.package]
Expand Down
6 changes: 3 additions & 3 deletions crates/iota-genesis-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ tracing.workspace = true
tracing-subscriber = "0.3"

# internal dependencies
iota-adapter-v0 = { path = "../../iota-execution/v0/iota-adapter/" }
iota-adapter-latest = { path = "../../iota-execution/latest/iota-adapter/" }
iota-config.workspace = true
iota-execution.workspace = true
iota-framework.workspace = true
iota-framework-snapshot.workspace = true
iota-genesis-common.workspace = true
iota-move-build.workspace = true
iota-move-natives-v0 = { path = "../../iota-execution/v0/iota-move-natives" }
iota-move-natives-latest = { path = "../../iota-execution/latest/iota-move-natives" }
iota-protocol-config.workspace = true
iota-sdk = { version = "1.1", default-features = false, features = ["irc_27", "irc_30", "std"] }
iota-types.workspace = true
move-binary-format.workspace = true
move-compiler.workspace = true
move-core-types.workspace = true
move-package.workspace = true
move-vm-runtime-v0 = { path = "../../external-crates/move/move-execution/v0/crates/move-vm-runtime" }
move-vm-runtime-latest = { path = "../../external-crates/move/crates/move-vm-runtime", package = "move-vm-runtime" }
shared-crypto.workspace = true

[target.'cfg(msim)'.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ use std::{
};

use anyhow::Result;
use iota_adapter_v0::{
use iota_adapter_latest::{
adapter::new_move_vm, execution_mode, gas_charger::GasCharger, programmable_transactions,
temporary_store::TemporaryStore,
};
use iota_framework::BuiltInFramework;
use iota_move_build::CompiledPackage;
use iota_move_natives_v0::all_natives;
use iota_move_natives_latest::all_natives;
use iota_protocol_config::{Chain, ProtocolConfig, ProtocolVersion};
use iota_sdk::types::block::output::{
AliasOutput, BasicOutput, FoundryOutput, NativeTokens, NftOutput, OutputId, TokenId,
Expand Down Expand Up @@ -44,7 +44,7 @@ use iota_types::{
},
};
use move_core_types::{ident_str, language_storage::StructTag};
use move_vm_runtime_v0::move_vm::MoveVM;
use move_vm_runtime_latest::move_vm::MoveVM;

use crate::{
process_package,
Expand Down
1 change: 0 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"crates/iota-light-client/example_config/20873329.yaml",
"**/pnpm-lock.yaml",
"external-crates/move/crates/move-stdlib/**/docs/**/*.md",
"external-crates/move/move-execution/v0/crates/move-stdlib/**/docs/**/*.md",
"nre/helm/graphql/templates/**/*.yaml",
"nre/helm/indexer/templates/**/*.yaml"
],
Expand Down
Loading

0 comments on commit af9a325

Please sign in to comment.