Skip to content

Commit

Permalink
remove me. this should not be merged
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen3d committed Jul 2, 2024
1 parent ae84730 commit b3be02e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/devnet_deploy_contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy Devnet contracts

# on: workflow_dispatch
on:
push:
branches:
- arsen/fix-pow-proxy-update-2
jobs:
contracts:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
context: app

- name: Install Doppler CLI
uses: dopplerhq/cli-action@v1

- name: Deploy contracts
id: deploy-contracts
env:
DOPPLER_TOKEN: ${{ secrets.DEVNET_DOPPLER_TOKEN_CONTRACTS_DEPLOY }}
run: |
cd hardhat
npm ci
doppler run -- npx hardhat deploy --network devnet
cd ..
- name: Generate Go bindings
run: |
./stack go-bindings
- name: Commit and push
run: |
git checkout -b devnet/chore-updates-after-deploying-contracts
git add pkg/web3/bindings
git add hardhat/deployments
git add hardhat/.openzeppelin
git commit -m "chore: Contract Migration Updated"
git push -u origin devnet/chore-updates-after-deploying-contracts
2 changes: 1 addition & 1 deletion hardhat/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const config: HardhatUserConfig = {
accounts: [getAccount('admin').privateKey],
},
devnet: {
url: 'http://0.0.0.0:8547',
url: 'https://devnet-chain-http.lilypad.tech',
chainId: 412346,
accounts: [getAccount('admin').privateKey],
},
Expand Down

0 comments on commit b3be02e

Please sign in to comment.