Skip to content

Commit

Permalink
🚀 deploy dao-action-verifier to dev chain
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Feb 9, 2024
1 parent 96b9ff6 commit ec967c3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/migrations/dev
/migrations/joyid
/migrations/omnilock
/migrations/dao-action-verifier

# Contract
/target
Expand Down
7 changes: 6 additions & 1 deletion bin/deploy-to-dev-chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ function deploy() {
ckb-cli deploy apply-txs --info-file "$INFO_FILE" --migration-dir "$MIGRATION_DIR"
}

deploy joyid
deploy dao-action-verifier
bin/generate-blocks.sh 4
sleep 1

# try twice in case the indexer has not updated yet
deploy joyid || deploy joyid
bin/generate-blocks.sh 4
sleep 1

Expand Down
9 changes: 9 additions & 0 deletions migrations/templates/dao-action-verifier.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[[cells]]
name = "dao-action-verifier"
enable_type_id = true
location = { file = "build/release/dao-action-verifier" }

[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0xe463d7c4cb28457b3a2f735d1d92a971b0f5a751"
hash_type = "type"

0 comments on commit ec967c3

Please sign in to comment.