Skip to content

Commit

Permalink
refactor: remove slinky proto (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 committed Sep 17, 2024
1 parent bcd8240 commit 036922e
Show file tree
Hide file tree
Showing 47 changed files with 25 additions and 27,826 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ test-cover: tidy
### Protobuf ###
###############################################################################

protoVer=0.14.0
protoVer=0.15.1
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!-- markdownlint-disable MD041 -->

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#wip)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/skip-mev/connect/v2)
[![Go Report Card](https://goreportcard.com/badge/github.com/skip-mev/connect/v2?style=flat-square)](https://goreportcard.com/report/github.com/skip-mev/connect/v2)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/skip-mev/connect)
[![Go Report Card](https://goreportcard.com/badge/github.com/skip-mev/connect?style=flat-square)](https://goreportcard.com/report/github.com/skip-mev/connect)
[![Version](https://img.shields.io/github/tag/skip-mev/connect.svg?style=flat-square)](https://github.com/skip-mev/connect/releases/latest)
[![Lines Of Code](https://img.shields.io/tokei/lines/github/skip-mev/connect?style=flat-square)](https://github.com/skip-mev/connect)

Expand Down
2 changes: 1 addition & 1 deletion abci/strategies/aggregator/price_applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (opa *oraclePriceApplier) ApplyPricesFromVoteExtensions(ctx sdk.Context, re
quotePrice := oracletypes.QuotePrice{
Price: math.NewIntFromBigInt(price),
BlockTimestamp: ctx.BlockHeader().Time,
BlockHeight: uint64(ctx.BlockHeight()),
BlockHeight: uint64(ctx.BlockHeight()), //nolint:gosec
}

if err := opa.ok.SetPriceForCurrencyPair(ctx, cp, quotePrice); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion abci/strategies/aggregator/price_applier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func TestPriceApplier(t *testing.T) {

require.Equal(t, qp.Price.BigInt(), big.NewInt(150))
require.Equal(t, qp.BlockTimestamp, ctx.BlockHeader().Time)
require.Equal(t, qp.BlockHeight, uint64(ctx.BlockHeight()))
require.Equal(t, qp.BlockHeight, uint64(ctx.BlockHeight())) //nolint:gosec
})

prices, err := pa.ApplyPricesFromVoteExtensions(ctx, &abcitypes.RequestFinalizeBlock{
Expand Down
Loading

0 comments on commit 036922e

Please sign in to comment.