Skip to content

Commit

Permalink
Merge pull request #65 from sporeprotocol/chore/upload-testnet
Browse files Browse the repository at this point in the history
chore: update version 0.2.2-beta.2 to testnet
  • Loading branch information
ashuralyk authored Apr 4, 2024
2 parents 81315ca + f8b9829 commit 9e8663b
Show file tree
Hide file tree
Showing 13 changed files with 115 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The versioning philosophy is **"Using code_hash as version"** for Spore Protocol

Make sure you are using the proper version you want, because there's no such an "upgrade/downgrade" method but we suggest to use "destroy/reconstruct" method instead, which requires no modification of any fields in Spore cell.

Our `forzen` versions of contract, which are our prior versions, can be found in [directory](https://github.com/sporeprotocol/spore-contract/tree/master/deployment/frozen) `./deployment/frozen`. To describe more clearly, the `frozen` information contains each avaliable `code_hash` generated from Spore contracts. Historical version refers to [here](https://github.com/sporeprotocol/spore-contract/blob/master/docs/VERSIONS.md).
Our `frozen` versions of contract, which are our prior versions, can be found in [directory](https://github.com/sporeprotocol/spore-contract/tree/master/deployment/frozen) `./deployment/frozen`. To describe more clearly, the `frozen` information contains each avaliable `code_hash` generated from Spore contracts. Historical version refers to [here](https://github.com/sporeprotocol/spore-contract/blob/master/docs/VERSIONS.md).

In addition, using Mutant contract requires the binary of Lua library. Information are recorded [here](https://github.com/sporeprotocol/spore-contract/tree/master/contracts/spore_extension_lua/lua). For simplicity, it's already deployed in the Pudge Testnet:

Expand Down
7 changes: 7 additions & 0 deletions deployment/frozen/testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
[[code_hash_list]]
cluster = "598d793defef36e2eeba54a9b45130e4ca92822e1d193671f490950c3b856080"
spore = "bbad126377d45f90a8ee120da988a2d7332c78ba8fd679aab478a19d6c133494"

# version v0.2.1
[[code_hash_list]]
cluster = "7366a61534fa7c7e6225ecc0d828ea3b5366adec2b58206f2ee84995fe030075"
spore = "5e063b4c0e7abeaa6a428df3b693521a3050934cf3b0ae97a800d1bc31449398"
cluster_agent = "c986099b41d79ca1b2a56ce5874bcda8175440a17298ea5e2bbc3897736b8c21"
cluster_proxy = "be8b9ce3d05a32c4bb26fe71cd5fc1407ce91e3a8b9e8719be2ab072cef1454b"
13 changes: 13 additions & 0 deletions deployment/migration/testnet/cluster/2024-03-16-0.2.2-beta.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cell_recipes": [
{
"name": "cluster",
"tx_hash": "0xcebb174d6e300e26074aea2f5dbd7f694bb4fe3de52b6dfe205e54f90164510a",
"index": 0,
"occupied_capacity": 4665400000000,
"data_hash": "0x0bbe768b519d8ea7b96d58f1182eb7e6ef96c541fbd9526975077ee09f049058",
"type_id": "0xc11dd38a124e544722bb6f473cb1224022f39919960dbddc364fc0e71ace3c5e"
}
],
"dep_group_recipes": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cell_recipes": [
{
"name": "cluster_agent",
"tx_hash": "0x52210232292d10c51b48e72a2cea60d8f0a08c2680a97a8ee7ca0a39379f0036",
"index": 0,
"occupied_capacity": 5162200000000,
"data_hash": "0x923e997654b2697ee3f77052cb884e98f28799a4270fd412c3edb8f3987ca622",
"type_id": "0x605e38c50cf721b52adabc3b0d4ea8e581b9aafc435f334f199c8c972de56762"
}
],
"dep_group_recipes": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cell_recipes": [
{
"name": "cluster_proxy",
"tx_hash": "0xc5a41d58155b11ecd87a5a49fdcb6e83bd6684d3b72b2f3686f081945461c156",
"index": 0,
"occupied_capacity": 4655800000000,
"data_hash": "0x4349889bda064adab8f49f7dd8810d217917f7df28e9b2a1df0b74442399670a",
"type_id": "0xf07d2a034728c60244b745fc261eed9edad10a57e05aa740819288ed404b716c"
}
],
"dep_group_recipes": []
}
13 changes: 13 additions & 0 deletions deployment/migration/testnet/spore/2024-03-16-0.2.2-beta.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cell_recipes": [
{
"name": "spore",
"tx_hash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f",
"index": 0,
"occupied_capacity": 7591800000000,
"data_hash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d",
"type_id": "0x406f121d5d0f2a51deb8eb708c905010c795ce039d90bac8a7e13663803df10f"
}
],
"dep_group_recipes": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cell_recipes": [
{
"name": "spore_extension_lua",
"tx_hash": "0x9b2098e5b6f575b2fd34ffd0212bc1c96e1f9e86fcdb146511849c174dfe0d02",
"index": 0,
"occupied_capacity": 3162200000000,
"data_hash": "0x5ff1a403458b436ea4b2ceb72f1fa70a6507968493315b646f5302661cb68e57",
"type_id": "0xd2344a2eb941b70cd8a621d0e5d3a5e343a3716acd992d070d135f4f05734fdd"
}
],
"dep_group_recipes": []
}
2 changes: 1 addition & 1 deletion deployment/toml/testnet/cluster.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# The lock script set to output cells
Expand Down
2 changes: 1 addition & 1 deletion deployment/toml/testnet/cluster_agent.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# The lock script set to output cells
Expand Down
2 changes: 1 addition & 1 deletion deployment/toml/testnet/cluster_proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# The lock script set to output cells
Expand Down
2 changes: 1 addition & 1 deletion deployment/toml/testnet/spore.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# The lock script set to output cells
Expand Down
2 changes: 1 addition & 1 deletion deployment/toml/testnet/spore_extension_lua.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# The lock script set to output cells
Expand Down
37 changes: 37 additions & 0 deletions docs/VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,40 @@
|tx_hash|0xe464b7fb9311c5e2820e61c99afc615d6b98bdefbe318c34868c010cbd0dc938|
|index|0|
|code_hash|0x7366a61534fa7c7e6225ecc0d828ea3b5366adec2b58206f2ee84995fe030075|

