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
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ This automatically enables `setSimRevert(true)` on the destination to simulate f
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -102,7 +102,7 @@ forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/co
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -117,7 +117,7 @@ DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
TOKEN_AMOUNT=1000000000000000 \
GAS_LIMIT=400000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE='Hello World From Foundry Script for CCIP 2.0!' \
forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand All @@ -130,7 +130,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
TOKEN_AMOUNT=1000000000000000 \
GAS_LIMIT=400000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE='Hello World From Foundry Script for CCIP 2.0!' \
forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ contract Deploy is Script {
sourceChainName,
" DEST_CHAIN=",
destChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand All @@ -134,7 +134,7 @@ contract Deploy is Script {
destChainName,
" DEST_CHAIN=",
sourceChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/programmable-defensive-token-transfers/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Configure sender and receiver on both chains. This step allowlists the destinati
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/programmable-token-transfers/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -103,7 +103,7 @@ forge script foundry/scripts/tutorials/programmable-token-transfers/configure/Co
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/programmable-token-transfers/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand Down Expand Up @@ -248,7 +248,7 @@ Example with block depth:
```bash
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/programmable-token-transfers/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ contract Deploy is Script {
sourceChainName,
" DEST_CHAIN=",
destChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/programmable-token-transfers/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand All @@ -130,7 +130,7 @@ contract Deploy is Script {
destChainName,
" DEST_CHAIN=",
sourceChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/programmable-token-transfers/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Configure both contracts in a single command:
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -136,7 +136,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
GAS_LIMIT=500000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Foundry Script for CCIP 2.0!" \
forge script foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand All @@ -148,7 +148,7 @@ forge script foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
GAS_LIMIT=500000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Foundry Script for CCIP 2.0!" \
forge script foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ contract Deploy is Script {
sourceChainName,
" DEST_CHAIN=",
destChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand Down
8 changes: 4 additions & 4 deletions foundry/scripts/tutorials/send-arbitrary-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Configure sender and receiver on both chains:
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/send-arbitrary-data/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -103,7 +103,7 @@ forge script foundry/scripts/tutorials/send-arbitrary-data/configure/Configure.s
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/send-arbitrary-data/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -117,7 +117,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
GAS_LIMIT=200000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Foundry Script for CCIP 2.0!" \
forge script foundry/scripts/tutorials/send-arbitrary-data/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand All @@ -129,7 +129,7 @@ forge script foundry/scripts/tutorials/send-arbitrary-data/interact/SendMessage.
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
GAS_LIMIT=200000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Foundry Script for CCIP 2.0!" \
forge script foundry/scripts/tutorials/send-arbitrary-data/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ contract Deploy is Script {
sourceChainName,
" DEST_CHAIN=",
destChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/send-arbitrary-data/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand All @@ -114,7 +114,7 @@ contract Deploy is Script {
destChainName,
" DEST_CHAIN=",
sourceChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/send-arbitrary-data/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pragma solidity 0.8.24;
// │ │
// │ Usage: │
// │ SOURCE_CHAIN=ETHEREUM_SEPOLIA DEST_CHAIN=ARBITRUM_SEPOLIA \ │
// │ FEE_TOKEN=LINK GAS_LIMIT=200000 BLOCK_DEPTH=10 \ │
// │ FEE_TOKEN=LINK GAS_LIMIT=200000 BLOCK_DEPTH=32 \ │
// │ forge script interact/TestOutOfOrderExecution.s.sol \ │
// │ --account $KEYSTORE_NAME --broadcast -vv │
// └─────────────────────────────────────────────────────────────────────────────┘
Expand Down
6 changes: 3 additions & 3 deletions foundry/scripts/tutorials/transfer-usdc-with-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Sets the allowed receiver on `USDCSender` and the allowed sender + finality conf
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/transfer-usdc-with-data/configure/Configure.s.sol:Configure \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -114,7 +114,7 @@ DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
BENEFICIARY=<beneficiary_address> \
USDC_AMOUNT=1000000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/transfer-usdc-with-data/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand All @@ -126,7 +126,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
BENEFICIARY=<beneficiary_address> \
USDC_AMOUNT=1000000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
forge script foundry/scripts/tutorials/transfer-usdc-with-data/interact/SendMessage.s.sol:SendMessage \
--account $KEYSTORE_NAME \
--broadcast -vv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ contract Deploy is Script {
sourceChainName,
" DEST_CHAIN=",
destChainName,
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10",
" ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32",
" forge script foundry/scripts/tutorials/transfer-usdc-with-data/configure/Configure.s.sol:Configure --account $KEYSTORE_NAME --broadcast -vv"
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This automatically enables `setSimRevert(true)` on the destination to simulate f
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts
```

Expand All @@ -94,7 +94,7 @@ npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts
```

Expand All @@ -107,7 +107,7 @@ DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
TOKEN_AMOUNT=1000000000000000 \
GAS_LIMIT=400000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE='Hello World From Hardhat Script for CCIP 2.0!' \
npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/interact/send-message.ts
```
Expand All @@ -118,7 +118,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
TOKEN_AMOUNT=1000000000000000 \
GAS_LIMIT=400000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE='Hello World From Hardhat Script for CCIP 2.0!' \
npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/interact/send-message.ts
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ async function main() {
console.log("");
console.log("Configure both chains (sender and receiver) with a single command:");
console.log(
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts`
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts`
);
console.log("");
console.log("For bidirectional messaging (send from destination back to source), also run:");
console.log(
`SOURCE_CHAIN=${destChainName} DEST_CHAIN=${sourceChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts`
`SOURCE_CHAIN=${destChainName} DEST_CHAIN=${sourceChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/programmable-defensive-token-transfers/configure/configure.ts`
);
console.log("========================================");
console.log("");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Sets up the allowlists on both chains:
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts
```

Expand All @@ -118,7 +118,7 @@ To allow messages in the opposite direction:
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ async function main() {
console.log("");
console.log("Configure both chains (sender and receiver) with a single command:");
console.log(
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts`
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts`
);
console.log("");
console.log("For bidirectional messaging (send from destination back to source), also run:");
console.log(
`SOURCE_CHAIN=${destChainName} DEST_CHAIN=${sourceChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts`
`SOURCE_CHAIN=${destChainName} DEST_CHAIN=${sourceChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/programmable-token-transfers/configure/configure.ts`
);
console.log("========================================");
console.log("");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export MANTLE_SEPOLIA_CONTRACT=0x... # Acknowledger
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/configure/configure.ts
```

Expand All @@ -129,7 +129,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
GAS_LIMIT=500000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Hardhat Script for CCIP 2.0!" \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/interact/send-message.ts
```
Expand All @@ -139,7 +139,7 @@ npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transf
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
GAS_LIMIT=500000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Hardhat Script for CCIP 2.0!" \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/interact/send-message.ts
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function main() {
console.log("");
console.log("Configure both contracts with a single command:");
console.log(
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/configure/configure.ts`
`SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/configure/configure.ts`
);
console.log("========================================");
console.log("");
Expand Down
8 changes: 4 additions & 4 deletions hardhat/scripts/tutorials/send-arbitrary-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export ETHEREUM_SEPOLIA_CONTRACT=0x... && export MANTLE_SEPOLIA_CONTRACT=0x...
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/configure/configure.ts
```

Expand All @@ -93,7 +93,7 @@ npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/configure/configur
SOURCE_CHAIN=MANTLE_SEPOLIA \
DEST_CHAIN=ETHEREUM_SEPOLIA \
ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \
ALLOWED_BLOCK_DEPTH=10 \
ALLOWED_BLOCK_DEPTH=32 \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/configure/configure.ts
```

Expand All @@ -105,7 +105,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
FEE_TOKEN=LINK \
GAS_LIMIT=200000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Hardhat Script for CCIP 2.0!" \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/interact/send-message.ts
```
Expand All @@ -115,7 +115,7 @@ npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/interact/send-mess
SOURCE_CHAIN=ETHEREUM_SEPOLIA \
DEST_CHAIN=MANTLE_SEPOLIA \
GAS_LIMIT=200000 \
BLOCK_DEPTH=10 \
BLOCK_DEPTH=32 \
MESSAGE="Hello World From Hardhat Script for CCIP 2.0!" \
npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/interact/send-message.ts
```
Expand Down
Loading
Loading