From 6b3eef34f71a8e32e19725027506bafab7a41cbd Mon Sep 17 00:00:00 2001 From: kent-3 <100624004+kent-3@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:07:02 -0500 Subject: [PATCH] new build --- Cargo.lock | 15 +++--- Cargo.toml | 6 ++- dist/index.html | 10 ++-- ...10afe4b.css => input-c5c7c227f70e7ecd.css} | 4 ++ dist/trader-leptos-79afb5067c2f4b0d_bg.wasm | Bin 2385004 -> 0 bytes ...d.js => trader-leptos-950687fced296019.js} | 12 ++--- dist/trader-leptos-950687fced296019_bg.wasm | Bin 0 -> 2410096 bytes public/lb_contracts_dev.json | 48 +----------------- public/lb_contracts_pulsar.json | 2 +- src/components/suggest_chains.rs | 12 +++-- src/constants.rs | 8 +-- src/lib.rs | 3 +- 12 files changed, 42 insertions(+), 78 deletions(-) rename dist/{input-7de22fed010afe4b.css => input-c5c7c227f70e7ecd.css} (98%) delete mode 100644 dist/trader-leptos-79afb5067c2f4b0d_bg.wasm rename dist/{trader-leptos-79afb5067c2f4b0d.js => trader-leptos-950687fced296019.js} (99%) create mode 100644 dist/trader-leptos-950687fced296019_bg.wasm diff --git a/Cargo.lock b/Cargo.lock index 35a3e03..e584260 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2113,11 +2113,10 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lb-interfaces" version = "0.0.1" -source = "git+https://github.com/kent-3/liquidity-book.git#1848b2144da43de7c8a57a7bf45323a65054f7dd" dependencies = [ "cosmwasm-schema 1.5.8", "ethnum", - "lb-libraries 0.1.0 (git+https://github.com/kent-3/liquidity-book.git)", + "lb-libraries 0.1.0", "schemars", "secret-cosmwasm-std", "secret-toolkit", @@ -2130,13 +2129,13 @@ dependencies = [ [[package]] name = "lb-libraries" version = "0.1.0" -source = "git+https://github.com/securesecrets/shade?branch=orderbook/library#9a9a2da00992848e76de70267bce354f1b6dae82" dependencies = [ - "cosmwasm-schema 2.1.4", + "cosmwasm-schema 1.5.8", "ethnum", "primitive-types", "schemars", "secret-cosmwasm-std", + "secret-storage-plus", "secret-toolkit", "serde", "thiserror 1.0.69", @@ -2145,14 +2144,13 @@ dependencies = [ [[package]] name = "lb-libraries" version = "0.1.0" -source = "git+https://github.com/kent-3/liquidity-book.git#1848b2144da43de7c8a57a7bf45323a65054f7dd" +source = "git+https://github.com/securesecrets/shade?branch=orderbook/library#9a9a2da00992848e76de70267bce354f1b6dae82" dependencies = [ - "cosmwasm-schema 1.5.8", + "cosmwasm-schema 2.1.4", "ethnum", "primitive-types", "schemars", "secret-cosmwasm-std", - "secret-storage-plus", "secret-toolkit", "serde", "thiserror 1.0.69", @@ -3851,7 +3849,6 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "snip1155" version = "0.0.1" -source = "git+https://github.com/kent-3/liquidity-book.git#1848b2144da43de7c8a57a7bf45323a65054f7dd" dependencies = [ "cosmwasm-schema 1.5.8", "secret-cosmwasm-std", @@ -4483,7 +4480,7 @@ dependencies = [ "hex-literal", "keplr-sys", "lb-interfaces", - "lb-libraries 0.1.0 (git+https://github.com/kent-3/liquidity-book.git)", + "lb-libraries 0.1.0", "leptos", "leptos_meta", "leptos_router", diff --git a/Cargo.toml b/Cargo.toml index 23aeed6..f41b912 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,7 +101,11 @@ secretrs = { git = "https://github.com/kent-3/secret-rust", branch = "sdk-upgrad # # [patch."https://github.com/kent-3/secret-clients.git"] # rsecret = { path = "../secret-clients/rsecret" } -# + +[patch."https://github.com/kent-3/liquidity-book.git"] +lb-interfaces = { path = "../liquidity-book/packages/lb_interfaces" } +lb-libraries = { path = "../liquidity-book/packages/lb_libraries" } + # [patch.crates-io] # keplr-sys = { path = "../keplr/keplr-sys" } # secretrs = { path = "../secret-rust/secretrs" } diff --git a/dist/index.html b/dist/index.html index 62e2440..f44e563 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,9 +8,9 @@ - - + @@ -42,7 +42,7 @@ checkResourcesLoaded(); }); - +