Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.44.2-rc] Add support for SDK 1.44.2 #52

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: ./tools/download-sdk-ci.sh
shell: sh
- name: Run TON node
run: docker run -d --name local-node -p80:80 tonlabs/local-node:0.33.0
run: docker run -d --name local-node -p80:80 tonlabs/local-node:0.39.0
- name: Test
env:
CGO_LDFLAGS: '-L/tmp/ -lton_client'
Expand Down
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TON SDK client Golang

[![EVER-SDK](https://img.shields.io/badge/EVER_SDK-1.44.1-green.svg)](https://github.com/tonlabs/EVER-SDK/tree/1.44.1)
[![TON local-node docker image](https://img.shields.io/badge/TON_local_node-0.33.0-green.svg)](https://hub.docker.com/layers/local-node/tonlabs/local-node/0.33.0/images/sha256-40a544432089f2d730f3dd0542fcb59bef6c5192b5d374fdae3a7ea6417070c4)
[![EVER-SDK](https://img.shields.io/badge/EVER_SDK-1.44.2-green.svg)](https://github.com/tonlabs/EVER-SDK/tree/1.44.2)
[![TON local-node docker image](https://img.shields.io/badge/TON_local_node-0.39.0-green.svg)](https://hub.docker.com/layers/local-node/tonlabs/local-node/0.39.0/images/sha256-40a544432089f2d730f3dd0542fcb59bef6c5192b5d374fdae3a7ea6417070c4)
[![Chat Telegram](https://img.shields.io/badge/chat-Telegram-9cf.svg)](https://t.me/RADIANCE_EVER_SDK)
[![Documentation](https://godoc.org/github.com/radianceteam/everscale-client-go/client?status.svg)](https://godoc.org/github.com/radianceteam/everscale-client-go/client)
![CI tests and linters](https://github.com/radianceteam/everscale-client-go/workflows/CI/badge.svg)
Expand Down Expand Up @@ -73,7 +73,7 @@ All non-generated code has test coverage at least of 70% - one can see it via `t

```shell script
export CGO_LDFLAGS="-L$EVER_SDK_INSTALLATION_PATH -lton_client"
docker run -d --name local-node -p80:80 tonlabs/local-node:0.33.0
docker run -d --name local-node -p80:80 tonlabs/local-node:0.39.0
task test # tests without node
task full_test # tests including with node
task coverage # full_test with coverage
Expand Down
2 changes: 1 addition & 1 deletion api-spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.44.1",
"version": "1.44.2",
"modules": [
{
"name": "client",
Expand Down
2 changes: 1 addition & 1 deletion client/mod_abi.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod abi
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_boc.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod boc
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_client.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod client
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_crypto.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod crypto
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_debot.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod debot
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_net.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod net
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_processing.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod processing
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_proofs.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod proofs
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_tvm.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod tvm
//
Expand Down
2 changes: 1 addition & 1 deletion client/mod_utils.gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

// DON'T EDIT THIS FILE! It is generated via 'task generate' at 08 Aug 23 16:44 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 28 Aug 23 13:53 UTC
//
// Mod utils
//
Expand Down
3 changes: 3 additions & 0 deletions spec/enums_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ func genEnumOfConsts(t Type) string {
t.GoType = "string"
t.EnumConsts[i].Value = strconv.Quote(withTypeAlias(t.EnumConsts[i].Name))
}
if t.EnumConsts[i].Type == Number {
t.GoType = "int"
}

t.EnumConsts[i].Name = withTypeAlias(t.EnumConsts[i].Name)
t.EnumConsts[i].GoComment = t.EnumConsts[i].ToComment()
Expand Down
Loading