Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove useless deployed spore contract #59

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = <your-wallet-lock-args>
hash_type = "type"
```

notice: `frozen` versions are always containing all of deployed contracts except the latest one
2 changes: 1 addition & 1 deletion deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

echo "deploying $1 from $3 to $2 on $network"

ckb-cli --url $2 deploy gen-txs --from-address $3 --fee-rate 1000 --deployment-config ./toml/$1.toml \
ckb-cli --url $2 deploy gen-txs --from-address $3 --fee-rate 1000 --deployment-config ./toml/$network/$1.toml \
--info-file ./$1.json --migration-dir ./migration/$network/$1 --sign-now

echo "ckb transacion file '$1.json' has generated"
Expand Down
13 changes: 0 additions & 13 deletions deployment/migration/mainnet/spore/2024-01-23-0.2.2.json

This file was deleted.

File renamed without changes.
12 changes: 12 additions & 0 deletions deployment/toml/mainnet/cluster_agent.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this is a deployment file for ckb testnet

[[cells]]
name = "cluster_agent"
enable_type_id = false
location = { file = "../build/release/cluster_agent" }

# The lock script set to output cells
[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0x20da6b70dfe59586e89635dbb3adc7aa998e7189"
hash_type = "type"
12 changes: 12 additions & 0 deletions deployment/toml/mainnet/cluster_proxy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this is a deployment file for ckb testnet

[[cells]]
name = "cluster_proxy"
enable_type_id = false
location = { file = "../build/release/cluster_proxy" }

# The lock script set to output cells
[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0x20da6b70dfe59586e89635dbb3adc7aa998e7189"
hash_type = "type"
File renamed without changes.
12 changes: 12 additions & 0 deletions deployment/toml/mainnet/spore_extension_lua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this is a deployment file for ckb testnet

[[cells]]
name = "spore_extension_lua"
enable_type_id = false
location = { file = "../build/release/spore_extension_lua" }

# The lock script set to output cells
[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0x20da6b70dfe59586e89635dbb3adc7aa998e7189"
hash_type = "type"
12 changes: 12 additions & 0 deletions deployment/toml/testnet/cluster.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this is a deployment file for ckb testnet

[[cells]]
name = "cluster"
enable_type_id = false
location = { file = "../build/release/cluster" }

# The lock script set to output cells
[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0x470dcdc5e44064909650113a274b3b36aecb6dc7"
hash_type = "type"
12 changes: 12 additions & 0 deletions deployment/toml/testnet/spore.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this is a deployment file for ckb testnet

[[cells]]
name = "spore"
enable_type_id = false
location = { file = "../build/release/spore" }

# The lock script set to output cells
[lock]
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
args = "0x470dcdc5e44064909650113a274b3b36aecb6dc7"
hash_type = "type"
Loading