Skip to content

Commit

Permalink
Merge pull request #60 from KenshiTech/v0.11.5
Browse files Browse the repository at this point in the history
v0.11.5
  • Loading branch information
pouya-eghbali authored Feb 17, 2024
2 parents 8f6360c + 786c47c commit 2cacfb1
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 50 deletions.
8 changes: 8 additions & 0 deletions src/cmd/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ package cmd

import (
"github.com/KenshiTech/unchained/config"
"github.com/KenshiTech/unchained/constants"
"github.com/KenshiTech/unchained/ethereum"
"github.com/KenshiTech/unchained/log"
"github.com/KenshiTech/unchained/plugins/uniswap"

"github.com/spf13/cobra"
Expand All @@ -17,6 +19,12 @@ var workerCmd = &cobra.Command{
Short: "Run the Unchained client in worker mode",
Long: `Run the Unchained client in worker mode`,
Run: func(cmd *cobra.Command, args []string) {

log.Logger.
With("Version", constants.Version).
With("Protocol", constants.ProtocolVersion).
Info("Running Unchained")

config.LoadConfig(configPath, secretsPath)
ethereum.Start()
uniswap.Start()
Expand Down
4 changes: 2 additions & 2 deletions src/constants/constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package constants

var Version = "0.11.4"
var ProtocolVersion = "0.11.3"
var Version = "0.11.5"
var ProtocolVersion = "0.11.5"
57 changes: 31 additions & 26 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,74 +3,79 @@ module github.com/KenshiTech/unchained
go 1.21.6

require (
entgo.io/ent v0.12.5
entgo.io/ent v0.13.0
github.com/btcsuite/btcutil v1.0.2
github.com/consensys/gnark-crypto v0.12.1
github.com/ethereum/go-ethereum v1.13.11
github.com/go-co-op/gocron/v2 v2.2.1
github.com/dustinkirkland/golang-petname v0.0.0-20231002161417-6a283f1aaaf2
github.com/ethereum/go-ethereum v1.13.12
github.com/go-co-op/gocron/v2 v2.2.4
github.com/gorilla/websocket v1.5.1
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/lib/pq v1.10.9
github.com/puzpuzpuz/xsync/v3 v3.0.2
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
github.com/vmihailenco/msgpack/v5 v5.4.1
golang.org/x/crypto v0.19.0
)

require (
ariga.io/atlas v0.14.1-0.20230918065911-83ad451a4935 // indirect
ariga.io/atlas v0.19.1-0.20240203083654-5948b60a8e43 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/agext/levenshtein v1.2.1 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/dustinkirkland/golang-petname v0.0.0-20231002161417-6a283f1aaaf2 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-openapi/inflect v0.19.0 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/hcl/v2 v2.13.0 // indirect
github.com/hashicorp/hcl/v2 v2.19.1 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/lmittmann/tint v1.0.4 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/puzpuzpuz/xsync/v3 v3.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect