Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
h4nsu committed Mar 22, 2024
1 parent 3848cf6 commit 0326e41
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --features "contract"

build:
name: Build the contract
Expand Down Expand Up @@ -69,4 +70,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: contract
args: build --release
args: build --release --features "contract"
10 changes: 10 additions & 0 deletions RELEASE_TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The release procedure:

1. Compile the current version of the crate with `cargo contract build --release --features "contract"`, optionally using one of dockerized build environments.
2. Deploy contracts to Testnet and Mainnet.
3. Prepare a release PR which:
a. Inserts deployed addresses in `traits.rs` and `README.md`,
b. Adds `.contract`, `.json` and `.wasm` files to `artifacts',
c. Deletes this file.
4. Merge the release PR and tag the resulting commit with `1.0.0`.
5. Publish to crates.io
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
mod traits;

// Re-export of PSP22 stuff for convenience of cross-contract calls
pub use psp22::{PSP22Error, PSP22Metadata, PSP22};
pub use psp22::{PSP22Error, PSP22};

pub use traits::{WrappedAZERO, MAINNET, TESTNET};

Expand Down

0 comments on commit 0326e41

Please sign in to comment.