Skip to content

Commit

Permalink
testnet 16 implementation (#270)
Browse files Browse the repository at this point in the history
migrates to testnet 16
  • Loading branch information
SebastienValla authored Nov 17, 2022
1 parent 1577c69 commit af606b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions int/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func parseFlags(server *restapi.Server) {

certFilePtr := flag.String("tls-certificate", "", "path to certificate file")
keyFilePtr := flag.String("tls-key", "", "path to key file")
massaNodeServerPtr := flag.String("node-server", "INNONET", `Massa node that Thyra connects to.
massaNodeServerPtr := flag.String("node-server", "TESTNET", `Massa node that Thyra connects to.
Can be an IP address, a URL or one of the following values: 'TESTNET', 'LABNET', 'INNONET' or LOCALHOST`)

flag.Parse()
Expand All @@ -46,7 +46,7 @@ func parseFlags(server *restapi.Server) {
func parseNetworkFlag(massaNodeServerPtr *string) {
switch *massaNodeServerPtr {
case "TESTNET":
*massaNodeServerPtr = "https://test.massa.net/v1/"
*massaNodeServerPtr = "https://test.massa.net/api/v2"
case "LABNET":
*massaNodeServerPtr = "https://labnet.massa.net/"
case "INNONET":
Expand Down
2 changes: 1 addition & 1 deletion pkg/onchain/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/massalabs/thyra/pkg/wallet"
)

const DNSRawAddress = "A1dLAMrYAwubjiyikhgkU8CBJqPGcJDQBK46JEwF57m56Fnq3H7"
const DNSRawAddress = "A1NcdX5X962KgtpYxuMrC9A9LNSJtCQHUrhY93K51CbkKoazinZ"

func Resolve(client *node.Client, name string) (string, error) {
const dnsPrefix = "record"
Expand Down
Binary file modified pkg/onchain/website/sc/websiteStorer.wasm
Binary file not shown.

0 comments on commit af606b9

Please sign in to comment.