diff --git a/README.md b/README.md index 0df50db..6faee8c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ You need: - [rust](https://rustup.rs/) - [cross](https://github.com/cross-rs/cross) - Docker: cross needs it. +- [cmake](https://cmake.org/download/) >= 3.12 ## Get Started diff --git a/docs/prototype_of_cannon_in_move.zh.md b/docs/prototype_of_cannon_in_move.zh.md index ce2b2d4..a443f59 100644 --- a/docs/prototype_of_cannon_in_move.zh.md +++ b/docs/prototype_of_cannon_in_move.zh.md @@ -11,7 +11,7 @@ optimism-move 是一套基于 move 虚拟机的 layer2 的链上仲裁的原型 - 剥离 move-vm 相关代码。 - 以及修改 vm 和 storage 交互逻辑。 -- 将 stroage 接口 mock 掉,将数据读取和写入临时保存下来。 +- 将 storage 接口 mock 掉,将数据读取和写入临时保存下来。 最终的目标是能够构建 min-move-vm,并且能够将其编译成 mips 指令集的二进制代码。 ### 执行 mips 代码 diff --git a/omo/Cargo.lock b/omo/Cargo.lock index 8e261fd..d17a177 100644 --- a/omo/Cargo.lock +++ b/omo/Cargo.lock @@ -246,6 +246,12 @@ version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "029d8d0b2f198229de29dca79676f2738ff952edf3fde542eb8bf94d8c21b435" +[[package]] +name = "pkg-config" +version = "0.3.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" + [[package]] name = "plain" version = "0.2.3" @@ -465,14 +471,15 @@ checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee" [[package]] name = "unicorn-engine" -version = "2.0.0-rc7" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4dffba847263d488d17b9f2ba2f3affea40960dce257ed51b726a263b3b77e6" +checksum = "f23e61b1c16090ec75a57656f8e7337a8df1e438d4e616b99ce679ab26b8591e" dependencies = [ "bitflags", "cc", "cmake", "libc", + "pkg-config", ] [[package]] diff --git a/omo/Cargo.toml b/omo/Cargo.toml index 390eb82..fc9a529 100644 --- a/omo/Cargo.toml +++ b/omo/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" anyhow = { version = "1.0.57" } clap = { version = "3.1.18", features = ["derive"] } goblin = { version = "0.5.1" } -unicorn-engine = { version = "2.0.0-rc7" } +unicorn-engine = { version = "2.0.0" } bytes = { version = "1.1.0" } byteorder = { version = "1.4.3" } thiserror = { version = "1.0.31" }