generated from AbstractSDK/templates
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from AbstractSDK/howard/cleanup
Updates to APIs and cleanup
- Loading branch information
Showing
99 changed files
with
14,050 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: gh-pages-deploy | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "docs/**" | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5 | ||
- "v[0-9]+.[0-9]+.[0-9]+-beta*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5 | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup | Rust | ||
id: rustup | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Setup | Just | ||
id: just | ||
uses: extractions/setup-just@v1 | ||
|
||
- name: Install static-sitemap-cli | ||
run: npm install static-sitemap-cli | ||
|
||
- name: Install dependencies 🔧 | ||
run: just docs-install | ||
- name: Build 🏗️ | ||
run: just docs-build | ||
|
||
- name: Upload artifact | ||
if: ${{ github.event_name != 'pull_request' }} | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
# Upload book repository | ||
path: './docs/book' | ||
|
||
# Deploy job | ||
deploy: | ||
if: ${{ github.event_name != 'pull_request' }} | ||
# Add a dependency to the build job | ||
needs: build | ||
|
||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
|
||
# Deploy to the github-pages environment | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
# Specify runner + deployment step | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,41 @@ | ||
[workspace] | ||
members = ["contracts/*", "packages/ibcmail"] | ||
members = ["contracts/*", "packages/ibcmail", "tests"] | ||
resolver = "2" | ||
|
||
[profile.release] | ||
rpath = false | ||
lto = true | ||
overflow-checks = true | ||
opt-level = 3 | ||
debug = false | ||
debug-assertions = false | ||
codegen-units = 1 | ||
panic = 'abort' | ||
incremental = false | ||
[workspace.package] | ||
version = "0.2.0" | ||
|
||
[workspace.dependencies] | ||
cosmwasm-std = { version = "1.5.3" } | ||
cosmwasm-schema = { version = "1.5.3" } | ||
cw-controllers = { version = "1.1.2" } | ||
cosmwasm-std = "1.5.3" | ||
cosmwasm-schema = "1.5.3" | ||
cw-controllers = "1.1.2" | ||
cw-storage-plus = "1.2.0" | ||
thiserror = { version = "1.0.50" } | ||
thiserror = "1.0.50" | ||
cw-paginate = "0.2.1" | ||
schemars = "0.8" | ||
cw-asset = { version = "3.0.0" } | ||
abstract-app = { version = "0.22.1" } | ||
abstract-adapter = { version = "0.22.1" } | ||
abstract-std = { version = "0.22.1" } | ||
abstract-interface = { version = "0.22.1" } | ||
abstract-sdk = { version = "0.22.1" } | ||
lazy_static = "1.4.0" | ||
cw-asset = "3.0.0" | ||
cw-semver = { version = "1.0", features = ["serde"] } | ||
cw-orch = { package = "cw-orch-interchain", git = "ssh://[email protected]/AbstractSDK/cw-orch-interchain.git", tag = "v0.22.0" } | ||
abstract-cw-orch-polytone = "2.0.0" | ||
abstract-interchain-tests = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", branch = "removemm" } | ||
cw-paginate = "0.2.1" | ||
# TODO: cannot use this because of money-market adapter trait issue | ||
#abstract-interchain-tests = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", tag = "v0.22.1" } | ||
cw-orch = "0.22" | ||
|
||
ibcmail = { path = "packages/ibcmail", package = "ibcmail" } | ||
client = { path = "contracts/client", package = "ibcmail-client" } | ||
server = { path = "contracts/server", package = "ibcmail-server" } | ||
abstract-client = { version = "0.22.1" } | ||
abstract-client = "0.22.1" | ||
speculoos = "0.11.0" | ||
semver = "1.0" | ||
dotenv = "0.15.0" | ||
env_logger = "0.10.0" | ||
clap = { version = "4.3.7" } | ||
clap = "4.3.7" | ||
const_format = "0.2.32" | ||
|
||
# We have to patch everything because of abstract-interchain-tests | ||
[patch.crates-io] | ||
#abstract-money-market-standard = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", tag = "v0.22.1" } | ||
#abstract-money-market-adapter = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", branch = "removemm" } | ||
#abstract-money-market-adapter = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", rev = "985c558d90e38817fceb3681272b788607608689" } | ||
#abstract-adapter = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", tag = "v0.22.1" } | ||
#abstract-std = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", tag = "v0.22.1" } | ||
#abstract-sdk = { git = "https://github.com/AbstractSDK/abstract", version = "0.22.1", tag = "v0.22.1" } | ||
[profile.release] | ||
rpath = false | ||
lto = true | ||
overflow-checks = true | ||
opt-level = 3 | ||
debug = false | ||
debug-assertions = false | ||
codegen-units = 1 | ||
panic = 'abort' | ||
incremental = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ibcmail-client" | ||
version = "0.1.1" | ||
version.workspace = true | ||
authors = [ | ||
"CyberHoward <[email protected]>", | ||
"Adair <[email protected]>", | ||
|
@@ -37,9 +37,7 @@ export = [] | |
schema = ["abstract-app/schema"] | ||
interface = [ | ||
"export", | ||
"dep:abstract-interface", | ||
"dep:cw-orch", | ||
"ibcmail/interface", | ||
] | ||
daemon = ["interface", "cw-orch/daemon"] | ||
|
||
|
@@ -51,27 +49,22 @@ cw-storage-plus = { workspace = true } | |
thiserror = { workspace = true } | ||
schemars = { workspace = true } | ||
cw-asset = { workspace = true } | ||
abstract-app = { workspace = true } | ||
abstract-app = "0.22" | ||
ibcmail = { workspace = true } | ||
abstract-interface = { workspace = true, optional = true } | ||
cw-paginate = { workspace = true } | ||
base64 = { version = "0.22.1", default-features = false } | ||
|
||
# Dependencies for interface | ||
cw-orch = { workspace = true, optional = true } | ||
sha2 = { version = "0.10.8", default-features = false } | ||
#client = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
client = { workspace = true, features = ["interface"] } | ||
server = { workspace = true, features = ["interface"] } | ||
abstract-client = { workspace = true } | ||
abstract-app = { workspace = true, features = ["test-utils"] } | ||
speculoos = { workspace = true } | ||
abstract-app = { version = "0.22", features = ["test-utils"] } | ||
semver = { workspace = true } | ||
dotenv = { workspace = true } | ||
env_logger = { workspace = true } | ||
cw-orch = { workspace = true } | ||
clap = { workspace = true, features = ["derive"] } | ||
abstract-cw-orch-polytone = { workspace = true } | ||
abstract-interchain-tests = { workspace = true } | ||
#abstract-scripts = { workspace = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.