Skip to content

Commit

Permalink
refactor: split into multiple packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hduoc2003 committed Aug 23, 2024
1 parent d47f06d commit aada8d6
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 3 deletions.
12 changes: 12 additions & 0 deletions libs/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "libs"
version = "1.0.0"
authors = []

[addresses]
lib_addr = "_"

[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-core.git"
rev = "mainnet"
subdir = "aptos-move/framework/aptos-framework"
2 changes: 1 addition & 1 deletion sources/libs/bytes.move → libs/sources/bytes.move
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module verifier_addr::bytes {
module lib_addr::bytes {
use std::bcs::to_bytes;
use std::vector;
use std::vector::{append, for_each_ref};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module verifier_addr::convert_memory {
module lib_addr::convert_memory {
use std::vector;

public fun copy_vec_to_memory(vec: vector<u256>, table: &mut vector<u256>, start_prt: u64) {
Expand Down
File renamed without changes.
5 changes: 4 additions & 1 deletion Move.toml → verifier/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.0.0"
authors = []

[addresses]
verifier_addr = "0d86ef4ed97b15752707c861650d084d2ad181357b7f966a2e08a931c63187c7"
verifier_addr = "_"

[dev-addresses]

Expand All @@ -13,4 +13,7 @@ git = "https://github.com/aptos-labs/aptos-core.git"
rev = "release-v.1.14"
subdir = "aptos-move/framework/aptos-framework"

[dependencies]
libs = {local = "../libs"}

[dev-dependencies]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit aada8d6

Please sign in to comment.