git.delta.rocks / unique-network / refs/commits / c6842c8d831a

difftreelog

Merge pull request #815 from UniqueNetwork/feature/sapphire-is-quartz

Yaroslav Bolyukin2022-12-29parents: #a2c419c #4dff934.patch.diff
in: master
Move sapphire to quartz

11 files changed

modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
34 uses: CertainLach/create-matrix-action@v334 uses: CertainLach/create-matrix-action@v3
35 id: create_matrix35 id: create_matrix
36 with:36 with:
37 matrix: |37 matrix: |
38 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}38 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
39 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}39 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
41 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}41 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
4242
43 forkless-update-data:43 forkless-update-data:
44 needs: execution-marix44 needs: execution-marix
70 with:70 with:
71 template: .docker/docker-compose.tmp-forkless-data.j271 template: .docker/docker-compose.tmp-forkless-data.j2
72 output_file: .docker/docker-compose-forkless-data.${{ matrix.network }}.yml72 output_file: .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
73 variables: |73 variables: |
74 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git74 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
75 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}75 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
76 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}76 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
77 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 77 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
78 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}78 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
79 # MAINNET_TAG=${{ matrix.mainnet_tag }}79 # MAINNET_TAG=${{ matrix.mainnet_tag }}
80 MAINNET_BRANCH=${{ matrix.mainnet_branch }}80 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
81 NETWORK=${{ matrix.network }}81 NETWORK=${{ matrix.network }}
82 # BRANCH=${{ github.head_ref }}82 # BRANCH=${{ github.head_ref }}
83 REPLICA_FROM=${{ matrix.replica_from_address }}83 REPLICA_FROM=${{ matrix.replica_from_address }}
84 WASM_NAME=${{ matrix.wasm_name }}84 WASM_NAME=${{ matrix.wasm_name }}
8585
86 - name: Show build configuration86 - name: Show build configuration
87 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml87 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
33 uses: CertainLach/create-matrix-action@v333 uses: CertainLach/create-matrix-action@v3
34 id: create_matrix34 id: create_matrix
35 with:35 with:
36 matrix: |36 matrix: |
37 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}37 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
38 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}38 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
39 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}39 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
40 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}40 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
4141
4242
43 forkless-update-nodata:43 forkless-update-nodata:
72 with:72 with:
73 template: .docker/docker-compose.tmp-forkless-nodata.j273 template: .docker/docker-compose.tmp-forkless-nodata.j2
74 output_file: .docker/docker-compose.${{ matrix.network }}.yml74 output_file: .docker/docker-compose.${{ matrix.network }}.yml
75 variables: |75 variables: |
76 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git76 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
77 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}77 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
78 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}78 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
79 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 79 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
80 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}80 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
81 # MAINNET_TAG=${{ matrix.mainnet_tag }}81 # MAINNET_TAG=${{ matrix.mainnet_tag }}
82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
83 NETWORK=${{ matrix.network }}83 NETWORK=${{ matrix.network }}
84 # BRANCH=${{ github.head_ref }}84 # BRANCH=${{ github.head_ref }}
85 WASM_NAME=${{ matrix.wasm_name }}85 WASM_NAME=${{ matrix.wasm_name }}
8686
87 - name: Show build configuration87 - name: Show build configuration
88 run: cat .docker/docker-compose.${{ matrix.network }}.yml88 run: cat .docker/docker-compose.${{ matrix.network }}.yml
modified.github/workflows/integration-tests.ymldiffbeforeafterboth
34 uses: fabiocaccamo/create-matrix-action@v234 uses: fabiocaccamo/create-matrix-action@v2
35 id: create_matrix35 id: create_matrix
36 with:36 with:
37 matrix: |37 matrix: |
38 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}38 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
39 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}39 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
40 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}40 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
41 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}41 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
42 42
43 parallel-test:43 parallel-test:
44 needs: nodes-execution-matrix44 needs: nodes-execution-matrix
73 with:73 with:
74 template: .docker/docker-compose.tmp-node.j274 template: .docker/docker-compose.tmp-node.j2
75 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml75 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml
76 variables: |76 variables: |
77 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git77 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
78 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}78 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
79 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}79 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
80 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 80 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
81 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}81 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
82 MAINNET_TAG=${{ matrix.mainnet_tag }}82 MAINNET_TAG=${{ matrix.mainnet_tag }}
83 MAINNET_BRANCH=${{ matrix.mainnet_branch }}83 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
84 NETWORK=${{ matrix.network }}84 NETWORK=${{ matrix.network }}
85 BRANCH=${{ github.head_ref }}85 BRANCH=${{ github.head_ref }}
86 WASM_NAME=${{ matrix.wasm_name }}86 WASM_NAME=${{ matrix.wasm_name }}
87 87
88 - name: Show build configuration88 - name: Show build configuration
89 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml89 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
222 with:222 with:
223 template: .docker/docker-compose.tmp-node.j2223 template: .docker/docker-compose.tmp-node.j2
224 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml224 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml
225 variables: |225 variables: |
226 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git226 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
227 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}227 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
228 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}228 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
229 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 229 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
230 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}230 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
231 MAINNET_TAG=${{ matrix.mainnet_tag }}231 MAINNET_TAG=${{ matrix.mainnet_tag }}
232 MAINNET_BRANCH=${{ matrix.mainnet_branch }}232 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
233 NETWORK=${{ matrix.network }}233 NETWORK=${{ matrix.network }}
234 BRANCH=${{ github.head_ref }}234 BRANCH=${{ github.head_ref }}
235 WASM_NAME=${{ matrix.wasm_name }}235 WASM_NAME=${{ matrix.wasm_name }}
236 236
237 - name: Show build configuration237 - name: Show build configuration
238 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml238 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
36 uses: CertainLach/create-matrix-action@v336 uses: CertainLach/create-matrix-action@v3
37 id: create_matrix37 id: create_matrix
38 with:38 with:
39 matrix: |39 matrix: |
40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
41 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}41 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
42 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}42 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
43 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}43 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
4444
4545
46 nodes-only-update:46 nodes-only-update:
204204
205 - name: Send SIGUSR1 to polkadot-launch process205 - name: Send SIGUSR1 to polkadot-launch process
206 if: success() || failure()206 if: success() || failure()
207 run: |207 run: |
208 #Get PID of polkadot-launch208 #Get PID of polkadot-launch
209 ContainerID=$(docker ps -aqf "name=node-parachain")209 ContainerID=$(docker ps -aqf "name=node-parachain")
210 PID=$(docker exec node-parachain pidof 'polkadot-launch')210 PID=$(docker exec node-parachain pidof 'polkadot-launch')
211 sleep 30s211 sleep 30s
212 echo -e "\n"212 echo -e "\n"
213 echo -e "Restart polkadot-launch process: $PID\n"213 echo -e "Restart polkadot-launch process: $PID\n"
214 docker exec node-parachain kill -SIGUSR1 ${PID}214 docker exec node-parachain kill -SIGUSR1 ${PID}
215 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"215 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"
216 sleep 60s216 sleep 60s
217 echo -e "Show logs of node-parachain container.\n" 217 echo -e "Show logs of node-parachain container.\n"
218 docker logs ${ContainerID}218 docker logs ${ContainerID}
219219
220 - name: Get chain logs in case of docker image crashed after Polkadot Launch restart220 - name: Get chain logs in case of docker image crashed after Polkadot Launch restart
221 if: failure() # run this step only at failure221 if: failure() # run this step only at failure
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
32 uses: CertainLach/create-matrix-action@v332 uses: CertainLach/create-matrix-action@v3
33 id: create_matrix33 id: create_matrix
34 with:34 with:
35 matrix: |35 matrix: |
36 network {opal}, wasm_name {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}36 network {opal}, wasm_name {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
37 network {sapphire}, wasm_name {opal}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}37 network {sapphire}, wasm_name {quartz}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}
38 network {quartz}, wasm_name {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}38 network {quartz}, wasm_name {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
39 network {unique}, wasm_name {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}39 network {unique}, wasm_name {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
4040
41 try-runtime:41 try-runtime:
42 needs: prepare-execution-marix42 needs: prepare-execution-marix
modifiednode/cli/Cargo.tomldiffbeforeafterboth
340 'opal-runtime?/try-runtime',340 'opal-runtime?/try-runtime',
341 'try-runtime-cli/try-runtime',341 'try-runtime-cli/try-runtime',
342]342]
343sapphire-runtime = ['opal-runtime', 'opal-runtime/become-sapphire']343sapphire-runtime = ['quartz-runtime', 'quartz-runtime/become-sapphire']
344pov-estimate = [344pov-estimate = [
345 'unique-runtime?/pov-estimate',345 'unique-runtime?/pov-estimate',
346 'quartz-runtime?/pov-estimate',346 'quartz-runtime?/pov-estimate',
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
196 'foreign-assets',196 'foreign-assets',
197 'pallet-test-utils',197 'pallet-test-utils',
198]198]
199become-sapphire = []
200pov-estimate = []199pov-estimate = []
201200
202refungible = []201refungible = []
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
4444
45pub use runtime_common::*;45pub use runtime_common::*;
4646
47#[cfg(feature = "become-sapphire")]
48pub const RUNTIME_NAME: &str = "sapphire";
49#[cfg(feature = "become-sapphire")]
50pub const TOKEN_SYMBOL: &str = "QTZ";
51
52#[cfg(not(feature = "become-sapphire"))]
53pub const RUNTIME_NAME: &str = "opal";47pub const RUNTIME_NAME: &str = "opal";
54#[cfg(not(feature = "become-sapphire"))]
55pub const TOKEN_SYMBOL: &str = "OPL";48pub const TOKEN_SYMBOL: &str = "OPL";
5649
57/// This runtime version.50/// This runtime version.
66 state_version: 0,59 state_version: 0,
67};60};
6861
69parameter_types! {62parameter_types! {
70 pub const Version: RuntimeVersion = VERSION;63 pub const Version: RuntimeVersion = VERSION;
71}
72#[cfg(feature = "become-sapphire")]
73parameter_types! {
74 pub const SS58Prefix: u16 = 8883;64 pub const SS58Prefix: u16 = 42;
75 pub const ChainId: u64 = 8883;
76}
77
78#[cfg(not(feature = "become-sapphire"))]
79parameter_types! {
80 pub const SS58Prefix: u16 = 42;
81 pub const ChainId: u64 = 8882;65 pub const ChainId: u64 = 8882;
82}66}
8367
84construct_runtime!(opal);68construct_runtime!(opal);
8569
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
182]182]
183limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']183limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
184quartz-runtime = ['refungible', 'app-promotion', 'collator-selection', 'foreign-assets']184quartz-runtime = ['refungible', 'app-promotion', 'collator-selection', 'foreign-assets']
185become-sapphire = []
185pov-estimate = []186pov-estimate = []
186187
187refungible = []188refungible = []
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
4444
45pub use runtime_common::*;45pub use runtime_common::*;
4646
47#[cfg(feature = "become-sapphire")]
48pub const RUNTIME_NAME: &str = "sapphire";
49#[cfg(not(feature = "become-sapphire"))]
47pub const RUNTIME_NAME: &str = "quartz";50pub const RUNTIME_NAME: &str = "quartz";
48pub const TOKEN_SYMBOL: &str = "QTZ";51pub const TOKEN_SYMBOL: &str = "QTZ";
4952
59 state_version: 0,62 state_version: 0,
60};63};
6164
62parameter_types! {65parameter_types! {
63 pub const Version: RuntimeVersion = VERSION;66 pub const Version: RuntimeVersion = VERSION;
67}
68#[cfg(feature = "become-sapphire")]
69parameter_types! {
64 pub const SS58Prefix: u8 = 255;70 pub const SS58Prefix: u16 = 8883;
71 pub const ChainId: u64 = 8883;
72}
73
74#[cfg(not(feature = "become-sapphire"))]
75parameter_types! {
76 pub const SS58Prefix: u8 = 255;
65 pub const ChainId: u64 = 8881;77 pub const ChainId: u64 = 8881;
66}78}
6779
68construct_runtime!(quartz);80construct_runtime!(quartz);
6981
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
69 const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];69 const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
70 const testUtils = 'testutils';70 const testUtils = 'testutils';
7171
72 if (chain.eq('OPAL by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {72 if (chain.eq('OPAL by UNIQUE')) {
73 requiredPallets.push(73 requiredPallets.push(
74 refungible,74 refungible,
75 foreignAssets,75 foreignAssets,
76 appPromotion,76 appPromotion,
77 testUtils,77 testUtils,
78 ...rmrkPallets,78 ...rmrkPallets,
79 );79 );
80 } else if (chain.eq('QUARTZ by UNIQUE')) {80 } else if (chain.eq('QUARTZ by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {
81 requiredPallets.push(81 requiredPallets.push(
82 refungible,82 refungible,
83 appPromotion,83 appPromotion,