Skip to content

Commit

Permalink
update turing endpoint (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz authored Apr 25, 2024
1 parent 152673e commit 7f288d1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions avail-js/examples/next-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion avail-js/examples/next-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/react": "18.2.67",
"@types/react-dom": "18.2.22",
"autoprefixer": "10.4.18",
"avail-js-sdk": "^0.2.11",
"avail-js-sdk": "^0.2.12",
"eslint": "8.57.0",
"eslint-config-next": "14.1.4",
"next": "14.1.4",
Expand Down
8 changes: 4 additions & 4 deletions avail-js/examples/node-examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion avail-js/examples/node-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dispatch-data-root": "npm run build && node build/node-examples/src/dispatch-data-root.js"
},
"dependencies": {
"avail-js-sdk": "^0.2.11"
"avail-js-sdk": "^0.2.12"
},
"devDependencies": {
"rimraf": "^5.0.5"
Expand Down
2 changes: 1 addition & 1 deletion avail-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "avail-js-sdk",
"version": "0.2.11",
"version": "0.2.12",
"description": "Avail library of functions to interact with blockchain and manipulate transactions",
"main": "./build/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion avail-js/src/chain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ApiOptions } from "@polkadot/api/types"
import { rpc, signedExtensions, types } from "../spec"

export const GOLDBERG_ENDPOINT = "wss://rpc-testnet.avail.tools/ws"
export const TURING_ENDPOINT = "wss://turing-rpc.avail.so"
export const TURING_ENDPOINT = "wss://turing-rpc.avail.so/ws"

export let api: ApiPromise
export let chainEndpoint = TURING_ENDPOINT
Expand Down
2 changes: 1 addition & 1 deletion examples/go/record_event/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

func main() {

api, err := gsrpc.NewSubstrateAPI("wss://turing-rpc.avail.so/")
api, err := gsrpc.NewSubstrateAPI("wss://turing-rpc.avail.so/ws")
if err != nil {
panic(fmt.Sprintf("cannot create api client:%v", err))
}
Expand Down

0 comments on commit 7f288d1

Please sign in to comment.