Skip to content

Commit c5ee317

Browse files
authored
Added GETGASFEE opcode support (#21)
* Added GETGASFEE opcode support * Bumped version * Updated node version to match tact compiler requirements
1 parent 5689bef commit c5ee317

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

.github/workflows/ton-opcode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [22.x]
1616
os: [ubuntu-latest, windows-latest, macos-latest]
1717

1818
runs-on: ${{ matrix.os }}

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.0.17] - 2025-01-03
11+
12+
### Added
13+
- Support of `GETGASFEE` opcode: PR [#21](https://github.com/tact-lang/ton-opcode/pull/21)
14+
15+
### Updated
16+
- Node.js version to match tact compiler requirements.
17+
1018
## [0.0.16] - 2024-07-21
1119

1220
### 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.16",
3+
"version": "0.0.17",
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
@@ -790,7 +790,7 @@ opcodes:
790790
# SENDMSG:
791791

792792
# Opcodes to process config parameters
793-
# GETGASFEE:
793+
GETGASFEE:
794794
GETSTORAGEFEE:
795795
# GETFORWARDFEE:
796796
GETPRECOMPILEDGAS:

src/codepage/opcodes.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ export type OpCodeNoArgs =
668668
| { code: 'SENDMSG' }
669669
| { code: 'UNPACKEDCONFIGTUPLE' }
670670
| { code: 'DUEPAYMENT' }
671+
| { code: 'GETGASFEE' }
671672
| { code: 'GETSTORAGEFEE' }
672673
| { code: 'GETPRECOMPILEDGAS' }
673674
| { code: 'GETORIGINALFWDFEE' }

src/codepage/opcodes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,7 @@ CP0Auto.insertHex('f833', 16, { code: 'CONFIGOPTPARAM' });
11451145
CP0Auto.insertHex('F83400', 24, { code: 'PREVMCBLOCKS' });
11461146
CP0Auto.insertHex('F83401', 24, { code: 'PREVKEYBLOCK' });
11471147
CP0Auto.insertHex('F835', 16, { code: 'GLOBALID' });
1148+
CP0Auto.insertHex('F836', 16, { code: 'GETGASFEE' });
11481149
CP0Auto.insertHex('F837', 16, { code: 'GETSTORAGEFEE' });
11491150
CP0Auto.insertHex('F839', 16, { code: 'GETPRECOMPILEDGAS' });
11501151
CP0Auto.insertHex('F83A', 16, { code: 'GETORIGINALFWDFEE' });

0 commit comments

Comments
 (0)