Skip to content

Commit

Permalink
update event and readme (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode authored Jan 10, 2024
1 parent a3c346d commit a97167f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ MY_ADDR="cXgaee2N8E77JJv9gdsGAckv1Qsf3hqWYf7NL4q6ZuQzuAUtB"
RPC_ADDRS="ws://localhost:9944"

# testnet
BOOTSTRAP_NODES="_dnsaddr.boot-kldr-testnet.cess.cloud"
BOOTSTRAP_NODES="_dnsaddr.boot-bucket-testnet.cess.cloud"
2 changes: 1 addition & 1 deletion .env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ MY_ADDR="cXgaee2N8E77JJv9gdsGAckv1Qsf3hqWYf7NL4q6ZuQzuAUtB" # root
RPC_ADDRS="wss://testnet-rpc0.cess.cloud/ws/ wss://testnet-rpc1.cess.cloud/ws/ wss://testnet-rpc2.cess.cloud/ws/"

# testnet
BOOTSTRAP_NODES="_dnsaddr.boot-kldr-testnet.cess.cloud"
BOOTSTRAP_NODES="_dnsaddr.boot-bucket-testnet.cess.cloud"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Go sdk for CESS network

[![GitHub license](https://img.shields.io/badge/license-Apache2-blue)](#LICENSE)
<a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.19-blue.svg" /></a>
<a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.20-blue.svg" /></a>
[![Go Reference](https://pkg.go.dev/badge/github.com/CESSProject/cess-go-sdk.svg)](https://pkg.go.dev/github.com/CESSProject/cess-go-sdk)
[![build](https://github.com/CESSProject/cess-go-sdk/actions/workflows/build&test.yml/badge.svg)](https://github.com/CESSProject/cess-go-sdk/actions/workflows/build&test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/CESSProject/cess-go-sdk)](https://goreportcard.com/report/github.com/CESSProject/cess-go-sdk)
Expand All @@ -14,7 +14,7 @@ The go sdk implementation of the CESS network, which provides RPC calls, status

## 📝 Reporting Vulnerability

If you find out any system bugs or you have a better suggestions, please send an email to frode@cess.one or join [CESS discord](https://discord.gg/mYHTMfBwNS) to communicate with us.
If you find any system errors or you have better suggestions, please submit an issue or submit a pull request. You can also join the [CESS discord](https://discord.gg/mYHTMfBwNS) to communicate with us.

## 📢 Announcement
**CESS test network rpc endpoints**
Expand Down
4 changes: 2 additions & 2 deletions core/event/eventsName.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package event

const (
// AUDIT
AuditVerifyProof = "Audit.VerifyProof "
AuditVerifyProof = "Audit.VerifyProof"
AuditSubmitProof = "Audit.SubmitProof"
AuditGenerateChallenge = "Audit.GenerateChallenge"
AuditSubmitIdleProof = "Audit.SubmitIdleProof"
Expand Down Expand Up @@ -56,7 +56,7 @@ const (
SminerReceive = "Sminer.Receive"
SminerMinerExitPrep = "Sminer.MinerExitPrep"
SminerWithdraw = "Sminer.Withdraw"
SminerIncreaseDeclarationSpace = "Sminer.IncreaseDeclarationSpace "
SminerIncreaseDeclarationSpace = "Sminer.IncreaseDeclarationSpace"

// StorageHandler
StorageHandlerBuySpace = "StorageHandler.BuySpace"
Expand Down
1 change: 1 addition & 0 deletions defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var DefaultRpcAddrs = func(cfg *Config) error {
rpcAddrs := []string{
"wss://testnet-rpc0.cess.cloud/ws/",
"wss://testnet-rpc1.cess.cloud/ws/",
"wss://testnet-rpc2.cess.cloud/ws/",
}
return cfg.Apply(ConnectRpcAddrs(rpcAddrs))
}
Expand Down

0 comments on commit a97167f

Please sign in to comment.