Skip to content

Commit

Permalink
add daily report
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx authored and github-actions[bot] committed Apr 19, 2023
1 parent b687ea9 commit d45004e
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions reports/supernova/2023-04-19_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"averageTPS":96,"blocks":[{"blockNumber":9,"created":"2023-04-19T14:30:42.182881552Z","numTransactions":10,"gasUsed":1590000,"gasLimit":10000000},{"blockNumber":10,"created":"2023-04-19T14:30:56.851804857Z","numTransactions":60,"gasUsed":9637791,"gasLimit":10000000},{"blockNumber":11,"created":"2023-04-19T14:30:57.86886739Z","numTransactions":30,"gasUsed":4820970,"gasLimit":10000000}]}
30 changes: 30 additions & 0 deletions scripts/p/package.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package runtime

type Language string

const (
French Language = "french"
Italian Language = "italian"
Hindi Language = "hindi"
Bulgarian Language = "bulgarian"
Serbian Language = "serbian"
)

// GetGreeting generates a greeting in
// the specified language
func GetGreeting(language Language) string {
switch language {
case French:
return "Bonjour"
case Italian:
return "Ciao"
case Hindi:
return "नमस्ते"
case Bulgarian:
return "Здравейте"
case Serbian:
return "Здраво"
default:
return "Hello"
}
}
13 changes: 13 additions & 0 deletions scripts/r/realm.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package runtime

var greeting string

func init() {
greeting = "Hello"
}

// SayHello says hello to the specified name, using
// the saved greeting
func SayHello(name string) string {
return greeting + " " + name + "!"
}

0 comments on commit d45004e

Please sign in to comment.