File tree Expand file tree Collapse file tree 7 files changed +78
-73
lines changed Expand file tree Collapse file tree 7 files changed +78
-73
lines changed Original file line number Diff line number Diff line change 14
14
- ' **/README.md'
15
15
16
16
env :
17
- TARPAULIN_VERSION : 0.31.0
17
+ TARPAULIN_VERSION : 0.32.7
18
18
19
19
concurrency :
20
20
group : ${{ github.workflow }}-${{ github.ref }}
26
26
runs-on : [self-hosted]
27
27
steps :
28
28
- name : Checkout repository
29
- uses : actions/checkout@v3
29
+ uses : actions/checkout@v4
30
30
with :
31
31
submodules : recursive
32
32
- name : Install toolchain
37
37
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
38
38
make Cargo.toml
39
39
cargo update
40
+ cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
40
41
cargo tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --out Xml
41
42
- name : Upload to codecov.io
42
- uses : codecov/codecov-action@v3
43
+ uses : codecov/codecov-action@v5
43
44
with :
44
- token : ${{ secrets.CODECOV_TOKEN }}
45
45
fail_ci_if_error : true
46
+ env :
47
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 36
36
- name : Update
37
37
run : |
38
38
cargo update
39
+ cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
39
40
- name : Run clippy
40
41
run : cargo clippy -- -D warnings
41
42
- name : Check for Wasm
Original file line number Diff line number Diff line change 27
27
uses : dtolnay/rust-toolchain@nightly
28
28
- name : Install Zepter
29
29
run : cargo install zepter --version 0.15.0 --locked -q -f --no-default-features && zepter --version
30
- - run : make Cargo.toml
31
- - run : cargo update
30
+ - run : |
31
+ make Cargo.toml
32
+ cargo update
33
+ cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
32
34
- name : Check Rust features
33
35
run : make dev-features-check
Original file line number Diff line number Diff line change @@ -147,10 +147,10 @@ fn send_self_parachain_asset_to_sibling() {
147
147
} ) ;
148
148
149
149
ParaB :: execute_with ( || {
150
- assert_eq ! ( ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & BOB ) , 460 ) ;
150
+ assert_eq ! ( ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & BOB ) , 450 ) ;
151
151
assert_eq ! (
152
152
ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & treasury_account( ) ) ,
153
- 40
153
+ 50
154
154
) ;
155
155
} ) ;
156
156
}
@@ -247,12 +247,12 @@ fn send_sibling_asset_to_non_reserve_sibling() {
247
247
) ;
248
248
assert_eq ! (
249
249
ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & sibling_c_account( ) ) ,
250
- 460
250
+ 450
251
251
) ;
252
252
} ) ;
253
253
254
254
ParaC :: execute_with ( || {
255
- assert_eq ! ( ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & BOB ) , 420 ) ;
255
+ assert_eq ! ( ParaTokens :: free_balance( CurrencyId :: RegisteredAsset ( 1 ) , & BOB ) , 400 ) ;
256
256
} ) ;
257
257
}
258
258
@@ -342,7 +342,7 @@ fn test_fixed_rate_asset_trader() {
342
342
) ) ;
343
343
} ) ;
344
344
345
- let expected_fee = 40 ;
345
+ let expected_fee = 50 ;
346
346
let expected_transfer_1_amount = 500 - expected_fee;
347
347
ParaB :: execute_with ( || {
348
348
assert_eq ! (
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ parameter_type_with_key! {
244
244
pub ParachainMinFee : |location: Location | -> Option <u128 > {
245
245
#[ allow( clippy:: match_ref_pats) ] // false positive
246
246
match ( location. parents, location. first_interior( ) ) {
247
- ( 1 , Some ( Parachain ( 3 ) ) ) => Some ( 40 ) ,
247
+ ( 1 , Some ( Parachain ( 3 ) ) ) => Some ( 50 ) ,
248
248
_ => None ,
249
249
}
250
250
} ;
Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ parameter_type_with_key! {
359
359
pub ParachainMinFee : |location: Location | -> Option <u128 > {
360
360
#[ allow( clippy:: match_ref_pats) ] // false positive
361
361
match ( location. parents, location. first_interior( ) ) {
362
- ( 1 , Some ( Parachain ( 2 ) ) ) => Some ( 40 ) ,
363
- ( 1 , Some ( Parachain ( 3 ) ) ) => Some ( 40 ) ,
362
+ ( 1 , Some ( Parachain ( 2 ) ) ) => Some ( 50 ) ,
363
+ ( 1 , Some ( Parachain ( 3 ) ) ) => Some ( 50 ) ,
364
364
_ => None ,
365
365
}
366
366
} ;
You can’t perform that action at this time.
0 commit comments