Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix service tests #142

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a7b9f59
✨ feat(mongo-repo): add mongodb adapter to store data >>> ⏰ 3h
logicalangel Jun 21, 2024
3ef6cf0
🐛 fix(fixes): some fixes and lint problem >>> ⏰ 30m
logicalangel Jun 21, 2024
0a9d1b3
🐛 fix(errors): fix error check of linters >>> ⏰ 5m
logicalangel Jun 21, 2024
573ef5d
🐛 fix(lint): lint >>> ⏰ 2m
logicalangel Jun 21, 2024
dcb856c
✨ feat(postgres): rewrite repositories with gorm - remove gql - sepra…
logicalangel Jun 23, 2024
9a798a0
Merge branch 'feature-postgres' into feature-mongodb-139
logicalangel Jun 23, 2024
ca4d924
🐛 fix(mod): fix unused deps >>> ⏰ 20m
logicalangel Jun 24, 2024
b2d0cfc
🐛 fix(linter): fix errors >>> ⏰ 10m
logicalangel Jun 24, 2024
3517dfd
✨ feat(mongo): complete mongo repositories >>> ⏰ 3h
logicalangel Jun 27, 2024
5fd64e0
🐛 fix(linters): fix linter problems >>> ⏰ 10m
logicalangel Jun 27, 2024
2cff013
✨ feat(postgres): fix problem of modeling postgres tables >>> ⏰ 6h
logicalangel Jun 29, 2024
ba77a0d
🐛 fix(pubsub): fix problem of removing unused channels >>> ⏰ 1h
logicalangel Jun 30, 2024
8ef71c7
🐛 fix(linter): fix errors >>> ⏰ 1m
logicalangel Jun 30, 2024
45824d5
fix-service-tests
logicalangel Jul 6, 2024
61c605b
Merge branch 'feature-mongodb-139' into fix-service-tests
logicalangel Jul 6, 2024
d237076
✨ feat(correctness): add correctness service tests and some fixes >>>…
logicalangel Jul 11, 2024
87212c9
✨ feat(emv-record)!: some fix and add unit-test for emvlog service >>…
logicalangel Jul 14, 2024
13a5610
✨ feat(evmlog-rpc): add process unit test for evmlog and some changes…
logicalangel Jul 14, 2024
7b1694d
✨ feat(uniswap): add unit test for uniswap record >>> ⏰ 4h
logicalangel Jul 15, 2024
c5241d6
🐛 fix(linters): fix problem of linters >>> ⏰ 30m
logicalangel Jul 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ issues:
linters: [ godot ]
- source: "//noinspection"
linters: [ gocritic ]
- path: "internal/transport/server/packet/*"
linters:
- dupl
- path: "cmd"
linters:
- funlen
Expand Down
47 changes: 24 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,38 @@ module github.com/TimeleapLabs/unchained
go 1.22.1

require (
entgo.io/contrib v0.4.6-0.20240215171353-eff33e4dca0b
entgo.io/ent v0.13.1
github.com/99designs/gqlgen v0.17.45
github.com/btcsuite/btcutil v1.0.2
github.com/consensys/gnark-crypto v0.12.1
github.com/dgraph-io/badger/v4 v4.2.0
github.com/ethereum/go-ethereum v1.13.14
github.com/go-co-op/gocron/v2 v2.2.6
github.com/gorilla/websocket v1.5.1
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/ilyakaznacheev/cleanenv v1.5.0
github.com/jackc/pgx/v5 v5.5.5
github.com/lib/pq v1.10.9
github.com/lmittmann/tint v1.0.4
github.com/mattn/go-colorable v0.1.13
github.com/newrelic/go-agent/v3/integrations/nrmongo v1.1.3
github.com/peterldowns/pgtestdb v0.0.14
github.com/pouya-eghbali/go-sia/v2 v2.1.0
github.com/pouya-eghbali/go-sia/v2 v2.2.2
github.com/puzpuzpuz/xsync/v3 v3.1.0
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
github.com/vektah/gqlparser/v2 v2.5.11
github.com/tryvium-travels/memongo v0.12.0
go.mongodb.org/mongo-driver v1.15.1
golang.org/x/crypto v0.21.0
golang.org/x/sync v0.6.0
golang.org/x/net v0.22.0
golang.org/x/text v0.14.0
gopkg.in/yaml.v3 v3.0.1
gorm.io/driver/postgres v1.5.9
gorm.io/gorm v1.25.10
)

require (
ariga.io/atlas v0.20.0 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/DataDog/zstd v1.4.5 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/acobaugh/osrelease v0.0.0-20181218015638-a93a0a55a249 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
Expand All @@ -61,12 +56,12 @@ require (
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
github.com/fergusstrange/embedded-postgres v1.27.0 // indirect
github.com/fjl/memsize v0.0.2 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-openapi/inflect v0.21.0 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
Expand All @@ -75,32 +70,34 @@ require (
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/flatbuffers v24.3.7+incompatible // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-bexpr v0.1.10 // indirect
github.com/hashicorp/hcl/v2 v2.20.0 // indirect
github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 // indirect
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.5.5 // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/pointerstructure v1.2.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/newrelic/go-agent/v3 v3.29.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
Expand All @@ -114,7 +111,7 @@ require (
github.com/rs/cors v1.7.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/sosodev/duration v1.2.0 // indirect
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/status-im/keycard-go v0.2.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
Expand All @@ -124,18 +121,22 @@ require (
github.com/tklauser/numcpus v0.7.0 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/urfave/cli/v2 v2.27.1 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
github.com/zclconf/go-cty v1.14.4 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect
golang.org/x/mod v0.16.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.19.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3 // indirect
Expand Down
Loading
Loading