Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

fix(mempool): Prevent runTx failures #1425

Merged
merged 57 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
b8ff23d
checktx
itsdevbear Jan 14, 2024
d20570d
x
itsdevbear Jan 14, 2024
b697a60
config
itsdevbear Jan 14, 2024
838fd0c
added
itsdevbear Jan 14, 2024
d50e582
bing bong
itsdevbear Jan 14, 2024
7a2ea33
rc5
itsdevbear Jan 14, 2024
e8f31ad
default gas price
itsdevbear Jan 14, 2024
a8bc57d
removeyeet
itsdevbear Jan 14, 2024
1cb455c
bing bong
itsdevbear Jan 14, 2024
a77f174
bing bong
itsdevbear Jan 14, 2024
69329b1
preparecheckstate
itsdevbear Jan 14, 2024
bc65f34
bing bong
itsdevbear Jan 14, 2024
5262965
fix
itsdevbear Jan 14, 2024
9e56706
removing
itsdevbear Jan 14, 2024
cf9c1d5
state mgmt pt 1
calbera Jan 15, 2024
1fdca16
state mgmt pt 2
calbera Jan 16, 2024
ace17c4
cleanup latest query context
calbera Jan 16, 2024
127a25f
eviction from comet mempool
calbera Jan 16, 2024
0e03eff
bump sdk
itsdevbear Jan 16, 2024
324e24a
deletion from timeInserted map
calbera Jan 16, 2024
6bd959e
fire chain head
calbera Jan 16, 2024
0c0b3d0
comet remote cache
calbera Jan 16, 2024
f686f83
minor
calbera Jan 16, 2024
dc6302c
default removal to false
calbera Jan 16, 2024
c1a9e54
rw lock on block building
calbera Jan 16, 2024
51e7c77
unfuck
itsdevbear Jan 16, 2024
40303ec
test1
itsdevbear Jan 16, 2024
d5d59b7
hack7
itsdevbear Jan 16, 2024
49eb151
bet
itsdevbear Jan 16, 2024
a76c9b5
bet
itsdevbear Jan 16, 2024
7c420b0
semver
itsdevbear Jan 16, 2024
7c758a1
tag
itsdevbear Jan 16, 2024
deff092
experimental
itsdevbear Jan 16, 2024
0292437
bet
itsdevbear Jan 16, 2024
af457a4
Merge branch 'main' into 222
itsdevbear Jan 17, 2024
c82042a
bet
itsdevbear Jan 17, 2024
92cadd1
merge
itsdevbear Jan 17, 2024
a8222c0
remove pebble from geth
itsdevbear Jan 17, 2024
66e3f65
merge
itsdevbear Jan 17, 2024
ba7c9dc
bet
itsdevbear Jan 17, 2024
f2c30d6
remove unused flag
itsdevbear Jan 17, 2024
e0e30d7
bet
itsdevbear Jan 17, 2024
9f08107
lint
itsdevbear Jan 17, 2024
bd216d5
bet
itsdevbear Jan 17, 2024
3fc2ac1
focus
itsdevbear Jan 17, 2024
e50a5e9
ooga booga
itsdevbear Jan 17, 2024
c2870a8
ci
itsdevbear Jan 17, 2024
2c752d7
not gonna break on ci
itsdevbear Jan 17, 2024
80533a6
fix
itsdevbear Jan 17, 2024
1cc85b8
scam
itsdevbear Jan 17, 2024
8c96574
format
itsdevbear Jan 17, 2024
8a521ab
bet
itsdevbear Jan 17, 2024
9b8fc41
attemp to fix
itsdevbear Jan 17, 2024
a4363aa
hood
itsdevbear Jan 17, 2024
9d39963
fix unit tests
itsdevbear Jan 17, 2024
fce00ab
bet
itsdevbear Jan 17, 2024
b75cafa
bet
itsdevbear Jan 17, 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
2 changes: 1 addition & 1 deletion build/scripts/cosmos.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TESTAPP_DIR = ./e2e/testapp
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)

# process build tags
build_tags = netgo
build_tags = netgo pebbledb
ifeq ($(LEDGER_ENABLED),true)
ifeq ($(OS),Windows_NT)
GCCEXE = $(shell where gcc.exe 2> NUL)
Expand Down
6 changes: 4 additions & 2 deletions build/scripts/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ format:
@$(MAKE) license-fix buf-lint-fix forge-lint-fix golangci-fix

lint:
@$(MAKE) license buf-lint forge-lint golangci gosec
@$(MAKE) license forge-lint golangci gosec


#################
Expand Down Expand Up @@ -370,7 +370,9 @@ protoDir := "proto"

buf-install:
@echo "--> Installing buf"
@go install github.com/bufbuild/buf/cmd/buf
@if [ "$(shell uname)" = "Darwin" ]; then \
brew install bufbuild/buf/buf; \
fi

buf-lint-fix:
@$(MAKE) buf-install
Expand Down
50 changes: 25 additions & 25 deletions build/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@ module github.com/berachain/polaris/build/tools
go 1.21

