@ton/ton 15.4.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -64,7 +64,7 @@ function storeOutListExtendedV5R1(actions) {
|
|
|
64
64
|
const extendedActions = actions.filter(WalletV5OutActions_1.isOutActionExtended);
|
|
65
65
|
const basicActions = actions.filter(WalletV5OutActions_1.isOutActionBasic);
|
|
66
66
|
return (builder) => {
|
|
67
|
-
const outListPacked = basicActions.length ? (0, core_1.beginCell)().store((0, core_1.storeOutList)(basicActions
|
|
67
|
+
const outListPacked = basicActions.length ? (0, core_1.beginCell)().store((0, core_1.storeOutList)(basicActions)) : null;
|
|
68
68
|
builder.storeMaybeRef(outListPacked);
|
|
69
69
|
if (extendedActions.length === 0) {
|
|
70
70
|
builder.storeUint(0, 1);
|
|
@@ -173,7 +173,7 @@ describe('Wallet V5R1 actions', () => {
|
|
|
173
173
|
}
|
|
174
174
|
];
|
|
175
175
|
const actual = (0, core_1.beginCell)().store((0, WalletV5R1Actions_1.storeOutListExtendedV5R1)(actions)).endCell();
|
|
176
|
-
const expected = core_1.Cell.fromBoc(Buffer.from('
|
|
176
|
+
const expected = core_1.Cell.fromBoc(Buffer.from('b5ee9c724101080100ab000245c0a000888888888888888888888888888888888888888888888888888888888888888c0301010304400200450380022222222222222222222222222222222222222222222222222222222222222230020a0ec3c86d0005040068420011111111111111111111111111111111111111111111111111111111111111110808404404000000000000c0e40007890000020a0ec3c86d030706001cc0000000000000000000000000000000a78e5373', 'hex'))[0];
|
|
177
177
|
expect(actual.equals(expected)).toBeTruthy();
|
|
178
178
|
});
|
|
179
179
|
it('Should deserialize extended out list', () => {
|