Skip to content

Commit

Permalink
Merge pull request #74 from KenshiTech/v0.11.20
Browse files Browse the repository at this point in the history
V0.11.20
  • Loading branch information
pouya-eghbali authored Mar 21, 2024
2 parents 955b4ef + e6c7bae commit 0e82995
Show file tree
Hide file tree
Showing 36 changed files with 8,271 additions and 1,317 deletions.
3 changes: 1 addition & 2 deletions src/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ func defaults() {
Config.SetDefault("rpc.arbitrum_sepolia", "https://sepolia-rollup.arbitrum.io/rpc")
Config.SetDefault("broker.bind", "0.0.0.0:9123")
Config.SetDefault("pos.chain", "arbitrum_sepolia")
Config.SetDefault("pos.address", "0xdA36f22C0Dab89CA0884489Bf3a00c0C27cEDbec")
Config.SetDefault("pos.address", "0x965e364987356785b7E89e2Fe7B70f5E5107332d")
Config.SetDefault("pos.base", "1")
Config.SetDefault("pos.nft", "40000000000000000000000")
}

var Config *viper.Viper
Expand Down
2 changes: 1 addition & 1 deletion src/constants/constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package constants

var Version = "0.11.19"
var Version = "0.11.20"
var ProtocolVersion = "0.11.17"
3 changes: 3 additions & 0 deletions src/constants/opcodes/opcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ const (

EventLog
EventLogBroadcast

CorrectnessReport
CorrectnessReportBroadcast
)
23 changes: 23 additions & 0 deletions src/datasets/correctness.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package datasets

import (
"github.com/KenshiTech/unchained/crypto/bls"
)

type Correctness struct {
Timestamp uint64
Hash [64]byte
Topic [64]byte
Correct bool
}

type CorrectnessReport struct {
Correctness
Signature [48]byte
}

type BroadcastCorrectnessPacket struct {
Info Correctness
Signature [48]byte
Signer bls.Signer
}
183 changes: 171 additions & 12 deletions src/ent/client.go

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

Loading

0 comments on commit 0e82995

Please sign in to comment.