Skip to content

Commit 63c0625

Browse files
committed
Merge branch 'feat/executor-audit' of https://github.com/initia-labs/opinit-bots-go into feat/executor-audit
2 parents 4a11124 + caba2af commit 63c0625

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

executor/host/host.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ import (
1515
"github.com/cosmos/cosmos-sdk/client"
1616
"github.com/cosmos/cosmos-sdk/codec"
1717
sdk "github.com/cosmos/cosmos-sdk/types"
18-
19-
slinkycodec "github.com/skip-mev/slinky/abci/strategies/codec"
2018
)
2119

2220
type childNode interface {
@@ -44,8 +42,7 @@ type Host struct {
4442
cdc codec.Codec
4543
ac address.Codec
4644

47-
ophostQueryClient ophosttypes.QueryClient
48-
extendedCommitCodec slinkycodec.ExtendedCommitCodec
45+
ophostQueryClient ophosttypes.QueryClient
4946

5047
processedMsgs []nodetypes.ProcessedMsgs
5148
msgQueue []sdk.Msg
@@ -74,10 +71,6 @@ func NewHost(
7471
ac: cdc.InterfaceRegistry().SigningContext().AddressCodec(),
7572

7673
ophostQueryClient: ophosttypes.NewQueryClient(node),
77-
extendedCommitCodec: slinkycodec.NewCompressionExtendedCommitCodec(
78-
slinkycodec.NewDefaultExtendedCommitCodec(),
79-
slinkycodec.NewZStdCompressor(),
80-
),
8174

8275
processedMsgs: make([]nodetypes.ProcessedMsgs, 0),
8376
msgQueue: make([]sdk.Msg, 0),

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/gofiber/fiber/v2 v2.52.5
99
github.com/initia-labs/OPinit v0.4.0
1010
github.com/initia-labs/initia v0.4.0
11-
github.com/skip-mev/slinky v0.4.3
1211
github.com/spf13/cobra v1.8.0
1312
github.com/spf13/viper v1.18.2
1413
gopkg.in/yaml.v2 v2.4.0
@@ -77,6 +76,7 @@ require (
7776
github.com/rivo/uniseg v0.2.0 // indirect
7877
github.com/rs/cors v1.8.3 // indirect
7978
github.com/skip-mev/block-sdk/v2 v2.1.2 // indirect
79+
github.com/skip-mev/slinky v0.4.3 // indirect
8080
github.com/ugorji/go/codec v1.2.12 // indirect
8181
github.com/ulikunitz/xz v0.5.11 // indirect
8282
github.com/valyala/bytebufferpool v1.0.0 // indirect

go.sum

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,12 +725,17 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
725725
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
726726
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
727727
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
728+
<<<<<<< HEAD
728729
github.com/initia-labs/OPinit v0.4.0 h1:ICfZRbJ+KqgWt9z8seMl+6sRKbm40ELFvruvWh/KD40=
729730
github.com/initia-labs/OPinit v0.4.0/go.mod h1:qu3h66dk3EF3Ehnr0bRuq0ezxzVKtQvy7G/waQFG9nM=
730731
github.com/initia-labs/OPinit/api v0.4.0 h1:i3Cz5qPFpezeYh2R9TW2riPBb5tHwLOWOx3hrcWrM+o=
731732
github.com/initia-labs/OPinit/api v0.4.0/go.mod h1:Xy/Nt3ubXLQ4zKn0m7RuQOM1sj8TVdlNNyek21TGYR0=
732733
github.com/initia-labs/initia v0.4.0 h1:iJeFK5uaHF90YFyKoPztUH2hem5eKDpz42kg2dqJYB8=
733734
github.com/initia-labs/initia v0.4.0/go.mod h1:dWCjY44C38bLlyTPXdXxzdXLwh3X1bAsiARJ0jfVqDg=
735+
=======
736+
github.com/initia-labs/OPinit/api v0.4.0 h1:i3Cz5qPFpezeYh2R9TW2riPBb5tHwLOWOx3hrcWrM+o=
737+
github.com/initia-labs/OPinit/api v0.4.0/go.mod h1:Xy/Nt3ubXLQ4zKn0m7RuQOM1sj8TVdlNNyek21TGYR0=
738+
>>>>>>> caba2af361227a275f15f05721aef8d91d7bf115
734739
github.com/initia-labs/movevm v0.3.4 h1:kzqs6uzTq0f5peZJNzLq/1qgnmAFfC+I9eCyPBducxM=
735740
github.com/initia-labs/movevm v0.3.4/go.mod h1:6MxR4GP5zH3JUc1IMgfqAe1e483mZVS7fshPknZPJ30=
736741
github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls=

0 commit comments

Comments
 (0)