Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jan 22, 2024
1 parent c81c3fc commit fce3ddb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/allocation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- cron: "42 3 * * *"

jobs:
test_faucet_holesky:
name: Test Holesky faucet
test_allocation:
name: Test Allocation
timeout-minutes: 20

runs-on: ubuntu-latest
Expand All @@ -23,11 +23,14 @@ jobs:
shared-key: "dev-build-cache"

- name: Build
run: cargo build
run: |
cargo build
cp target/debug/erc20_processor /usr/local/bin/erc20_processor
- name: Generate ethereum accounts
run: |
cargo run -- generate-key -n 5 > .env
erc20_processor generate-key -n 5 > .env
cat .env | grep ETH_ADDRESS | sed "s/#\s//g" | sed "s/:\s/=/g" > $GITHUB_ENV
- name: Show created addresses
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:
- name: Transfer 166.6 GLM tokens
run: |
cargo run -- transfer --account-no 1 --recipient 0x5b984629E2Cc7570cBa7dD745b83c3dD23Ba6d0f --token glm --amount 166.6
cargo run -- deposit --account-no 1 --amount 800
cargo run -- run
- name: Transfer all GLM tokens
Expand Down

0 comments on commit fce3ddb

Please sign in to comment.