Skip to content

Commit 624caa2

Browse files
authored
Fix contract size regression tests in CI (#2447)
* Clean up comments * Use correct `deranged` features * Retain 1.85 * Revert "Retain 1.85" This reverts commit 7a1dd4b.
1 parent ab41b83 commit 624caa2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -810,11 +810,7 @@ jobs:
810810
#sed -ie 's/^integration-tests\/\(public\/\|internal\/\)\?//' ${CONTRACT_SIZE_FILE}"
811811
812812
- uses: actions/upload-artifact@v4
813-
#env:
814-
#CONTRACT_SIZE_FILE: ${{ matrix.branch }}_contract_size_${{ matrix.partition }}
815813
with:
816-
#name: ${{ github.job }}-${{ matrix.branch }}-data
817-
#name: ./measurements-${{ PR_NUMBER }}
818814
path: ./measurements-${{ steps.extract_branch.outputs.branch }}/*
819815
name: ${{ env.RUN_UNIQUE_ID }}_artifact_${{ matrix.partition }}
820816
retention-days: 1

crates/e2e/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0
5353
sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0eac747bf346804279217a68f700da", default-features = false, features = ["disable_target_static_assertions"] }
5454

5555
# todo Pin until https://github.com/jhpratt/deranged/issues/18 is resolved
56-
deranged = "=0.4.0"
56+
deranged = { version = "=0.4.0", default-features = false }
5757

5858
[dev-dependencies]
5959
# Required for the doctest of `MessageBuilder::call`
@@ -62,6 +62,7 @@ scale-info = { workspace = true, features = ["derive"] }
6262
[features]
6363
default = [ "std" ]
6464
std = [
65+
"deranged/std",
6566
"impl-serde/std",
6667
"ink_e2e_macro/std",
6768
"pallet-revive/std",

crates/ink/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0
3737
sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0eac747bf346804279217a68f700da", default-features = false, features = ["disable_target_static_assertions"] }
3838

3939
# todo pin until https://github.com/jhpratt/deranged/issues/18 is resolved
40-
deranged = "=0.4.0"
40+
deranged = { version = "=0.4.0", default-features = false }
4141

4242
[dev-dependencies]
4343
ink_ir = { workspace = true, default-features = true }
@@ -48,6 +48,7 @@ trybuild = { workspace = true, features = ["diff"] }
4848
default = ["std"]
4949
std = [
5050
"alloy-sol-types/std",
51+
"deranged/std",
5152
"ink_env/std",
5253
"ink_macro/std",
5354
"ink_metadata/std",

0 commit comments

Comments
 (0)