Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e97ff11

Browse files
authoredJun 13, 2025··
Merge branch 'main' into closes-1156/re-entrancy
2 parents 38ef881 + c8023b1 commit e97ff11

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎src/benchmarks/wallet-v5/gas.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,16 @@
149149
"internalTransfer": "5724",
150150
"extensionTransfer": "4656"
151151
}
152+
},
153+
{
154+
"label": "1.6.13 with state resolution saving",
155+
"pr": "https://github.com/tact-lang/tact/pull/3392",
156+
"gas": {
157+
"externalTransfer": "5789",
158+
"addExtension": "6452",
159+
"internalTransfer": "5724",
160+
"extensionTransfer": "4656"
161+
}
152162
}
153163
]
154164
}

‎src/benchmarks/wallet-v5/tact/wallet-v5.tact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ contract WalletV5(
9090
acceptMessage();
9191

9292
self.seqno += 1;
93-
// NOTE: fix, blocked by #2073
93+
setData(self.toCell());
9494
commit();
9595

9696
signedSlice.skipBits(32 + 32 + 32 + 32); // skip opcode, walletId, validUntil, seqno
@@ -223,3 +223,4 @@ asm fun setC5(outActions: Cell) { c5 POP }
223223
asm extends mutates fun checkAndRemoveAddExtensionPrefix(self: Slice): Bool { x{02} SDBEGINSQ }
224224
asm extends mutates fun checkAndRemoveDeleteExtensionPrefix(self: Slice): Bool { x{03} SDBEGINSQ }
225225
asm extends mutates fun checkAndRemoveSetSignAllowedPrefix(self: Slice): Bool { x{04} SDBEGINSQ }
226+
asm fun setData(data: Cell) { c4 POP }

0 commit comments

Comments
 (0)
Please sign in to comment.