Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"differential-review@trailofbits": true,
"variant-analysis@trailofbits": true,
"property-based-testing@trailofbits": true
},
"attribution": {
"commit": ""
}
}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
pnpm-test-run:
runs-on: depot-ubuntu-24.04
needs: [change-detection]
timeout-minutes: 10
timeout-minutes: 20
if: needs.change-detection.outputs.only_rust == 'false'
steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"*.ts": ["oxlint", "oxfmt --write"],
"*.md": "oxfmt --no-error-on-unmatched-pattern --write",
"*.sol": "prettier --write",
"*.json": "oxfmt --write"
"*.json": "oxfmt --no-error-on-unmatched-pattern --write"
}
2 changes: 2 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ cd rust/main && cargo test --all-targets --features aleo,integration_test
cd rust/main && cargo fmt
```

**Do NOT add `Co-Authored-By` trailers to commit messages.**

### Changeset Style

Write changeset descriptions in past tense describing what changed:
Expand Down
14 changes: 9 additions & 5 deletions solidity/build-tron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
set -e
cd "$(dirname "$0")"

# Ensure soldeer dependencies are installed before patching files.
# The regular @hyperlane-xyz/core build also runs soldeer install, and if it
# runs concurrently with our file patches below, soldeer's git checkout fails
# on the dirty working tree. Running it first avoids the race condition.
forge soldeer install --quiet
# Ensure deterministic outputs for turbo cache: hardhat/typechain can emit
# partial trees when incremental cache is reused against cleaned output dirs.
rm -rf ./cache-tron ../typescript/tron-sdk/src/abi ../typescript/tron-sdk/src/typechain

# Soldeer dependencies are already installed by the turbo deps:soldeer task
# (build:tron depends on build, which depends on deps:soldeer).
# This call is a safety net for standalone invocations; allow it to fail
# gracefully since deps may already be present (e.g. forge v1.1.0 soldeer bug).
forge soldeer install --quiet || echo "Warning: soldeer install failed, assuming dependencies are already present"

OZ_CREATE2="dependencies/@openzeppelin-contracts-4.9.3/contracts/utils/Create2.sol"

Expand Down
2 changes: 1 addition & 1 deletion solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
],
"license": "Apache-2.0",
"scripts": {
"deps:soldeer": "forge soldeer install --quiet",
"deps:soldeer": "forge soldeer install --quiet || echo 'Warning: soldeer install failed, assuming dependencies are already present'",
"build": "pnpm version:update && pnpm hardhat-esm compile && tsc && ./exportBuildArtifact.sh",
"build:zk": "pnpm hardhat-zk compile && tsc && node generate-artifact-exports.mjs && ZKSYNC=true ./exportBuildArtifact.sh",
"build:tron": "./build-tron.sh",
Expand Down
Loading