diff --git a/foundry/scripts/tutorials/programmable-defensive-token-transfers/README.md b/foundry/scripts/tutorials/programmable-defensive-token-transfers/README.md index af3f054..b4aaa0d 100644 --- a/foundry/scripts/tutorials/programmable-defensive-token-transfers/README.md +++ b/foundry/scripts/tutorials/programmable-defensive-token-transfers/README.md @@ -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 @@ -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 @@ -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 \ @@ -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 \ diff --git a/foundry/scripts/tutorials/programmable-defensive-token-transfers/deploy/Deploy.s.sol b/foundry/scripts/tutorials/programmable-defensive-token-transfers/deploy/Deploy.s.sol index 7938fc8..30b9d33 100644 --- a/foundry/scripts/tutorials/programmable-defensive-token-transfers/deploy/Deploy.s.sol +++ b/foundry/scripts/tutorials/programmable-defensive-token-transfers/deploy/Deploy.s.sol @@ -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" ) ); @@ -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" ) ); diff --git a/foundry/scripts/tutorials/programmable-token-transfers/README.md b/foundry/scripts/tutorials/programmable-token-transfers/README.md index 2626532..0881634 100644 --- a/foundry/scripts/tutorials/programmable-token-transfers/README.md +++ b/foundry/scripts/tutorials/programmable-token-transfers/README.md @@ -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 @@ -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 @@ -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 diff --git a/foundry/scripts/tutorials/programmable-token-transfers/deploy/Deploy.s.sol b/foundry/scripts/tutorials/programmable-token-transfers/deploy/Deploy.s.sol index a64608c..4e42f64 100644 --- a/foundry/scripts/tutorials/programmable-token-transfers/deploy/Deploy.s.sol +++ b/foundry/scripts/tutorials/programmable-token-transfers/deploy/Deploy.s.sol @@ -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" ) ); @@ -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" ) ); diff --git a/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md b/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md index c4c36c7..5cebd27 100644 --- a/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md +++ b/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md @@ -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 @@ -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 \ @@ -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 \ diff --git a/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/Deploy.s.sol b/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/Deploy.s.sol index 2070668..b7f4f9b 100644 --- a/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/Deploy.s.sol +++ b/foundry/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/Deploy.s.sol @@ -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" ) ); diff --git a/foundry/scripts/tutorials/send-arbitrary-data/README.md b/foundry/scripts/tutorials/send-arbitrary-data/README.md index acde205..7323f88 100644 --- a/foundry/scripts/tutorials/send-arbitrary-data/README.md +++ b/foundry/scripts/tutorials/send-arbitrary-data/README.md @@ -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 @@ -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 @@ -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 \ @@ -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 \ diff --git a/foundry/scripts/tutorials/send-arbitrary-data/deploy/Deploy.s.sol b/foundry/scripts/tutorials/send-arbitrary-data/deploy/Deploy.s.sol index 26b4c69..a408c69 100644 --- a/foundry/scripts/tutorials/send-arbitrary-data/deploy/Deploy.s.sol +++ b/foundry/scripts/tutorials/send-arbitrary-data/deploy/Deploy.s.sol @@ -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" ) ); @@ -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" ) ); diff --git a/foundry/scripts/tutorials/send-arbitrary-data/interact/TestOutOfOrderExecution.s.sol b/foundry/scripts/tutorials/send-arbitrary-data/interact/TestOutOfOrderExecution.s.sol index be799dc..e8806e9 100644 --- a/foundry/scripts/tutorials/send-arbitrary-data/interact/TestOutOfOrderExecution.s.sol +++ b/foundry/scripts/tutorials/send-arbitrary-data/interact/TestOutOfOrderExecution.s.sol @@ -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 │ // └─────────────────────────────────────────────────────────────────────────────┘ diff --git a/foundry/scripts/tutorials/transfer-usdc-with-data/README.md b/foundry/scripts/tutorials/transfer-usdc-with-data/README.md index ccfa629..bb6ada4 100644 --- a/foundry/scripts/tutorials/transfer-usdc-with-data/README.md +++ b/foundry/scripts/tutorials/transfer-usdc-with-data/README.md @@ -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 @@ -114,7 +114,7 @@ DEST_CHAIN=MANTLE_SEPOLIA \ FEE_TOKEN=LINK \ BENEFICIARY= \ 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 @@ -126,7 +126,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \ DEST_CHAIN=MANTLE_SEPOLIA \ BENEFICIARY= \ 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 diff --git a/foundry/scripts/tutorials/transfer-usdc-with-data/deploy/Deploy.s.sol b/foundry/scripts/tutorials/transfer-usdc-with-data/deploy/Deploy.s.sol index 66ba2ed..f6aca89 100644 --- a/foundry/scripts/tutorials/transfer-usdc-with-data/deploy/Deploy.s.sol +++ b/foundry/scripts/tutorials/transfer-usdc-with-data/deploy/Deploy.s.sol @@ -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" ) ); diff --git a/hardhat/scripts/tutorials/programmable-defensive-token-transfers/README.md b/hardhat/scripts/tutorials/programmable-defensive-token-transfers/README.md index f0d1434..a372dec 100644 --- a/hardhat/scripts/tutorials/programmable-defensive-token-transfers/README.md +++ b/hardhat/scripts/tutorials/programmable-defensive-token-transfers/README.md @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` diff --git a/hardhat/scripts/tutorials/programmable-defensive-token-transfers/deploy/deploy.ts b/hardhat/scripts/tutorials/programmable-defensive-token-transfers/deploy/deploy.ts index e6b06a1..b5b2ff3 100644 --- a/hardhat/scripts/tutorials/programmable-defensive-token-transfers/deploy/deploy.ts +++ b/hardhat/scripts/tutorials/programmable-defensive-token-transfers/deploy/deploy.ts @@ -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(""); diff --git a/hardhat/scripts/tutorials/programmable-token-transfers/README.md b/hardhat/scripts/tutorials/programmable-token-transfers/README.md index 95c77a5..c75dc01 100644 --- a/hardhat/scripts/tutorials/programmable-token-transfers/README.md +++ b/hardhat/scripts/tutorials/programmable-token-transfers/README.md @@ -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 ``` @@ -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 ``` diff --git a/hardhat/scripts/tutorials/programmable-token-transfers/deploy/deploy.ts b/hardhat/scripts/tutorials/programmable-token-transfers/deploy/deploy.ts index 63349b5..66f8ef1 100644 --- a/hardhat/scripts/tutorials/programmable-token-transfers/deploy/deploy.ts +++ b/hardhat/scripts/tutorials/programmable-token-transfers/deploy/deploy.ts @@ -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(""); diff --git a/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md b/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md index b4b8a2c..741244c 100644 --- a/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md +++ b/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/README.md @@ -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 ``` @@ -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 ``` @@ -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 ``` diff --git a/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/deploy.ts b/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/deploy.ts index 3c2fa6a..4847fa7 100644 --- a/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/deploy.ts +++ b/hardhat/scripts/tutorials/send-arbitrary-data-and-receive-transfer-confirmation/deploy/deploy.ts @@ -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(""); diff --git a/hardhat/scripts/tutorials/send-arbitrary-data/README.md b/hardhat/scripts/tutorials/send-arbitrary-data/README.md index a5e628b..d039b78 100644 --- a/hardhat/scripts/tutorials/send-arbitrary-data/README.md +++ b/hardhat/scripts/tutorials/send-arbitrary-data/README.md @@ -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 ``` @@ -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 ``` @@ -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 ``` @@ -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 ``` diff --git a/hardhat/scripts/tutorials/send-arbitrary-data/deploy/deploy.ts b/hardhat/scripts/tutorials/send-arbitrary-data/deploy/deploy.ts index 8e53e66..9a9200a 100644 --- a/hardhat/scripts/tutorials/send-arbitrary-data/deploy/deploy.ts +++ b/hardhat/scripts/tutorials/send-arbitrary-data/deploy/deploy.ts @@ -109,12 +109,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/send-arbitrary-data/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/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/send-arbitrary-data/configure/configure.ts` + `SOURCE_CHAIN=${destChainName} DEST_CHAIN=${sourceChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 npx hardhat run hardhat/scripts/tutorials/send-arbitrary-data/configure/configure.ts` ); console.log("========================================"); console.log(""); diff --git a/hardhat/scripts/tutorials/transfer-usdc-with-data/README.md b/hardhat/scripts/tutorials/transfer-usdc-with-data/README.md index b1e73fc..840aa43 100644 --- a/hardhat/scripts/tutorials/transfer-usdc-with-data/README.md +++ b/hardhat/scripts/tutorials/transfer-usdc-with-data/README.md @@ -93,7 +93,7 @@ Sets the allowed receiver on `USDCSender` and the allowed sender + finality conf SOURCE_CHAIN=ETHEREUM_SEPOLIA \ DEST_CHAIN=INK_SEPOLIA \ ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH \ -ALLOWED_BLOCK_DEPTH=10 \ +ALLOWED_BLOCK_DEPTH=32 \ npx hardhat run hardhat/scripts/tutorials/transfer-usdc-with-data/configure/configure.ts ``` @@ -108,7 +108,7 @@ DEST_CHAIN=INK_SEPOLIA \ FEE_TOKEN=LINK \ BENEFICIARY= \ USDC_AMOUNT=1000000 \ -BLOCK_DEPTH=10 \ +BLOCK_DEPTH=32 \ npx hardhat run hardhat/scripts/tutorials/transfer-usdc-with-data/interact/send-message.ts ``` @@ -118,7 +118,7 @@ SOURCE_CHAIN=ETHEREUM_SEPOLIA \ DEST_CHAIN=INK_SEPOLIA \ BENEFICIARY= \ USDC_AMOUNT=1000000 \ -BLOCK_DEPTH=10 \ +BLOCK_DEPTH=32 \ npx hardhat run hardhat/scripts/tutorials/transfer-usdc-with-data/interact/send-message.ts ``` diff --git a/hardhat/scripts/tutorials/transfer-usdc-with-data/deploy/deploy.ts b/hardhat/scripts/tutorials/transfer-usdc-with-data/deploy/deploy.ts index 01681aa..2e77766 100644 --- a/hardhat/scripts/tutorials/transfer-usdc-with-data/deploy/deploy.ts +++ b/hardhat/scripts/tutorials/transfer-usdc-with-data/deploy/deploy.ts @@ -141,7 +141,7 @@ async function main() { console.log("** Next Step: Configuration **"); console.log(""); console.log( - `SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=10 ` + + `SOURCE_CHAIN=${sourceChainName} DEST_CHAIN=${destChainName} ALLOWED_FINALITY_CONFIG=BLOCK_DEPTH ALLOWED_BLOCK_DEPTH=32 ` + `npx hardhat run hardhat/scripts/tutorials/transfer-usdc-with-data/configure/configure.ts` ); console.log("========================================");