Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 1 addition & 90 deletions Cargo.lock

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,59 +61,59 @@ tonic = "0.14"
url = "2.5.7"

# Sui dependencies
move-binary-format = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-trace-format = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-package = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-compiler = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-disassembler = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-ir-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-core-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-vm-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-vm-stack = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-vm-runtime = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz", features = ["tracing", "testing"]}
move-model = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
move-stackless-bytecode = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-move-build = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-json-rpc-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-package-management = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-sdk = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-config = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-storage = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-snapshot = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-core = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
sui-execution = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz", features = ["testing"]}
shared-crypto = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-adapter-v2 = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-binary-format = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-trace-format = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-package = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-compiler = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-disassembler = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-ir-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-core-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-vm-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-vm-stack = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-vm-runtime = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz", features = ["tracing", "testing"]}
# move-model = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# move-stackless-bytecode = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-move-build = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-json-rpc-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-types = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-package-management = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-sdk = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-config = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-storage = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-snapshot = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-core = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# sui-execution = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz", features = ["testing"]}
# shared-crypto = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}
# # sui-adapter-v2 = {git = "https://github.com/wtdcode/sui", branch = "v1.60.1-fuzz"}

sui-rpc = { git = "https://github.com/MystenLabs/sui-rust-sdk.git", rev = "fb62af78b30f5dc64eeaec0094ab95b5ce5b7ce2" }
sui-sdk-types = { git = "https://github.com/MystenLabs/sui-rust-sdk.git", rev = "fb62af78b30f5dc64eeaec0094ab95b5ce5b7ce2" }
fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "09f86974195ec85d8aae386b1909d341d3ccfe52"} # sui use git dependency =/

# move-stackless-bytecode = {path = "../sui/external-crates/move/crates/move-stackless-bytecode"}
# move-model = {path = "../sui/external-crates/move/crates/move-model"}
# move-binary-format = {path = "../sui/external-crates/move/crates/move-binary-format"}
# move-trace-format = {path = "../sui/external-crates/move/crates/move-trace-format"}
# move-package = {path = "../sui/external-crates/move/crates/move-package"}
# move-compiler = {path = "../sui/external-crates/move/crates/move-compiler"}
# move-disassembler = {path = "../sui/external-crates/move/crates/move-disassembler"}
# move-ir-types = {path = "../sui/external-crates/move/crates/move-ir-types"}
# move-core-types = {path = "../sui/external-crates/move/crates/move-core-types"}
# move-vm-types = {path = "../sui/external-crates/move/crates/move-vm-types"}
# move-vm-stack = {path = "../sui/external-crates/move/crates/move-vm-stack"}
# move-vm-runtime = {path = "../sui/external-crates/move/crates/move-vm-runtime", features = ["tracing", "testing"]}
# sui-move-build = {path = "../sui/crates/sui-move-build"}
# sui-json-rpc-types = {path = "../sui/crates/sui-json-rpc-types"}
# sui-types = {path = "../sui/crates/sui-types"}
# sui-package-management = {path = "../sui/crates/sui-package-management"}
# sui-sdk = {path = "../sui/crates/sui-sdk"}
# sui-config = {path = "../sui/crates/sui-config"}
# sui-storage = {path = "../sui/crates/sui-storage"}
# sui-snapshot = {path = "../sui/crates/sui-snapshot"}
# sui-core = {path = "../sui/crates/sui-core"}
# sui-execution = {path = "../sui/sui-execution", features = ["testing"]}
# # sui-adapter-v2 = {path = "../sui/sui-execution/v2/sui-adapter/"}
# shared-crypto = {path = "../sui/crates/shared-crypto"}
move-stackless-bytecode = {path = "../sui/external-crates/move/crates/move-stackless-bytecode"}
move-model = {path = "../sui/external-crates/move/crates/move-model"}
move-binary-format = {path = "../sui/external-crates/move/crates/move-binary-format"}
move-trace-format = {path = "../sui/external-crates/move/crates/move-trace-format"}
move-package = {path = "../sui/external-crates/move/crates/move-package"}
move-compiler = {path = "../sui/external-crates/move/crates/move-compiler"}
move-disassembler = {path = "../sui/external-crates/move/crates/move-disassembler"}
move-ir-types = {path = "../sui/external-crates/move/crates/move-ir-types"}
move-core-types = {path = "../sui/external-crates/move/crates/move-core-types"}
move-vm-types = {path = "../sui/external-crates/move/crates/move-vm-types"}
move-vm-stack = {path = "../sui/external-crates/move/crates/move-vm-stack"}
move-vm-runtime = {path = "../sui/external-crates/move/crates/move-vm-runtime", features = ["tracing", "testing"]}
sui-move-build = {path = "../sui/crates/sui-move-build"}
sui-json-rpc-types = {path = "../sui/crates/sui-json-rpc-types"}
sui-types = {path = "../sui/crates/sui-types"}
sui-package-management = {path = "../sui/crates/sui-package-management"}
sui-sdk = {path = "../sui/crates/sui-sdk"}
sui-config = {path = "../sui/crates/sui-config"}
sui-storage = {path = "../sui/crates/sui-storage"}
sui-snapshot = {path = "../sui/crates/sui-snapshot"}
sui-core = {path = "../sui/crates/sui-core"}
sui-execution = {path = "../sui/sui-execution", features = ["testing"]}
# sui-adapter-v2 = {path = "../sui/sui-execution/v2/sui-adapter/"}
shared-crypto = {path = "../sui/crates/shared-crypto"}


# Aptos dependencies
Expand Down
5 changes: 3 additions & 2 deletions crates/movy-fuzz/src/operations/sui_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ use movy_replay::exec::SuiExecutor;
use movy_replay::tracer::oracle::{CouldDisabledOralce, SuiGeneralOracle};
use movy_sui::database::cache::{CachedStore, ObjectSuiStoreCommit};
use movy_types::error::MovyError;
use sui_types::storage::BackingStore;
use sui_types::storage::{BackingPackageStore, ObjectStore};
use sui_types::storage::{BackingPackageStore, BackingStore, ObjectStore};

pub fn oracles<T, S, E>(
typed_bug_abort: bool,
Expand Down Expand Up @@ -71,6 +70,7 @@ where
+ ObjectSuiStoreCommit
+ BackingStore
+ BackingPackageStore
+ BackingPackageStore

Copilot AI Feb 6, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trait bound BackingPackageStore is duplicated. This is redundant and should be removed. Only one declaration of this trait bound is needed.

Suggested change
+ BackingPackageStore

Copilot uses AI. Check for mistakes.
+ Clone
+ 'static,
{
Expand Down Expand Up @@ -245,6 +245,7 @@ pub fn fuzz(
+ ObjectStoreInfo
+ ObjectSuiStoreCommit
+ BackingStore
+ BackingPackageStore
+ Clone
+ 'static,
>,
Expand Down
7 changes: 6 additions & 1 deletion crates/movy-fuzz/src/operations/sui_replay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ pub fn sui_plain_replay_seed<T>(
trace: bool,
) -> Result<(), MovyError>
where
T: ObjectStore + BackingStore + ObjectSuiStoreCommit + ObjectStoreMintObject + ObjectStoreInfo,
T: ObjectStore
+ BackingStore
+ BackingPackageStore
+ ObjectSuiStoreCommit
+ ObjectStoreMintObject
+ ObjectStoreInfo,
{
let inner = env.into_inner();
let executor = SuiExecutor::new(inner)?;
Expand Down
Loading
Loading