Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cosmwasm_vm Move Bind #2553

Merged
merged 51 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
fa04a69
feat: migrate bitseed generator to cosmwasm
yubing744 Sep 2, 2024
746c506
feat: add test for inscribe_verify
yubing744 Sep 2, 2024
69e8ad0
feat: update examples bitseed_generator README.md
yubing744 Sep 2, 2024
fa357cb
feat: simple inscribe_generate
yubing744 Sep 2, 2024
26d16f6
feat: fmt code
yubing744 Sep 2, 2024
79ac743
feat: add rooch network copyright
yubing744 Sep 2, 2024
a08e680
feat: optimize bitseed_generator
yubing744 Sep 3, 2024
fafebff
feat: fix github workflow check fail
yubing744 Sep 3, 2024
1d1d0d3
feat: fix vulnerable package
yubing744 Sep 3, 2024
c2a511c
feat: fix lint error
yubing744 Sep 3, 2024
9a0f895
feat: add cosmwasm_vm module
yubing744 Sep 5, 2024
25d68a7
feat: add native_destroy_instance native method
yubing744 Sep 5, 2024
21d79bb
feat: fix cosmwasm_vm compile error
yubing744 Sep 5, 2024
dfc00da
feat: refactor cosmwasm_vm Instance add code_checksum and store
yubing744 Sep 8, 2024
3fccb78
feat: setup test for cosmwasm_vm test for from_code
yubing744 Sep 8, 2024
a46f0f2
feat: imple cosmwasm_vm native_create_instance
yubing744 Sep 9, 2024
72a361c
feat: impl cosmwasm Storage trait
yubing744 Sep 10, 2024
062d928
feat: impl scan for MoveStorage
yubing744 Sep 11, 2024
b0e2ec9
feat: ok for cosmwasm move backend
yubing744 Sep 11, 2024
84912c3
feat: impl native_create_instance
yubing744 Sep 11, 2024
a51bb63
feat: fix native_create_instance
yubing744 Sep 12, 2024
f99e89f
feat: add coswasm mock storage backend
yubing744 Sep 15, 2024
33fc24d
feat: add example test cosmwasm
yubing744 Sep 17, 2024
fbfd190
feat: add cosmwasm int test
yubing744 Sep 18, 2024
5fb95b6
feat: run_cosmwasm_bitseed_generator ok
yubing744 Sep 18, 2024
593267b
feat: impl native_call_instantiate_raw
yubing744 Sep 18, 2024
451423e
feat: impl native_to_json
yubing744 Sep 19, 2024
90f76ea
feat: impl to_json
yubing744 Sep 19, 2024
274b1f8
feat: remove std::debug
yubing744 Sep 19, 2024
c118118
feat: fmt moveos_stdlib json code
yubing744 Sep 20, 2024
1a26f42
feat: make native_to_json gas params option
yubing744 Sep 20, 2024
5e05cdd
feat: config json to_bytes native init gas
yubing744 Sep 21, 2024
581e954
feat: merge from upstream main
yubing744 Sep 21, 2024
694d9f7
feat: merge from owen/issues-2655/moveos_std_to_json
yubing744 Sep 21, 2024
19b5c42
feat: call_execute and call_query ok
yubing744 Sep 21, 2024
8c52551
feat: imple call migrate、reply and sudo
yubing744 Sep 22, 2024
dade631
feat: merge from upstream main
yubing744 Sep 22, 2024
cbdb19e
Merge branch 'main' of https://github.com/rooch-network/rooch into ow…
yubing744 Sep 22, 2024
dba5e5e
Merge branch 'main' of https://github.com/rooch-network/rooch into ow…
yubing744 Sep 22, 2024
aba3fe9
feat: debug parse_env_json
yubing744 Sep 23, 2024
4cfecdb
feat: debug deserialize_stdresult
yubing744 Sep 23, 2024
cd57647
feat: ok for base64 and new_binary
yubing744 Sep 24, 2024
4d7a57a
feat: ok for cosmwasm_vm_execution
yubing744 Sep 24, 2024
791f73b
feat: clean unuse code
yubing744 Sep 24, 2024
48c4959
feat: fix lint error
yubing744 Sep 24, 2024
a3e0160
feat: fix lint error
yubing744 Sep 24, 2024
267c918
Merge branch 'main' of https://github.com/rooch-network/rooch into ow…
yubing744 Sep 24, 2024
0b78f34
feat: fix json unit test fail
yubing744 Sep 25, 2024
22ada15
Merge branch 'main' of https://github.com/rooch-network/rooch into ow…
yubing744 Sep 25, 2024
74e0eaf
feat: fix move lint error
yubing744 Sep 25, 2024
a4fb89b
Merge branch 'main' into owen/bitseed/use-cosm-wasm
yubing744 Sep 25, 2024
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
128 changes: 94 additions & 34 deletions Cargo.lock

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

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ members = [
"crates/rooch-test-transaction-builder",
"crates/rooch-types",
"crates/rooch-event",
"crates/rooch-cosmwasm-vm",
"crates/testsuite",
"crates/rooch-ord",
"frameworks/bitcoin-move",
Expand All @@ -59,7 +60,6 @@ members = [
"frameworks/moveos-stdlib",
"frameworks/rooch-framework",
"frameworks/rooch-nursery",
"examples/bitseed_generator",
]

default-members = [
Expand Down Expand Up @@ -139,6 +139,7 @@ data-verify = { path = "crates/data_verify" }
rooch-db = { path = "crates/rooch-db" }
rooch-event = { path = "crates/rooch-event" }
rooch-ord = { path = "crates/rooch-ord" }
rooch-cosmwasm-vm = { path = "crates/rooch-cosmwasm-vm" }

# frameworks
framework-types = { path = "frameworks/framework-types" }
Expand Down Expand Up @@ -322,7 +323,9 @@ base64 = "0.22.1"
#criterion-cpu-time = "0.1.0"
wasmer = "4.2.5"
wasmer-types = "4.2.5"
wasmer-compiler-singlepass = "4.3.6"
wasmer-compiler-singlepass = "4.2.2"
cosmwasm-vm = { git = "https://github.com/rooch-network/cosmwasm", rev = "597d3e8437d8c4d1afce07e5a676c29c751a8a81" }
cosmwasm-std = { git = "https://github.com/rooch-network/cosmwasm", rev = "597d3e8437d8c4d1afce07e5a676c29c751a8a81" }
ciborium = "0.2.1"
pprof = { version = "0.13.0", features = ["flamegraph", "criterion", "cpp", "frame-pointer", "protobuf-codec"] }
celestia-rpc = { git = "https://github.com/eigerco/celestia-node-rs.git", rev = "129272e8d926b4c7badf27a26dea915323dd6489" }
Expand Down
35 changes: 35 additions & 0 deletions crates/rooch-cosmwasm-vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[package]
name = "rooch-cosmwasm-vm"

# Workspace inherited keys
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { workspace = true }
once_cell = { workspace = true }
prometheus = { workspace = true }
tokio = { workspace = true }
cosmwasm-vm = { workspace = true }
cosmwasm-std = { workspace = true }

move-core-types = { workspace = true }
move-vm-types = { workspace = true }
move-resource-viewer = { workspace = true }
move-binary-format = { workspace = true }

raw-store = { workspace = true }
moveos-config = { workspace = true }
moveos-types = { workspace = true }
moveos-object-runtime = { workspace = true }
accumulator = { workspace = true }

rooch-types = { workspace = true }
Loading
Loading