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

MiniAvalanche middleware #2001

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5e82c9b
wip: miniAvalanche middleware scaffolding
abi87 Sep 6, 2024
4094cc4
block.ChainVM scaffolding
abi87 Sep 6, 2024
1ed8323
nits
abi87 Sep 7, 2024
8f006a0
wip: attempt static validators set
abi87 Sep 7, 2024
a56d3af
wip: simplifying genesis
abi87 Sep 7, 2024
3accdc2
Merge branch 'main' into middleware_miniavalanche
abi87 Sep 9, 2024
e0e7334
wip: fixing eth genesis parsing
abi87 Sep 10, 2024
72defce
simplified genesis tests
abi87 Sep 12, 2024
f8ffd0a
Merge branch 'main' into middleware_miniavalanche
abi87 Sep 12, 2024
0848844
fixed licenses
abi87 Sep 12, 2024
829892d
run make tidy
abi87 Sep 12, 2024
017b147
fixed make tidy-sync-check
abi87 Sep 12, 2024
c3378f5
wip: fixing golangci
abi87 Sep 12, 2024
77c27d2
appeased nilaway
abi87 Sep 12, 2024
fcfcc27
some more genesis nits
abi87 Sep 13, 2024
9629ec8
Merge branch 'main' into middleware_miniavalanche
abi87 Sep 13, 2024
7c477e9
Merge branch 'middleware_miniavalanche' of https://github.com/beracha…
abi87 Sep 13, 2024
a1a54da
some more genesis nits
abi87 Sep 13, 2024
7f11fa9
nit
abi87 Sep 16, 2024
8986e5f
Merge branch 'main' into middleware_miniavalanche
abi87 Sep 16, 2024
7ddf7c8
appease linter
abi87 Sep 16, 2024
4b640fd
nit
abi87 Sep 17, 2024
79f9af6
Merge branch 'main' into middleware_miniavalanche
abi87 Sep 22, 2024
66dc392
wip: mapping avalanche db log to cosmos
abi87 Sep 22, 2024
4dee500
mount DB + appease linter
abi87 Sep 22, 2024
a15d13c
wip: mapping cosmos db and log to avalanche
abi87 Sep 23, 2024
24a52af
fixed store key handling
abi87 Sep 23, 2024
7a689a5
wip: improve cosmosDB key space partitioning
abi87 Sep 23, 2024
f0074fe
hardened wrapped iterator
abi87 Sep 24, 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
24 changes: 23 additions & 1 deletion mod/consensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ replace (
require (
cosmossdk.io/log v1.4.1
cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc
github.com/ava-labs/avalanchego v1.11.11
github.com/berachain/beacon-kit/mod/async v0.0.0-20240821213929-f32b8e2dc5c8
github.com/berachain/beacon-kit/mod/cli v0.0.0-00010101000000-000000000000
github.com/berachain/beacon-kit/mod/consensus-types v0.0.0-20240821182712-08bbb9c7d685
github.com/berachain/beacon-kit/mod/da v0.0.0-20240820191615-398849c34954
github.com/berachain/beacon-kit/mod/errors v0.0.0-20240806211103-d1105603bfc0
github.com/berachain/beacon-kit/mod/log v0.0.0-20240821000339-4d4242ba4a50
github.com/berachain/beacon-kit/mod/primitives v0.0.0-20240911165923-82f71ec86570
Expand All @@ -30,6 +32,8 @@ require (
github.com/cosmos/cosmos-sdk v0.53.0
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.27.0
sigs.k8s.io/yaml v1.4.0
)

Expand Down Expand Up @@ -63,6 +67,7 @@ require (
github.com/bits-and-blooms/bitset v1.13.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect
github.com/bufbuild/protocompile v0.14.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cockroachdb/errors v1.11.3 // indirect
github.com/cockroachdb/fifo v0.0.0-20240616162244-4768e80dfb9a // indirect
Expand Down Expand Up @@ -105,6 +110,8 @@ require (
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
Expand All @@ -121,11 +128,14 @@ require (
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/orderedcode v0.0.1 // indirect
github.com/google/renameio/v2 v2.0.0 // indirect
github.com/gorilla/handlers v1.5.2 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/rpc v1.2.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand Down Expand Up @@ -158,8 +168,10 @@ require (
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/mtibben/percent v0.2.1 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
Expand Down Expand Up @@ -188,7 +200,6 @@ require (
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.19.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/supranational/blst v0.3.13 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
Expand All @@ -203,19 +214,30 @@ require (
gitlab.com/yawning/secp256k1-voi v0.0.0-20230925100816-f2616030848b // indirect
gitlab.com/yawning/tuplehash v0.0.0-20230713102510-df83abbf9a02 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.25.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto v0.0.0-20240617180043-68d350f18fd4 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d // indirect
google.golang.org/grpc v1.65.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.5.1 // indirect
Expand Down
Loading