diff --git a/.github/workflows/starknet-js-test.yml b/.github/workflows/starknet-js-test.yml index 1dd6ba4fc..e23ebe987 100644 --- a/.github/workflows/starknet-js-test.yml +++ b/.github/workflows/starknet-js-test.yml @@ -23,7 +23,7 @@ jobs: fail-on-cache-miss: true - name: Setup dev chain and run tests run: | - ./target/release/madara --name madara --base-path ../madara_db --telemetry-disabled --rpc-port 9944 --rpc-cors all --devnet --preset devnet & + ./target/release/madara --name madara --base-path ../madara_db --rpc-port 9944 --rpc-cors all --devnet --preset devnet & MADARA_PID=$! while ! echo exit | nc localhost 9944; do sleep 1; done cd tests/js_tests diff --git a/CHANGELOG.md b/CHANGELOG.md index f188e2bab..e0e544b0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Next release +- chore: padded devnet address display with 64 chars - feat(script): added more capabilities to the launcher script - fix(fgw): sync from other nodes and block signature - fix: added more launcher capabilities diff --git a/crates/client/devnet/src/predeployed_contracts.rs b/crates/client/devnet/src/predeployed_contracts.rs index eb34c604f..30d490d47 100644 --- a/crates/client/devnet/src/predeployed_contracts.rs +++ b/crates/client/devnet/src/predeployed_contracts.rs @@ -27,8 +27,8 @@ impl fmt::Display for DevnetKeys { writeln!(f, "==== DEVNET PREDEPLOYED CONTRACTS ====")?; writeln!(f)?; for (i, contract) in self.0.iter().enumerate() { - writeln!(f, "(#{}) Address: {:#x}", i + 1, contract.address,)?; - writeln!(f, " Private key: {:#x}", contract.secret.secret_scalar())?; + writeln!(f, "(#{}) Address: {}", i + 1, contract.address.to_fixed_hex_string())?; + writeln!(f, " Private key: {}", contract.secret.secret_scalar().to_fixed_hex_string())?; match contract.balance.as_u128_fri_wei() { Ok((fri, wei)) => { let (strk, eth) = (fri / STRK_FRI_DECIMALS, wei / ETH_WEI_DECIMALS);