Skip to content

Commit

Permalink
[v1.38.1-rc] Add support for SDK 1.38.1
Browse files Browse the repository at this point in the history
  • Loading branch information
risentveber committed Nov 12, 2022
1 parent f5b2419 commit 919fac8
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
env:
CGO_LDFLAGS: '-L/tmp/ -lton_client'
with:
version: v1.46
version: v1.50
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ linters:
- exhaustruct
- revive
- stylecheck
- nosnakecase
enable-all: true
linters-settings:
goimports:
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TON SDK client Golang

[![EVER-SDK](https://img.shields.io/badge/EVER_SDK-1.38.0-green.svg)](https://github.com/tonlabs/EVER-SDK/tree/1.38.0)
[![EVER-SDK](https://img.shields.io/badge/EVER_SDK-1.38.1-green.svg)](https://github.com/tonlabs/EVER-SDK/tree/1.38.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)
[![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)
Expand Down
9 changes: 8 additions & 1 deletion api-spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.38.0",
"version": "1.38.1",
"modules": [
{
"name": "client",
Expand Down Expand Up @@ -11310,6 +11310,13 @@
"value": "615",
"summary": null,
"description": null
},
{
"name": "QueryTransactionTreeTimeout",
"type": "Number",
"value": "616",
"summary": null,
"description": null
}
],
"summary": null,
Expand Down
26 changes: 15 additions & 11 deletions client/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
//
// For methods available see Client interface.
//
// Example usage
// import "github.com/radianceteam/everscale-client-go/Client"
// ...
// c, err := client.NewClient(client.Config{
// Network: Client.ConfigNetwork{ServerAddress: "net.ton.dev"},
// })
// if err != nil {
// return err
// }
// defer c.Close()
// # Example usage
//
// import "github.com/radianceteam/everscale-client-go/Client"
//
// func main() {
// client, err := client.NewClient(client.Config{
// Network: &client.NetworkConfig{ServerAddress: null.NewString("net.ton.dev", true)},
// }, client.WrapperConfig{MaxCGOConcurrentThreads: 10})
//
// version, err := c.ClientVersion()
// if err != nil {
// return err
// }
// defer c.Close()
//
// version, err := c.ClientVersion()
// }
package client
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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 UTC
//
// Mod debot
//
Expand Down
4 changes: 3 additions & 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 UTC
//
// Mod net
//
Expand Down Expand Up @@ -29,6 +29,7 @@ const (
GraphqlWebsocketInitErrorNetErrorCode = 613
NetworkModuleResumedNetErrorCode = 614
UnauthorizedNetErrorCode = 615
QueryTransactionTreeTimeoutNetErrorCode = 616
)

func init() { // nolint gochecknoinits
Expand All @@ -47,6 +48,7 @@ func init() { // nolint gochecknoinits
errorCodesToErrorTypes[GraphqlWebsocketInitErrorNetErrorCode] = "GraphqlWebsocketInitErrorNetErrorCode"
errorCodesToErrorTypes[NetworkModuleResumedNetErrorCode] = "NetworkModuleResumedNetErrorCode"
errorCodesToErrorTypes[UnauthorizedNetErrorCode] = "UnauthorizedNetErrorCode"
errorCodesToErrorTypes[QueryTransactionTreeTimeoutNetErrorCode] = "QueryTransactionTreeTimeoutNetErrorCode"
}

type OrderBy struct {
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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 UTC
//
// Mod processing
//
Expand Down
12 changes: 6 additions & 6 deletions client/mod_processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ func (c *Client) ProcessingSendMessage(p *ParamsOfSendMessage, callback EventCal
//
// When the ABI header `expire` is present, the processing uses
// `message expiration` strategy:
// - The maximum block gen time is set to
// `message_expiration_time + transaction_wait_timeout`.
// - When maximum block gen time is reached the processing will
// be finished with `MessageExpired` error.
// - The maximum block gen time is set to
// `message_expiration_time + transaction_wait_timeout`.
// - When maximum block gen time is reached the processing will
// be finished with `MessageExpired` error.
//
// When the ABI header `expire` isn't present or `abi` parameter
// isn't specified, the processing uses `transaction waiting`
// strategy:
// - The maximum block gen time is set to
// `now() + transaction_wait_timeout`.
// - The maximum block gen time is set to
// `now() + transaction_wait_timeout`.
//
// - If maximum block gen time is reached and no result transaction is found
// the processing will exit with an error.
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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 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 17 Oct 22 06:48 UTC
// DON'T EDIT THIS FILE! It is generated via 'task generate' at 12 Nov 22 09:13 UTC
//
// Mod utils
//
Expand Down

0 comments on commit 919fac8

Please sign in to comment.