Skip to content

Commit

Permalink
Updates schema
Browse files Browse the repository at this point in the history
  • Loading branch information
XuJiandong committed Jan 16, 2024
1 parent 7c8adac commit d26e650
Show file tree
Hide file tree
Showing 11 changed files with 4,604 additions and 9,459 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ build/omni_lock: build/omni_lock.o build/cobuild.o
$(OBJCOPY) --strip-debug --strip-all $@

cobuild_mol:
${MOLC} --language rust --schema-file schemas/blockchain.mol > tests/omni_lock_rust/src/schemas/blockchain.rs
${MOLC} --language rust --schema-file schemas/basic.mol > tests/omni_lock_rust/src/schemas/basic.rs
${MOLC} --language rust --schema-file c/basic.mol | rustfmt > tests/omni_lock_rust/src/schemas/basic.rs

clean:
rm -rf build/secp256k1_data_info_20210801.h build/dump_secp256k1_data_20210801
Expand Down
File renamed without changes.
119 changes: 0 additions & 119 deletions schemas/blockchain.mol

This file was deleted.

2 changes: 1 addition & 1 deletion tests/omni_lock_rust/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.75.0
1.71.1
5 changes: 2 additions & 3 deletions tests/omni_lock_rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pub mod blake2b;
pub mod debug_utils;
pub mod omni_lock;
pub mod schemas_test;
pub mod schemas;
pub mod xudt_rce_mol;

pub mod blake2b;
Loading

0 comments on commit d26e650

Please sign in to comment.