From 39671b64816f6ede4f8f83272e0ed8cf73b7228c Mon Sep 17 00:00:00 2001 From: liyukun Date: Sat, 16 Mar 2024 10:33:10 +0800 Subject: [PATCH 1/2] chore: update version 0.2.2-beta.2 to testnet --- deployment/frozen/testnet.toml | 7 ++++ .../cluster/2024-03-16-0.2.2-beta.2.json | 13 +++++++ .../2024-03-16-0.2.2-beta.2.json | 13 +++++++ .../2024-03-16-0.2.2-beta.2.json | 13 +++++++ .../spore/2024-03-16-0.2.2-beta.2.json | 13 +++++++ .../2024-03-16-0.2.2-beta.2.json | 13 +++++++ deployment/toml/testnet/cluster.toml | 2 +- deployment/toml/testnet/cluster_agent.toml | 2 +- deployment/toml/testnet/cluster_proxy.toml | 2 +- deployment/toml/testnet/spore.toml | 2 +- .../toml/testnet/spore_extension_lua.toml | 2 +- docs/VERSIONS.md | 37 +++++++++++++++++++ 12 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 deployment/migration/testnet/cluster/2024-03-16-0.2.2-beta.2.json create mode 100644 deployment/migration/testnet/cluster_agent/2024-03-16-0.2.2-beta.2.json create mode 100644 deployment/migration/testnet/cluster_proxy/2024-03-16-0.2.2-beta.2.json create mode 100644 deployment/migration/testnet/spore/2024-03-16-0.2.2-beta.2.json create mode 100644 deployment/migration/testnet/spore_extension_lua/2024-03-16-0.2.2-beta.2.json diff --git a/deployment/frozen/testnet.toml b/deployment/frozen/testnet.toml index 33948fd..c73dd2f 100644 --- a/deployment/frozen/testnet.toml +++ b/deployment/frozen/testnet.toml @@ -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" diff --git a/deployment/migration/testnet/cluster/2024-03-16-0.2.2-beta.2.json b/deployment/migration/testnet/cluster/2024-03-16-0.2.2-beta.2.json new file mode 100644 index 0000000..8635233 --- /dev/null +++ b/deployment/migration/testnet/cluster/2024-03-16-0.2.2-beta.2.json @@ -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": [] +} \ No newline at end of file diff --git a/deployment/migration/testnet/cluster_agent/2024-03-16-0.2.2-beta.2.json b/deployment/migration/testnet/cluster_agent/2024-03-16-0.2.2-beta.2.json new file mode 100644 index 0000000..b9139ce --- /dev/null +++ b/deployment/migration/testnet/cluster_agent/2024-03-16-0.2.2-beta.2.json @@ -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": [] +} \ No newline at end of file diff --git a/deployment/migration/testnet/cluster_proxy/2024-03-16-0.2.2-beta.2.json b/deployment/migration/testnet/cluster_proxy/2024-03-16-0.2.2-beta.2.json new file mode 100644 index 0000000..a4abc4a --- /dev/null +++ b/deployment/migration/testnet/cluster_proxy/2024-03-16-0.2.2-beta.2.json @@ -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": [] +} \ No newline at end of file diff --git a/deployment/migration/testnet/spore/2024-03-16-0.2.2-beta.2.json b/deployment/migration/testnet/spore/2024-03-16-0.2.2-beta.2.json new file mode 100644 index 0000000..4abc2d1 --- /dev/null +++ b/deployment/migration/testnet/spore/2024-03-16-0.2.2-beta.2.json @@ -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": [] +} \ No newline at end of file diff --git a/deployment/migration/testnet/spore_extension_lua/2024-03-16-0.2.2-beta.2.json b/deployment/migration/testnet/spore_extension_lua/2024-03-16-0.2.2-beta.2.json new file mode 100644 index 0000000..93501ae --- /dev/null +++ b/deployment/migration/testnet/spore_extension_lua/2024-03-16-0.2.2-beta.2.json @@ -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": [] +} \ No newline at end of file diff --git a/deployment/toml/testnet/cluster.toml b/deployment/toml/testnet/cluster.toml index 6a4cf37..b7fcdec 100644 --- a/deployment/toml/testnet/cluster.toml +++ b/deployment/toml/testnet/cluster.toml @@ -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 diff --git a/deployment/toml/testnet/cluster_agent.toml b/deployment/toml/testnet/cluster_agent.toml index 5daac52..e6631d7 100644 --- a/deployment/toml/testnet/cluster_agent.toml +++ b/deployment/toml/testnet/cluster_agent.toml @@ -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 diff --git a/deployment/toml/testnet/cluster_proxy.toml b/deployment/toml/testnet/cluster_proxy.toml index 5d4ebed..300aaaa 100644 --- a/deployment/toml/testnet/cluster_proxy.toml +++ b/deployment/toml/testnet/cluster_proxy.toml @@ -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 diff --git a/deployment/toml/testnet/spore.toml b/deployment/toml/testnet/spore.toml index e685c2b..2e6e8f7 100644 --- a/deployment/toml/testnet/spore.toml +++ b/deployment/toml/testnet/spore.toml @@ -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 diff --git a/deployment/toml/testnet/spore_extension_lua.toml b/deployment/toml/testnet/spore_extension_lua.toml index 915e310..03a2f74 100644 --- a/deployment/toml/testnet/spore_extension_lua.toml +++ b/deployment/toml/testnet/spore_extension_lua.toml @@ -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 diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md index 6ce62b4..1f77445 100644 --- a/docs/VERSIONS.md +++ b/docs/VERSIONS.md @@ -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| From f8b9829d88ea54088b65a8b9fda0984480589f11 Mon Sep 17 00:00:00 2001 From: liyukun Date: Thu, 21 Mar 2024 14:58:39 +0800 Subject: [PATCH 2/2] chore: fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9b7bdd..aa24577 100644 --- a/README.md +++ b/README.md @@ -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: