Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
cb239ef
add tron deployer
ezynda3 Jul 25, 2025
d49ca62
fix imports
ezynda3 Jul 25, 2025
3b9c2ce
fix imports
ezynda3 Jul 25, 2025
9a2dbb8
fix imports
ezynda3 Jul 25, 2025
c174c09
Update config/networks.json
ezynda3 Jul 25, 2025
e9cf7a3
Merge branch 'main' of github.com:lifinance/contracts into tron
ezynda3 Jul 28, 2025
9e30eb3
updates
ezynda3 Jul 29, 2025
e6dd40b
better estimation
ezynda3 Aug 4, 2025
8f375e4
remove fallback
ezynda3 Aug 4, 2025
bac920e
continue on failure
ezynda3 Aug 4, 2025
6a1186b
Merge branch 'tron' of github.com:lifinance/contracts into tron
ezynda3 Aug 4, 2025
91425f4
fix estimation with constructor args
ezynda3 Aug 4, 2025
4021b9d
fix
ezynda3 Aug 4, 2025
d10d280
revert
ezynda3 Aug 4, 2025
dfea50d
add register facets script
ezynda3 Aug 4, 2025
0756c41
fix registration script
ezynda3 Aug 4, 2025
9296b2b
cleanup
ezynda3 Aug 4, 2025
626f1ed
deploy to Tron
ezynda3 Aug 4, 2025
1da0f04
Merge branch 'main' of github.com:lifinance/contracts into tron
ezynda3 Aug 5, 2025
a1b1494
refactor: use citty for CLI argument parsing in register-facets-to-di…
ezynda3 Aug 5, 2025
1c9ba90
refactor: use getEnvVar helper for environment variables in Tron depl…
ezynda3 Aug 5, 2025
d6b3e43
deploy to symbiosis
ezynda3 Aug 6, 2025
e276e60
cleanup
ezynda3 Aug 6, 2025
d64acc6
Merge branch 'main' of github.com:lifinance/contracts into tron
ezynda3 Aug 6, 2025
684f453
deploy AllbridgeFacet
ezynda3 Aug 6, 2025
8af995a
remove hardcoded selectors
ezynda3 Aug 8, 2025
b38d5d3
cleanup
ezynda3 Aug 8, 2025
3362ef1
troncast utility tool
ezynda3 Aug 8, 2025
de552bf
refactor and extract reusable code
ezynda3 Aug 8, 2025
856ec82
fix weird tronweb issue
ezynda3 Aug 11, 2025
ede6b4e
fix: address additional CodeRabbit review comments
ezynda3 Aug 11, 2025
6827551
Merge branch 'main' of github.com:lifinance/contracts into tron
ezynda3 Aug 12, 2025
fd12cfd
use main
ezynda3 Aug 12, 2025
b9f8915
fix merge conflicts
ezynda3 Aug 12, 2025
187e3cb
fixes to align with conventions
ezynda3 Aug 12, 2025
81e39f5
fix
ezynda3 Aug 14, 2025
208444b
fix: implement full Tron health check using troncast
ezynda3 Aug 14, 2025
c0dde1e
fix: add tron-shasta network config and use SupportedChain type
ezynda3 Aug 14, 2025
fcb9f3b
fix: rename 'staging' to 'testnet' in troncast for clarity
ezynda3 Aug 14, 2025
6d9e99c
docs(troncast): add known limitations section to README
ezynda3 Aug 14, 2025
f32d94c
fix(deploy): correct import path in symbiosis deployment script
ezynda3 Aug 14, 2025
cda3d0b
fix(config): convert Allbridge address to Tron format
ezynda3 Aug 14, 2025
95ee1ad
fix(deploy): update AllBridge deployment script for base58 format
ezynda3 Aug 14, 2025
a727554
docs(troncast): simplify bun commands in README
ezynda3 Aug 14, 2025
86a8594
docs(troncast): clarify RPC URL source in README
ezynda3 Aug 14, 2025
f08621e
docs(troncast): add rationale section to README
ezynda3 Aug 14, 2025
c4670f7
fix: skip health checks for Tron networks
ezynda3 Aug 14, 2025
015c959
fix
ezynda3 Aug 14, 2025
dc4f66b
fix
ezynda3 Aug 14, 2025
b042017
fix
ezynda3 Aug 15, 2025
4011b42
fixes
ezynda3 Aug 15, 2025
91cb75f
Apply suggestions from code review
ezynda3 Aug 15, 2025
98cb557
fix: use correct network parameter in Tron deployment scripts
ezynda3 Aug 15, 2025
3a795ae
refactor: remove duplicate persistence/logging in deploy-core-facets.ts
ezynda3 Aug 15, 2025
92a4956
Update script/deploy/tron/deploy-core-facets.ts
ezynda3 Aug 18, 2025
b3f0fe5
Update script/deploy/tron/deploy-core-facets.ts
ezynda3 Aug 18, 2025
924141f
Update script/deploy/tron/deploy-core-facets.ts
ezynda3 Aug 18, 2025
ac40d10
handle dashes in names and remove some duplicated code
ezynda3 Aug 18, 2025
08c909e
fix: address PR 1303 review comments from 0xDEnYO
ezynda3 Aug 19, 2025
6f0c148
refactor: remove private key dependency from getConstructorArgs
ezynda3 Aug 19, 2025
537bc25
refactor: use dynamic energy/bandwidth pricing from Tron network
ezynda3 Aug 19, 2025
fa2e31c
chore: remove obsolete comment about dynamic pricing
ezynda3 Aug 19, 2025
b60f9eb
refactor: consolidate price utilities into utils.ts
ezynda3 Aug 19, 2025
7595e50
fix: add multicall address for Tron network
ezynda3 Aug 19, 2025
d252478
fix: convert Symbiosis addresses to Tron base58 format
ezynda3 Aug 19, 2025
ddd19d0
fix: remove incorrect 16x energy usage comment
ezynda3 Aug 19, 2025
9cb4989
refactor: extract function selectors from artifacts instead of hardco…
ezynda3 Aug 19, 2025
0985152
docs: clarify bandwidth calculation constants in Tron deployment
ezynda3 Aug 19, 2025
fd3c67f
tweak output
ezynda3 Aug 19, 2025
61fe2ed
tweak output
ezynda3 Aug 19, 2025
3d95e1d
tron healthcheck support
ezynda3 Aug 19, 2025
1888311
cleanup
ezynda3 Aug 19, 2025
43de6b1
refactor: extract Tron-specific functions to tron/utils.ts
ezynda3 Aug 20, 2025
bb427c6
update
ezynda3 Aug 21, 2025
738bde1
Merge branch 'main' into tron
ezynda3 Aug 21, 2025
7289334
remove problematic dash
ezynda3 Aug 25, 2025
01e52b7
use correct helpers
ezynda3 Aug 25, 2025
9e43ef7
empty file to pass checks
ezynda3 Aug 25, 2025
dc2a94f
use correct helpers
ezynda3 Aug 25, 2025
56e6a45
Merge branch 'main' into tron
ezynda3 Aug 25, 2025
213fe4a
fix for CI
ezynda3 Aug 25, 2025
a3da011
Merge branch 'tron' of github.com:lifinance/contracts into tron
ezynda3 Aug 25, 2025
84ded58
fix for CI
ezynda3 Aug 25, 2025
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
9 changes: 7 additions & 2 deletions .github/workflows/networkRpcsChecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GIT_ACTIONS_BOT_PAT_CLASSIC }}
run: |
MISSING_RPCS=""
# Helper function to get RPC env var name (matches logic in helperFunctions.sh)
getRPCEnvVarName() {
echo "ETH_NODE_URI_$(echo "$1" | tr '[:lower:]' '[:upper:]' | tr '-' '_')"
}

# Read networks from temp file
while read -r NETWORK; do
RPC_ENV_VAR="ETH_NODE_URI_${NETWORK^^}"
RPC_ENV_VAR=$(getRPCEnvVarName "$NETWORK")
echo "Checking for RPC: $RPC_ENV_VAR"
if [ -z "${!RPC_ENV_VAR}" ]; then
echo -e "\033[31mRPC for network $NETWORK ($RPC_ENV_VAR) is missing!\033[0m"
Expand All @@ -82,4 +87,4 @@ jobs:
webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }}
webhook-type: incoming-webhook
payload: |
text: "Missing RPC endpoints for Network(s): ${{ env.MISSING_RPCS }}"
text: "Missing RPC endpoints for Network(s): ${{ env.MISSING_RPCS }}"
534 changes: 127 additions & 407 deletions bun.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions config/allbridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
},
"sonic": {
"allBridge": "0x801217549AB4b0860Bb506B1cbfF90f42819a116"
},
"tron": {
"allBridge": "TAuErcuAtU6BPt6YwL51JZ4RpDCPQASCU2"
}
}
40 changes: 40 additions & 0 deletions config/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,46 @@
"deployedWithSolcVersion": "0.8.17",
"create3Factory": "0x93FEC2C00BfE902F733B57c5a6CeeD7CD1384AE1"
},
"tron": {
"name": "tron",
"chainId": 728126428,
"nativeAddress": "0x0000000000000000000000000000000000000000",
"nativeCurrency": "TRX",
"wrappedNativeAddress": "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR",
"status": "active",
"type": "mainnet",
"rpcUrl": "https://api.trongrid.io",
"verificationType": "tronscan",
"explorerUrl": "https://tronscan.org",
"explorerApiUrl": "https://apilist.tronscan.org/api",
"multicallAddress": "TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED",
"safeAddress": "",
"gasZipChainId": 75,
"isZkEVM": false,
"deployedWithEvmVersion": "london",
"deployedWithSolcVersion": "0.8.17",
"create3Factory": "TF6k2qp486asKXz7scZVyyFEirwhTydeNs"
},
"tronshasta": {
"name": "tronshasta",
"chainId": 2494104990,
"nativeAddress": "0x0000000000000000000000000000000000000000",
"nativeCurrency": "TRX",
"wrappedNativeAddress": "TYsbWxNnyTgsZaTFaue9hqpxkU3Fkco94a",
"status": "active",
"type": "testnet",
"rpcUrl": "https://api.shasta.trongrid.io",
"verificationType": "tronscan",
"explorerUrl": "https://shasta.tronscan.org",
"explorerApiUrl": "https://api.shasta.tronscan.org/api",
"multicallAddress": "",
"safeAddress": "",
"gasZipChainId": 0,
"isZkEVM": false,
"deployedWithEvmVersion": "london",
"deployedWithSolcVersion": "0.8.17",
"create3Factory": ""
},
"zksync": {
"name": "zksync",
"chainId": 324,
Expand Down
4 changes: 4 additions & 0 deletions config/symbiosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,9 @@
"zksync": {
"metaRouter": "0x38307CB291Af47Af9847c134a34E9477c939Ca28",
"gateway": "0x8cA239448AdD34b057D1CB5934F12AC899DB66e1"
},
"tron": {
"metaRouter": "TAjZZvBh5rW3ntYNzHxyVgkwXNiTTVhUZV",
"gateway": "TGhrUThzMZfkgvsLq6mEoNHFRmoTKxVyFK"
}
}
Loading
Loading