Skip to content

Commit

Permalink
chore: increase initial balances
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed May 17, 2024
1 parent d1ee620 commit 170d588
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-bittensor-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ env:
VERBOSE: ${{ github.events.input.verbose }}

jobs:
# runs cargo fmt
e2e-bittensor-tests:
name: e2e bittensor tests
run:
runs-on: SubtensorCI
strategy:
matrix:
Expand All @@ -48,7 +46,6 @@ jobs:
# - os: macos-latest
env:
RELEASE_NAME: development
# RUSTFLAGS: -A warnings
RUSTV: ${{ matrix.rust-branch }}
RUST_BACKTRACE: full
RUST_BIN_DIR: target/${{ matrix.rust-target }}
Expand All @@ -70,12 +67,15 @@ jobs:
components: rustfmt
profile: minimal

- name: Clone bittensor repo
run: git clone https://github.com/opentensor/bittensor.git

- name: Setup bittensor repo
working-directory: ${{ github.workspace }}/bittensor
run: |
git clone https://github.com/opentensor/bittensor.git
cd bittensor
git checkout staging
python3 -m pip install -e bittensor/
- name: Run E2E tests
- name: Run tests
working-directory: ${{ github.workspace }}/bittensor
run: LOCALNET_SH_PATH="../subtensor/scripts/localnet.sh" pytest tests/e2e_tests/ -s
12 changes: 6 additions & 6 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,27 +371,27 @@ fn localnet_genesis(
let mut balances = vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
1000000000000u128,
1000000000000000u128,
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
1000000000000u128,
1000000000000000u128,
),
(
get_account_id_from_seed::<sr25519::Public>("Charlie"),
1000000000000u128,
1000000000000000u128,
),
(
get_account_id_from_seed::<sr25519::Public>("Dave"),
2000000000u128,
2000000000000u128,
),
(
get_account_id_from_seed::<sr25519::Public>("Eve"),
2000000000u128,
2000000000000u128,
),
(
get_account_id_from_seed::<sr25519::Public>("Ferdie"),
2000000000u128,
2000000000000u128,
),
];

Expand Down

0 comments on commit 170d588

Please sign in to comment.