Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: nightly-d6daa0ac83fe6b3883072436bb3f95ba7820e5d9

- name: Show Forge version
run: |
Expand Down
9 changes: 9 additions & 0 deletions sh/deployNttManagerWithExecutor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@ if [ "${EVM_CHAIN_ID}X" == "X" ]; then
EVM_CHAIN_ID=1337
fi

if [ -n "${CREATE2_ADDRESS}" ]; then
CREATE2_FLAG="--create2-deployer ${CREATE2_ADDRESS}"
echo "Using custom CREATE2 deployer at: ${CREATE2_ADDRESS}"
else
CREATE2_FLAG=""
echo "Using default CREATE2 deployer"
fi

forge script ./script/DeployNttManagerWithExecutor.s.sol:DeployNttManagerWithExecutor \
--sig "run(uint16,address)" $OUR_CHAIN_ID $EXECUTOR \
--rpc-url "$RPC_URL" \
--private-key "$MNEMONIC" \
$CREATE2_FLAG \
--broadcast ${FORGE_ARGS}

returnInfo=$(cat ./broadcast/DeployNttManagerWithExecutor.s.sol/$EVM_CHAIN_ID/run-latest.json)
Expand Down
Loading