Skip to content

Commit fe1c09b

Browse files
authored
feat: add GETFORWARDFEE instruction (#23)
1 parent c5ee317 commit fe1c09b

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.18] - 2025-01-05
11+
12+
### Added
13+
- Support of `GETFORWARDFEE` opcode: PR [#23](https://github.com/tact-lang/ton-opcode/pull/23)
14+
1015
## [0.0.17] - 2025-01-03
1116

1217
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tact-lang/opcode",
3-
"version": "0.0.17",
3+
"version": "0.0.18",
44
"main": "dist/index.js",
55
"repository": "https://github.com/tact-lang/ton-opcode.git",
66
"author": "Steve Korshakov <steve@korshakov.com>",

reference/opcodes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ opcodes:
792792
# Opcodes to process config parameters
793793
GETGASFEE:
794794
GETSTORAGEFEE:
795-
# GETFORWARDFEE:
795+
GETFORWARDFEE:
796796
GETPRECOMPILEDGAS:
797797
GETORIGINALFWDFEE:
798798
GETGASFEESIMPLE:

src/codepage/opcodes.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,7 @@ export type OpCodeNoArgs =
670670
| { code: 'DUEPAYMENT' }
671671
| { code: 'GETGASFEE' }
672672
| { code: 'GETSTORAGEFEE' }
673+
| { code: 'GETFORWARDFEE' }
673674
| { code: 'GETPRECOMPILEDGAS' }
674675
| { code: 'GETORIGINALFWDFEE' }
675676
| { code: 'GETGASFEESIMPLE' }

src/codepage/opcodes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,7 @@ CP0Auto.insertHex('F83401', 24, { code: 'PREVKEYBLOCK' });
11471147
CP0Auto.insertHex('F835', 16, { code: 'GLOBALID' });
11481148
CP0Auto.insertHex('F836', 16, { code: 'GETGASFEE' });
11491149
CP0Auto.insertHex('F837', 16, { code: 'GETSTORAGEFEE' });
1150+
CP0Auto.insertHex('F838', 16, { code: 'GETFORWARDFEE' });
11501151
CP0Auto.insertHex('F839', 16, { code: 'GETPRECOMPILEDGAS' });
11511152
CP0Auto.insertHex('F83A', 16, { code: 'GETORIGINALFWDFEE' });
11521153
CP0Auto.insertHex('F83B', 16, { code: 'GETGASFEESIMPLE' });

0 commit comments

Comments
 (0)