require (
github.com/bufbuild/buf v1.26.1
github.com/bufbuild/buf v1.27.2
github.com/cosmos/gosec/v2 v2.0.0-20230124142343-bf28a33fadf2
github.com/ethereum/go-ethereum v1.13.10
github.com/golangci/golangci-lint v1.55.2
github.com/google/addlicense v1.1.1
github.com/matryer/moq v0.3.2
github.com/onsi/ginkgo/v2 v2.13.2
github.com/onsi/ginkgo/v2 v2.14.0
github.com/securego/gosec/v2 v2.18.2
github.com/vektra/mockery/v2 v2.34.1
)

require (
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
4d63.com/gochecknoglobals v0.2.1 // indirect
connectrpc.com/connect v1.12.0 // indirect
connectrpc.com/otelconnect v0.6.0 // indirect
github.com/4meepo/tagalign v1.3.3 // indirect
github.com/Abirdcfly/dupword v0.0.13 // indirect
github.com/Antonboom/errname v0.1.12 // indirect
Expand Down Expand Up @@ -48,9 +50,7 @@ require (
github.com/breml/bidichk v0.2.7 // indirect
github.com/breml/errchkjson v0.3.6 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/bufbuild/connect-go v1.9.0 // indirect
github.com/bufbuild/connect-opentelemetry-go v0.4.0 // indirect
github.com/bufbuild/protocompile v0.6.0 // indirect
github.com/bufbuild/protocompile v0.6.1-0.20231108163138-146b831231f7 // indirect
github.com/butuzov/ireturn v0.2.2 // indirect
github.com/butuzov/mirror v1.1.0 // indirect
github.com/bytedance/sonic v1.10.0 // indirect
Expand All @@ -70,8 +70,8 @@ require (
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
Expand All @@ -81,8 +81,9 @@ require (
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/deepmap/oapi-codegen v1.13.4 // indirect
github.com/denis-tingaikin/go-header v0.4.3 // indirect
github.com/docker/cli v24.0.4+incompatible // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/cli v24.0.7+incompatible // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker v24.0.7+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.0 // indirect
github.com/docker/go-connections v0.4.0 // indirect
Expand Down Expand Up @@ -138,8 +139,8 @@ require (
github.com/golangci/revgrep v0.5.2 // indirect
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-containerregistry v0.15.2 // indirect
github.com/google/pprof v0.0.0-20230901174712-0191c66da455 // indirect
github.com/google/go-containerregistry v0.16.1 // indirect
github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/gookit/color v1.5.4 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 // indirect
Expand All @@ -165,9 +166,8 @@ require (
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c // indirect
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
github.com/jdxcode/netrc v0.0.0-20221124155335-4616370d1a84 // indirect
github.com/jdx/go-netrc v1.0.0 // indirect
github.com/jgautheron/goconst v1.6.0 // indirect
github.com/jhump/protoreflect v1.15.3 // indirect
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
github.com/jinzhu/copier v0.3.5 // indirect
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
Expand Down Expand Up @@ -218,7 +218,7 @@ require (
github.com/nunnatsa/ginkgolinter v0.14.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc4 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/peterh/liner v1.2.2 // indirect
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
Expand All @@ -236,7 +236,7 @@ require (
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.9.0 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/rs/zerolog v1.31.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryancurrah/gomodguard v1.3.0 // indirect
Expand All @@ -254,7 +254,7 @@ require (
github.com/sourcegraph/go-diff v0.7.0 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.16.0 // indirect
Expand All @@ -269,7 +269,7 @@ require (
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect
github.com/tdakkota/asciicheck v0.2.0 // indirect
github.com/tetafro/godot v1.4.15 // indirect
github.com/tetratelabs/wazero v1.3.1 // indirect
github.com/tetratelabs/wazero v1.5.0 // indirect
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect
github.com/timonwong/loggercheck v0.9.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
Expand All @@ -285,7 +285,7 @@ require (
github.com/uudashr/gocognit v1.1.2 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/vbatts/tar-split v0.11.3 // indirect
github.com/vbatts/tar-split v0.11.5 // indirect
github.com/xen0n/gosmopolitan v1.2.2 // indirect
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
Expand All @@ -295,14 +295,14 @@ require (
github.com/yusufpapurcu/wmi v1.2.3 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.1.2 // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
go.opentelemetry.io/otel v1.20.0 // indirect
go.opentelemetry.io/otel/metric v1.20.0 // indirect
go.opentelemetry.io/otel/sdk v1.20.0 // indirect
go.opentelemetry.io/otel/trace v1.20.0 // indirect
go.tmz.dev/musttag v0.7.2 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/arch v0.4.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
Expand All @@ -314,8 +314,8 @@ require (
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.15.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
golang.org/x/tools v0.16.1 // indirect
google.golang.org/protobuf v1.32.0 // 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
Expand Down
Loading
Loading