Skip to content

Commit

Permalink
Txm part 1 (#18)
Browse files Browse the repository at this point in the history
- Backfilled some test coverage on the terra client
- Simplify using cosmos client for queries and sending txes as well as ws mgmt
- Added gas price querying from FCD node and the ability to specify a gas limit multiplier and fallback gas price in the spec
- Bug fix: ContractID needs to be ContractAddress in the wasm contract interactions
- Consistent receiver semantics on the terrra client (needs to use pointer semantics for the head tracker)
- Introduce a Start method for the client which boots the ws connection and starts the head tracker
  • Loading branch information
connorwstein authored Jan 5, 2022
1 parent 71d9f86 commit e3ae6b8
Show file tree
Hide file tree
Showing 12 changed files with 934 additions and 693 deletions.
31 changes: 16 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ module github.com/smartcontractkit/chainlink-terra
go 1.17

require (
github.com/pelletier/go-toml v1.9.4
github.com/pkg/errors v0.9.1
github.com/satori/go.uuid v1.2.0
github.com/smartcontractkit/chainlink v1.0.1-0.20211210170943-531c638ebd9c
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f
)

require (
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
github.com/99designs/keyring v1.1.6 // indirect
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect
github.com/CosmWasm/wasmvm v0.16.2 // indirect
github.com/CosmWasm/wasmvm v0.16.3 // indirect
github.com/DataDog/zstd v1.4.5 // indirect
github.com/Masterminds/semver/v3 v3.1.1 // indirect
github.com/OneOfOne/xxhash v1.2.5 // indirect
Expand All @@ -26,7 +29,7 @@ require (
github.com/cosmos/btcutil v1.0.4 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/iavl v0.17.3 // indirect
github.com/cosmos/ibc-go v1.1.3 // indirect
github.com/cosmos/ibc-go v1.1.5 // indirect
github.com/cosmos/ledger-cosmos-go v0.11.1 // indirect
github.com/cosmos/ledger-go v0.9.2 // indirect
github.com/danieljoos/wincred v1.0.2 // indirect
Expand All @@ -42,8 +45,9 @@ require (
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/getsentry/sentry-go v0.11.0 // indirect
github.com/go-kit/kit v0.10.0 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/go-kit/kit v0.12.0 // indirect
github.com/go-kit/log v0.2.0 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
Expand All @@ -62,7 +66,7 @@ require (
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/gtank/merlin v0.1.1 // indirect
github.com/gtank/ristretto255 v0.1.2 // indirect
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
Expand All @@ -82,9 +86,7 @@ require (
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/mtibben/percent v0.2.1 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
Expand All @@ -95,6 +97,7 @@ require (
github.com/regen-network/cosmos-proto v0.3.1 // indirect
github.com/rjeczalik/notify v0.9.2 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rs/zerolog v1.26.0 // indirect
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect
github.com/shirou/gopsutil v3.21.10+incompatible // indirect
github.com/shopspring/decimal v1.3.1 // indirect
Expand All @@ -105,27 +108,27 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.9.0 // indirect
github.com/stretchr/objx v0.3.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
github.com/tendermint/btcd v0.1.1 // indirect
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tendermint/tm-db v0.6.4 // indirect
github.com/tendermint/tm-db v0.6.6 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tklauser/go-sysconf v0.3.9 // indirect
github.com/tklauser/numcpus v0.3.0 // indirect
github.com/zondax/hid v0.9.0 // indirect
go.etcd.io/bbolt v1.3.5 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.19.1 // indirect
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
golang.org/x/sys v0.0.0-20211102192858-4dd72447c267 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71 // indirect
google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4 // indirect
google.golang.org/grpc v1.42.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/ini.v1 v1.63.2 // indirect
Expand All @@ -140,9 +143,8 @@ require (
github.com/gorilla/websocket v1.4.2
github.com/smartcontractkit/libocr v0.0.0-20211210213233-5443fb9db7f7
github.com/stretchr/testify v1.7.0
github.com/tendermint/tendermint v0.34.14
github.com/terra-money/core v0.5.13
github.com/terra-project/terra.go v1.0.1-0.20210907074752-0a5391f2dfe2
github.com/tendermint/tendermint v0.34.15
github.com/terra-money/core v0.5.14
github.com/tidwall/gjson v1.9.3
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
)
Expand All @@ -155,5 +157,4 @@ replace (
require (
github.com/hdevalence/ed25519consensus v0.0.0-20210430192048-0962ce16b305 // indirect
github.com/terra-money/terra.go v1.0.1-0.20211220063124-386f2075291e
gopkg.in/guregu/null.v4 v4.0.0
)
Loading

0 comments on commit e3ae6b8

Please sign in to comment.