## tag 0.2.2-beta.2 (testnet)

**spore**:
| | |
|-|-|
|tx_hash|0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f|
|index|0|
|code_hash|0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d|

**cluster**:
| | |
|-|-|
|tx_hash|0xcebb174d6e300e26074aea2f5dbd7f694bb4fe3de52b6dfe205e54f90164510a|
|index|0|
|code_hash|0x0bbe768b519d8ea7b96d58f1182eb7e6ef96c541fbd9526975077ee09f049058|

**cluster_agent**:
| | |
|-|-|
|tx_hash|0x52210232292d10c51b48e72a2cea60d8f0a08c2680a97a8ee7ca0a39379f0036|
|index|0|
|code_hash|0x923e997654b2697ee3f77052cb884e98f28799a4270fd412c3edb8f3987ca622|

**cluster_proxy**:
| | |
|-|-|
|tx_hash|0xc5a41d58155b11ecd87a5a49fdcb6e83bd6684d3b72b2f3686f081945461c156|
|index|0|
|code_hash|0x4349889bda064adab8f49f7dd8810d217917f7df28e9b2a1df0b74442399670a|

**spore_extension_lua**:
| | |
|-|-|
|tx_hash|0x9b2098e5b6f575b2fd34ffd0212bc1c96e1f9e86fcdb146511849c174dfe0d02|
|index|0|
|code_hash|0x5ff1a403458b436ea4b2ceb72f1fa70a6507968493315b646f5302661cb68e57|

0 comments on commit 9e8663b

Please sign in to comment.