Skip to content

Commit

Permalink
Merge pull request #14 from nervina-labs/develop
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
duanyytop authored Mar 9, 2022
2 parents 01c0772 + e506d7b commit d449102
Show file tree
Hide file tree
Showing 19 changed files with 3,216 additions and 43 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Install Rust components
run: rustup component add rustfmt && rustup component add clippy
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-08-16
toolchain: nightly-2021-12-25
override: true

- uses: docker-practice/actions-setup-docker@master
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ version = "0.1.0"
edition = "2018"

[dependencies]
cfg-if = "0.1"
cfg-if = "1.0"
blake2b-ref = "0.3"
ckb-std = {version = "0.9.0", optional = true}
ckb-types = {version = "0.101.1", optional = true}
molecule = {version = "0.7.2", default_features = false, optional = true}
sparse-merkle-tree = {version = "0.5.2", default_features = false}
sparse-merkle-tree = {version = "0.5.3", default_features = false}


[features]
Expand Down
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2021-08-16
nightly-2021-12-25
20 changes: 19 additions & 1 deletion src/common.mol
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,22 @@ struct ClaimCotaNFTKey {
}
vector ClaimCotaNFTKeyVec <ClaimCotaNFTKey>;
vector ClaimCotaNFTValueVec <Byte32>;
vector ClaimCotaNFTInfoVec <CotaNFTInfo>;
struct ClaimCotaNFTInfo {
version: byte,
nft_info: CotaNFTInfo,
}
vector ClaimCotaNFTInfoVec <ClaimCotaNFTInfo>;


// V1
struct WithdrawalCotaNFTKeyV1 {
nft_id: CotaNFTId,
out_point: OutPointSlice,
}
vector WithdrawalCotaNFTKeyV1Vec <WithdrawalCotaNFTKeyV1>;

table WithdrawalCotaNFTValueV1 {
nft_info: CotaNFTInfo,
to_lock: Bytes,
}
vector WithdrawalCotaNFTValueV1Vec <WithdrawalCotaNFTValueV1>;
Loading

0 comments on commit d449102

Please sign in to comment.