Skip to content

Commit 057504a

Browse files
fix: bounce: true can be missleading. Offramp doesn't handle this bounced message
1 parent 0907788 commit 057504a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contracts/contracts/ccip/offramp/contract.tolk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ fun onBouncedRouterRouteMessage(msg: Router_RouteMessage, senderAddress: address
220220

221221
// Send ReceiveBounced to initiate the failure notification trace
222222
val receiveBounced = createMessage({
223-
bounce: true,
223+
bounce: false,
224224
value: 0,
225225
dest: getReceiverExecutorDeployAddress(st, msg.execId),
226226
body: ReceiveExecutor_Bounced{
@@ -265,7 +265,7 @@ fun onBouncedCCIPReceive(msg: OffRamp_CCIPReceiveBounced) {
265265
val st = Storage.load();
266266

267267
val receiveBounced = createMessage({
268-
bounce: true,
268+
bounce: false,
269269
value: 0,
270270
dest: getReceiverExecutorDeployAddress(st, msg.execId),
271271
body: ReceiveExecutor_Bounced{
@@ -412,7 +412,7 @@ fun onDispatchValidated(st: Storage, msg: OffRamp_DispatchValidated) {
412412

413413
fun blockMsg(st: Storage, execId: uint192, receiver: address) {
414414
val receiveBounced = createMessage({
415-
bounce: true,
415+
bounce: false,
416416
value: 0,
417417
dest: getReceiverExecutorDeployAddress(st, execId),
418418
body: ReceiveExecutor_Bounced{

0 commit comments

Comments
 (0)