-
Notifications
You must be signed in to change notification settings - Fork 60
[ANCHOR-1016] Move testnet reset scripts into Anchor Platform repo #1757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a463f8f
Update testnet reset script
philipliu 4b125da
Issue SRT
philipliu 93298a2
Fix SEP-10 signer public key
philipliu 3c1402f
Only issue Circle USDC to testanchor account
philipliu abd6966
Fund distribution account
philipliu 0a3125c
Ancho receive account
philipliu 92f223e
Merge branch 'develop' into philip/testnet-reset
philipliu 4402839
Update
philipliu 45fcbd5
Merge branch 'develop' of github.com:stellar/anchor-platform into phi…
amandagonsalves 99fcca7
feat(workflow): add testnet reset workflow
amandagonsalves f5d6edf
refactor(scripts): derive public keys dynamically
amandagonsalves f7b7b2f
Potential fix for pull request finding 'CodeQL / Workflow does not co…
amandagonsalves c30fa9d
refactor(testnet): update key management for contract deployment
amandagonsalves a3701cd
refactor(ci/script): update secret handling and build process
amandagonsalves 9bb3a7e
feat(scripts): update testnet usdc funding amounts
amandagonsalves 283c382
Potential fix for pull request finding
amandagonsalves 98d214b
Potential fix for pull request finding
amandagonsalves c53b6e6
test(testnet-setup): update testnet funding and recipient list
amandagonsalves File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: Testnet Reset | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| testnet_reset: | ||
| name: Run Testnet Reset | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| SECRET_SEP10_SIGNING_SEED: ${{ secrets.SECRET_SEP10_SIGNING_SEED }} | ||
| TEST_CLIENT_WALLET_SECRET: ${{ secrets.TEST_CLIENT_WALLET_SECRET }} | ||
| TEST_CLIENT_WALLET_EXTRA_SIGNER_1_SECRET: ${{ secrets.TEST_CLIENT_WALLET_EXTRA_SIGNER_1_SECRET }} | ||
| TEST_CLIENT_WALLET_EXTRA_SIGNER_2_SECRET: ${{ secrets.TEST_CLIENT_WALLET_EXTRA_SIGNER_2_SECRET }} | ||
| OTHER_SEP10_SIGNING_SECRET: ${{ secrets.OTHER_SEP10_SIGNING_SECRET }} | ||
| TEST_WITHDRAW_FUND_CLIENT_SECRET_1: ${{ secrets.TEST_WITHDRAW_FUND_CLIENT_SECRET_1 }} | ||
| TEST_WITHDRAW_FUND_CLIENT_SECRET_2: ${{ secrets.TEST_WITHDRAW_FUND_CLIENT_SECRET_2 }} | ||
| TEST_DEPOSIT_FUND_CLIENT_SECRET_1: ${{ secrets.TEST_DEPOSIT_FUND_CLIENT_SECRET_1 }} | ||
| TEST_DEPOSIT_FUND_CLIENT_SECRET_2: ${{ secrets.TEST_DEPOSIT_FUND_CLIENT_SECRET_2 }} | ||
| USDC_ISSUER_SECRET: ${{ secrets.USDC_ISSUER_SECRET }} | ||
| SRT_ISSUER_SECRET: ${{ secrets.SRT_ISSUER_SECRET }} | ||
| TESTANCHOR_DISTRIBUTION_SECRET: ${{ secrets.TESTANCHOR_DISTRIBUTION_SECRET }} | ||
| TESTANCHOR_RECEIVE_SECRET: ${{ secrets.TESTANCHOR_RECEIVE_SECRET }} | ||
| SECRET__KEY: ${{ secrets.SECRET__KEY }} | ||
| steps: | ||
| - name: Checkout the repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Rust | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| targets: wasm32v1-none | ||
|
|
||
| - name: Install Stellar CLI | ||
| run: cargo install --locked stellar-cli --features opt | ||
|
|
||
| - name: Install stellar-sdk Python package | ||
| run: python3 -m pip install stellar-sdk | ||
|
|
||
| - name: Run testnet reset | ||
| working-directory: scripts | ||
| run: bash testnet_reset.sh | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.