diff --git a/Cargo.lock b/Cargo.lock index d090325419d08..c34c7f4d8a2bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15858,6 +15858,7 @@ dependencies = [ "hex", "hyper 0.14.28", "itertools 0.13.0", + "move-binary-format", "move-core-types", "num_cpus", "once_cell", diff --git a/aptos-move/aptos-release-builder/data/example.yaml b/aptos-move/aptos-release-builder/data/example.yaml index 8d50c14abcffc..456fd49f5186f 100644 --- a/aptos-move/aptos-release-builder/data/example.yaml +++ b/aptos-move/aptos-release-builder/data/example.yaml @@ -10,7 +10,7 @@ proposals: execution_mode: MultiStep update_sequence: - Framework: - bytecode_version: 6 + bytecode_version: 7 git_hash: ~ - name: gas metadata: diff --git a/aptos-move/aptos-release-builder/data/release.yaml b/aptos-move/aptos-release-builder/data/release.yaml index a12d498463731..891bece480d33 100644 --- a/aptos-move/aptos-release-builder/data/release.yaml +++ b/aptos-move/aptos-release-builder/data/release.yaml @@ -11,7 +11,7 @@ proposals: - Gas: new: current - Framework: - bytecode_version: 6 + bytecode_version: 7 git_hash: ~ - FeatureFlag: enabled: diff --git a/testsuite/smoke-test/Cargo.toml b/testsuite/smoke-test/Cargo.toml index 07fdf4b1af195..e08175b1fdb60 100644 --- a/testsuite/smoke-test/Cargo.toml +++ b/testsuite/smoke-test/Cargo.toml @@ -54,6 +54,7 @@ diesel = { workspace = true, features = [ digest = { workspace = true } hex = { workspace = true } hyper = { workspace = true } +move-binary-format = { workspace = true } move-core-types = { workspace = true } reqwest = { workspace = true } serde = { workspace = true } diff --git a/testsuite/smoke-test/src/upgrade.rs b/testsuite/smoke-test/src/upgrade.rs index 5e0ce9fa0bc59..5cca2bc44c5c1 100644 --- a/testsuite/smoke-test/src/upgrade.rs +++ b/testsuite/smoke-test/src/upgrade.rs @@ -20,6 +20,7 @@ use aptos_release_builder::{ }; use aptos_temppath::TempPath; use aptos_types::on_chain_config::{FeatureFlag as AptosFeatureFlag, OnChainConsensusConfig}; +use move_binary_format::file_format_common::VERSION_DEFAULT_LANG_V2; use std::{fs, path::PathBuf, process::Command, sync::Arc}; // Ignored. This is redundant with the forge compat test but this test is easier to run locally and @@ -113,7 +114,7 @@ async fn test_upgrade_flow() { name: "framework".to_string(), metadata: ProposalMetadata::default(), update_sequence: vec![ReleaseEntry::Framework(FrameworkReleaseConfig { - bytecode_version: 6, // TODO: remove explicit bytecode version from sources + bytecode_version: VERSION_DEFAULT_LANG_V2, // TODO: remove explicit bytecode version from sources git_hash: None, })], },