Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .github/workflows/deploy-tenderly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# Fund wallet using unlimited faucet: https://docs.tenderly.co/virtual-testnets/unlimited-faucet
- name: Fund Account
env:
TENDERLY_ADMIN_RPC_URL: ${{ env.TENDERLY_ADMIN_RPC_URL }}
TENDERLY_ADMIN_RPC_URL: ${{ env.TENDERLY_ADMIN_RPC_URL_1 }}
ADMIN_WALLET: ${{ vars.TENDERLY_ADMIN_WALLET }}
run: |
curl $TENDERLY_ADMIN_RPC_URL \
Expand Down Expand Up @@ -68,35 +68,33 @@ jobs:
- name: Deploy Contracts
env:
PRIVATE_KEY: ${{ secrets.TENDERLY_PRIVATE_KEY }}
TENDERLY_PUBLIC_RPC_URL: ${{ env.TENDERLY_PUBLIC_RPC_URL }}
FOUNDRY_VERIFIER_URL: ${{ env.TENDERLY_FOUNDRY_VERIFICATION_URL }}
TENDERLY_PUBLIC_RPC_URL: ${{ env.TENDERLY_PUBLIC_RPC_URL_1 }}
FOUNDRY_VERIFIER_URL: ${{ env.TENDERLY_FOUNDRY_VERIFICATION_URL_1 }}
TENDERLY_ACCESS_KEY: ${{ secrets.TENDERLY_ACCESS_KEY }}
run: |
forge script script/deploy/Deploy-all.s.sol \
--private-key $PRIVATE_KEY \
--rpc-url $TENDERLY_PUBLIC_RPC_URL \
--verify \
--verifier-url $FOUNDRY_VERIFIER_URL \
--slow \
--rpc-url $TENDERLY_PUBLIC_RPC_URL \
--broadcast

# Generate deployment logs
- name: Generate Deployment Logs
# env:
# TENDERLY_EXPLORER_URL: ${{ env.TENDERLY_EXPLORER_URL }}
env:
TENDERLY_EXPLORER_URL: ${{ env.TENDERLY_PUBLIC_RPC_URL_1 }}
run: |
rm -f deployments/1294121.md
rm -f deployments/json/1294121.json
node lib/forge-chronicles Deploy-all.s.sol -c 1294121 --force
# -e $TENDERLY_EXPLORER_URL
node lib/forge-chronicles Deploy-all.s.sol -c 1294121 -e $TENDERLY_EXPLORER_URL --force

# https://github.com/marketplace/actions/tenderly-virtual-testnet-setup#outputs
- name: Add RPC URL to deployment logs
env:
TENDERLY_URL: ${{ env.TENDERLY_PUBLIC_RPC_URL }}
TENDERLY_URL: ${{ env.TENDERLY_PUBLIC_RPC_URL_1 }}
run: |
sed -i '2i\ "name": "Uniswap Tenderly Virtual Testnet",' deployments/json/1294121.json
sed -i '3i\ "rpc_url": "'"$TENDERLY_URL"'",' deployments/json/1294121.json
cat deployments/json/1294121.json

- name: Configure Git
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"networks": {
"1": {
"id": "d9b87ee1-7c6d-46ea-b69c-9015b81cd558",
"publicRpcUrl": "https://virtual.mainnet.rpc.tenderly.co/32c98540-2e0f-4dce-84a4-9a04047bd2a6",
"networkId": "1",
"chainId": 1294121,
"testnetSlug": "29-uniswap-vnet-ci-cd-16198068286-net-1-deploy-to-tenderly-virtual-testnet-deploy-to-tenderly-16198068286",
"explorerUrl": "https://dashboard.tenderly.co/explorer/vnet/d9b87ee1-7c6d-46ea-b69c-9015b81cd558/transactions"
}
},
"timestamp": "2025-07-10T14:38:42.392Z",
"githubContext": {
"workflow": "Deploy to Tenderly Virtual TestNet",
"runId": "16198068286",
"runNumber": "29",
"job": "deploy-to-tenderly"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"networks": {
"1": {
"id": "b2d7b14f-cf32-494f-96d6-bf483746c97e",
"publicRpcUrl": "https://virtual.mainnet.rpc.tenderly.co/3d99f140-fa09-4003-b2ee-f4b688ce43ed",
"networkId": "1",
"chainId": 1294121,
"testnetSlug": "30-uniswap-vnet-ci-cd-16278394125-net-1-deploy-to-tenderly-virtual-testnet-deploy-to-tenderly-16278394125",
"explorerUrl": "https://dashboard.tenderly.co/explorer/vnet/b2d7b14f-cf32-494f-96d6-bf483746c97e/transactions"
}
},
"timestamp": "2025-07-14T21:38:32.977Z",
"githubContext": {
"workflow": "Deploy to Tenderly Virtual TestNet",
"runId": "16278394125",
"runNumber": "30",
"job": "deploy-to-tenderly"
}
}
1,128 changes: 1,128 additions & 0 deletions broadcast/Deploy-all.s.sol/1294121/run-1752529169.json

Large diffs are not rendered by default.

1,128 changes: 1,128 additions & 0 deletions broadcast/Deploy-all.s.sol/1294121/run-latest.json

Large diffs are not rendered by default.

Loading
Loading