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

v0.3.0 rc.2 #736

Merged
merged 728 commits into from
Jul 31, 2021
Merged

v0.3.0 rc.2 #736

merged 728 commits into from
Jul 31, 2021

Conversation

justinkaseman
Copy link
Collaborator

No description provided.

HenryNguyen5 and others added 30 commits April 29, 2021 19:15
* fix: burst connection handling

* fix: loading connection starts at 1
* perf: added metrics at unresponsive subscriptions

* perf: metric subs error on every message

* perf: error reason message as string

* perf: non undefined metric labels
* feat(augur): augur adapters and changes

* fix(augur): fixes, tests and documentation

* fix(augur): fix issue if homeSpread is a float

* feat(augur): allow affiliate ids to be defined in job spec

* fix(augur): right pad instead of left padding bytes32 data

* fix(augur): all scores should be rounded fixed point

* fix(augur): fix references failing ts build

* fix(augur): use clarified value for totalScore

* refactor(augur): organize tests as e2e
* feat: warmer and ws play together

* perf: warmer middleware needs a raw execute fn
* fix(augur): fix nonce management

* fix(augur): expect isEventResolved() to possibly fail
justinkaseman and others added 25 commits July 22, 2021 19:57
Co-authored-by: Silas Lenihan <sjl58@duke.edu>
Co-authored-by: Justin Kaseman <justinkaseman@live.com>
Co-authored-by: Silas Lenihan <sjl58@duke.edu>
Co-authored-by: Justin Kaseman <justinkaseman@live.com>
* fix: coingecko & Coinpaprika inner coin list calls no longer stifle errors

* fix(bootstrap): withCache no longer does a repeated execution on cache error

* feat(bootstrap): add new middleware: burst-limiter

* fix(bootstrap): squash bug with cache warmer not ignoring cache because of normalizing away maxAge

* chore(k6): add price pairs from RDD for soak testing
* feat(bootstrap): rate Limit tiers default to the lowest tier

* feat: add NAME to adapterContext and use as a default in Rate Limit

* fix(bootstrap): fix rate-limit test with context changes

* fix(bootstrap): lowercase adapter name when using it to access Rate Limit tier

* test(bootstrap): modfify provider limit tests for unknown tier defaulting to lowest tier
* feat: draft first version

* feat: sequencer direct check

* feat: refactor and tests

* feat: endpoints available through env vars

* feat: blocks as numbers. Handle more exceptions

* feat: every method have to succeed to be healthy

* feat: delta lowered to 2 min by default

* fix: exposing adapter name

* Renaming
…te (#720)

Co-authored-by: Justin Kaseman <justinkaseman@live.com>
* fix(bootstrap): amend Coingecko per minute rate limit based on their updated docs

* fix(bootstrap): cache batchablePropertyPath. Fixes batch warmer not rebuilding correctly w/ a cache

* refactor(k6): add more test requests
Co-authored-by: Justin Kaseman <justinkaseman@live.com>
* [Master] Release/v0.2.0 (#439)

* coinmarketcap ts refactor

* types & lint & package name

* CHANGELOG

* Requested changes: uses generic execute types, base url from config, splits tests

* add conflux adapter

* Remove adapter.js from merge

* Fix: increase test timeout, move marketcap unknown market to error calls, correct typo in baseURL

* getDefaultConfig takes new parameter for required API key

* Brings back dummy API_KEYs for tests

* Uses verbose env var to determine response data

* update changelog: add conflux adapter

* EA migration - batch #1 (#226)

* 1forge to TS

* Add Config type for recent change to generic types

* Utilize ExecuteWithConfig in 1forge

* Adds example README template & remove 'server' script

* Alphavantage adapter to TS

* Remove alphavantage-sdr folder

* Amberdata-gasprice to TS

* Anyblock-gasprice to TS

* Binance-DEX to TS

* Add note to binance-dex's differing use of API_ENDPOINT env var

* Brave New Coin to TS

* Bring Brave New Coin VWAP into Brave New Coin EA

* Coinapi to TS

* Coinbase to TS

* Coingecko to TS

* Move BNC helpers into BNC adapter

* Increase alphavantage test timeout

* Moves alphavantage APIkey param into endpoint - issue open for improvement

* Clean up leftover bravenewcoin-vwap traces

* Remove 1forge's conflicting and not useful endpoint param

* Requested changes: 1forge balance -> price, alphavantage example output

* Re-add server script & spread response data into endpoint responses

* Uses verbose env var to determine response data

* Gets API_KEY from makeConfig

* Add test dummy API_KEY

* Re-add server script to example

* batch adapter TS refactor (#234)

* batch adapter TS refactor

* satisfy linter

* Uses config in generics, removes non-TS server script

* EA endpoints return their own response & use ExecuteWithConfig type

* Capitalize name property

* Use Config for baseURL and API_KEYS, re-add server script, use verbose env var for data response

Co-authored-by: Justin Kaseman <justinkaseman@live.com>

* README improvements, fix typo with PRICE_ADAPTER

* networkId type fix

* feed tx gas info

* Read dxFeed config correctly with prefix

* Include config change in secondary adapter

* Use "Quote" for WTI

* Fix case-sensitive endpoint params

* batch requests on coingecko

* DPI readme updated

* removed console

* Update Synthetix for new sDEFI pairs

* docs: additiona to 1forge, amberdata-gasprice, anyblock-gasprice, & binance-dex

* Add API_KEY docs & docs from QA for coinapi, coinbase, cmc, coinpaprika, cryptocompare, currencylayer, and poa-gasprice

* Finish TS migrated adapter QA

* Add dummy API keys for tests

* Use Jonas' fix to non-lowercase endpoint param

* Add dummy API key to openexchangerates test

* Add dummy API key to polygon test

* Requested changes: consistent endpoint title capitalization, tweak API_KEY description, add sample input to example EA

* Fix: balance test helper path

* Remove WrappedResponse

* Merge develop

* CHANGELOG

* Requested Change: remove from CHANGELOG

* Change: Only one Middleware type

* Change: revert change to withCache to remove options param

* Remove util.wrapExecute from all EAs

* Revert result being optional

* Makes Middleware a generic type to allow withCache options & fix test with result in mock data response

* wrap response

* returning result on callback

* removed unused imports

* Update KCS slug on CMC synth-index

* Update KCS slug on CMC

* synthx as composite using TA

* removed old synth adapter and its build steps

* base as default input param

* TA default quote as env var

* TA accepts method as param

* validation on TA

* avoid floating numbers on TA

* removed TA reference from Readme

* readme updated

* negative balance checked easier

* prefix preference on TA make config

* updated adapter name

* added cmc slugs

* updated synthx version

* fix synthx version

* tiingo adapter with tests

* misc tiingo fixes

* updated changelog

* updates

* fix import name error

* Remove synthetix dependency from global package

* Update synthetix package

* Prevent scientific notation of balances

* removed google finance

* filter out auth from logging

* Publish Docker images to SDLC Public ECR instead of Prod Public ECR

* remove old js code

* add ts conflux adaptor code

* remove lock file

* comment example test

* added preset ticker on coinpaprika and coingecko

* update config helper

* Include the "result" key on cached responses

* Include jobRunID in cached response

* added ethwrite JS project and its dependencies

* converted to TS

* working with the new structure

* added hardhat and relevant test setup

* default config + naming convention fix

* changed README, added defaults and test

* review changes; need to check tests

* asserting true values written to contract in test

* small change in config

* made dataType optional, altered tests, added helper file

* removed helper files

* installed fresh dependencies

* README changes and required env vars

* moved private key to hardhat helpers

* yarn install

* json for hardhat exported var

* cleaned comments

* update new ea-bootstrap

* fix lint error

* add unit test

* fix lint

* update tests

* Publish adapters to prod when merging to develop

* basic setup

* geoDB adapter

* updated changelog

* Removed other parts of config that include sensitive values. Removed api key warning

* Add "agoric" adapter (#114)

* feat: add Agoric adapter

* fix: use agoric_oracle_query_id

* fix: make more explicit

* test: remove agoric/test

* fix: another attempt to plumb through the 'Task Run Data'

* fix: use the promise-based API

* fix: make request_id numeric

* fix: cast payment from number to string

* fix: properly export the Agoric async adapter and string queryId

* refactor: separate concerns and add tests

* fix: more robust adapter; send errors to the oracleServer

* feat!: surface errors from the oracle backend

* fix: match with actual POST reply from the ag-solo

* fix: use AdapterErrors to surface errors to the node operator

* test: add integration test

* fix: use Requester instead of axios

* chore: rename package to @chainlink/agoric

* ci: add "agoric" to adapters.json

* refactor: clarify implementation according to review comments

* refactor: use the adapter-test-helpers

* ci: fix the Agoric build process

* fix: address review comments

* refactor: standardize code based on example adapter

* fix: import makeConfig

* fix: correct the default agoric adapter parameters

* chore: remove dependency on bn.js

* Kaiko special case for DIGG/BTC (#336)

* Kaiko special case for DIGG/BTC

* Increase timespan for Kaiko requests

* Add changelog item

* updated geodb url

* Update node version in GCP readme

* Add Amberdata case for DIGG/BTC (#345)

* TheRundown adapter

* updated changelog

* updated therundown readme

* TS EAs #4 batch 0 of 3 (#332)

* Add couple more best practices into example adapter

* TrueUSD adapter to TS

* Reverts change to TrueUSD param name

* Rename path param --> field

* Move TE stream adapter to monorepo (#346)

* Move TE stream adapter to monorepo

* Add changelog entry

* Make config optional

* Add tests

* Added LINA preset in coingecko

* CMC should prefer IDs over slugs (#343)

* CMC should prefer IDs over slugs

* Add changelog entry

* Add conversion from AMP to AMP2 for Nomics adapter

* parsing c(close price) according to v3

* Add tradermade support to outlier-detection (#357)

* Add tradermade support to outlier-detection

* Fix outdated tests

* Add changelog entry

* Improve Redis connection cleanup

* AlphaChain adapter to TS

* Add postinstall script

* More best practices in the example EA

* Bitex adapter to TS

* Bitso adapter to TS

* Clean up bravenewcoin-vwap fragment

* Coinlore adapter to TS

* Remove postinstall script until entire build process can be refactored

* TrueUSD adapter to TS

* Reverts change to TrueUSD param name

* COVID-tracker adapter to TS

* Cryptomkt adapter to TS

* Remove google-finance adapter fragment

* Lition adapter to TS

* Add public ecr registry to docker login

* Skip coinlore integration tests

* Add baseurl option (#367)

* Explicitly specify aws region (#370)

* Updated Asset Allocation Interface (#358)

* asset allocation updated

* updated version

* decimals to number

* Fix support for WING on Nomics (#371)

* Add basic prom metrics (#365)

* Messari adapter to TS

* Orchid Bandwidth adapter to TS

* SatoshiTange adapter to TS

* TradingEconomics adapter to TS

* Extra to TradingEconomics README

* Fix to tradingeconomics .eslintrc.js

* Fix: remove no longer relevant test

* Cryptoapis tests and README (#248)

* Update README about metadata (#379)

* Add new ticker conversions

* Overrides Input parameter (#384)

* override format validator. coingecko impl

* price adapter use overrides

* overrides validator test

* override inside validator

* refactor

* more adapters added

* more adapters added

* readmes updated

* lint fix

* preset symbols used

re

* tests updated

* merge with lodash

* fix merge

* Bump elliptic from 3.0.3 to 6.5.4 (#391)

Bumps [elliptic](https://github.com/indutny/elliptic) from 3.0.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v3.0.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove GOOGL override for dxfeed-secondary (#392)

* fix-format-readme-link (#393)

* Set correct response type on metrics

* Add FB support for dxfeed and dxfeed-secondary (#420)

* bitcoin endpoints (#417)

* bitcoin endpoints

* Fix blockstream and blockchain.com adapters

* Fix height result output

* Fix blockstream README

* Update blockstream/package.json

* Update blockstream/README.md

* Condense endpoints to blocks & use field param

* Blockstream doesn't require an API KEY

* Update Blockstream README

* Add blockstream to github workflow

Co-authored-by: Thomas Hodges <thomas@smartcontract.com>
Co-authored-by: Justin Kaseman <justinkaseman@live.com>

* Update Genesis Volatility README (#422)

* add support for RAI to kaiko, nomics (#425)

* add rai, weth (#424)

* add rai, weth

Added handling of RAI/WETH pair using contract addresses

* Fix formatting

Co-authored-by: Jonas Hals <jonas@smartcontract.com>

* update API key url (#428)

* additional fixes for RAI support on kaiko adapter (#431)

* added includes:['weth'] support to kaiko adapter

* Apply suggestions from code review

Co-authored-by: Jonas Hals <contact@jonashals.me>

* v0.0.4

* Preparing v0.2.0 release: version patch bumps

* Tag changelog

* Bump dependency versions

* Additional CHANGELOG items

Co-authored-by: ryan <ryanemmick4@gmail.com>
Co-authored-by: PanaW <wangpan@conflux-chain.org>
Co-authored-by: Kristijan Rebernisak <kristijan.rebernisak@gmail.com>
Co-authored-by: Jonas Hals <jonas@smartcontract.com>
Co-authored-by: Jonas Hals <contact@jonashals.me>
Co-authored-by: RodrigoAD <15104916+RodrigoAD@users.noreply.github.com>
Co-authored-by: Thomas Hodges <thomas@smartcontract.com>
Co-authored-by: christianagnew <christian.agnew@outlook.com>
Co-authored-by: Evangelos Barakos <e.mparakos@gmail.com>
Co-authored-by: Edward Medvedev <edward.medvedev@gmail.com>
Co-authored-by: W <pana.wang@outlook.com>
Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com>
Co-authored-by: Michael FIG <michael+github@fig.org>
Co-authored-by: Peter van Mourik <tyrion70@users.noreply.github.com>
Co-authored-by: Evangelos Barakos <evangelos@smartcontract.com>
Co-authored-by: Connor Stein <connor.stein@mail.mcgill.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendon Van Essen <42727620+nzleet@users.noreply.github.com>
Co-authored-by: aalu1418 <50029043+aalu1418@users.noreply.github.com>

* Adding Intrinio, Twelvedata, Unibit to master (before EAEE changes, after v0.2.0) (#446)

* fix: token-allocation uses getRandomRequiredEnv for multiple keys

* Add RGT and RARI support to Amberdata EA (#443)

* Add RGT and RARI support to Amberdata EA

* add cases to handle RGT and RARI

* formatting changes

* formatting again

* Adapters for Intrinio, Unibit, Twelvedata (#442)

* unibit adapter

* intrinio adapter - untested

* intrinio: tested + update documentation - only iex needed, others untested

* twelvedata rest api adapter

Co-authored-by: Justin Kaseman <justinkaseman@live.com>
Co-authored-by: Brendon Van Essen <42727620+nzleet@users.noreply.github.com>

* add support for SFI (#447)

* Chore/intrinio tiingo mods (#448)

* mods to intrinio for returning last price, and additional parameter support

* fix(tiingo): endpoint will use default for unknown, added additional params for ticker

* fix: incorrect param naming

* Kaiko RARI & RGT inverse kludge (#452)

* Tiingo IEX endpoint (#458)

* (feat): add iex endpoint (price) to tiingo source EA

* Change endpoint name to stock

* Change default to IEX intraday behavior

* Add kludge for getting dYdX price outside of input 'data' object (#491)

* Adding LDO support (#497)

* Add fake RAI2 symbol to override to Rai Reflex Index (#512)

* feat: add crypto endpoint to tiingo adapter (#510)

* feat: Add block endpoint for BTC.com that supports height and difficulty

* Add Tiingo crypto/prices endpoint and use for CL crypto unified endpoint (#515)

* Composite fixes for DPI/synth-index (#523)

* Force Coingecko to use old KNC ticker

* Make CoinPaprika fetch CREAM directly

* Add Nomics override for new KNC ID

* fix linting

* Add VSP support (#534)

* Add FRAX+BOND support (#546)

* Add FRAX support

* Additional support for BOND

* Update price.ts

* Add TRIBE + FEI support

* add inverse for TRIBE

* Support Pro API keys on Coingecko (#602)

* upgraded version for v1 (#599)

* Update build command (#615)

* Coingecko support API keys on token-allocation (#618)

* Add Linear finance adapter (#620)

* Vesper adapter for v1 (#624)

* Add Tiingo Token-Allocation (#632)

* refactor: remove merge fragments

* chore: bump package versions for v0.3.0-rc1 release

* docs: prep v0.3.0-rc.1 changelog

* refactor: fix merge

* chore: migrate yarn v3 & rebuild deps

* chore: remove merge fragment

* chore: use latest yarn version in checksum ci action"

* chore: update checksums before checking checksums

* chore: remove dependency check

Co-authored-by: Kristijan Rebernisak <kristijan.rebernisak@gmail.com>
Co-authored-by: ryan <ryanemmick4@gmail.com>
Co-authored-by: PanaW <wangpan@conflux-chain.org>
Co-authored-by: Jonas Hals <jonas@smartcontract.com>
Co-authored-by: Jonas Hals <contact@jonashals.me>
Co-authored-by: RodrigoAD <15104916+RodrigoAD@users.noreply.github.com>
Co-authored-by: Thomas Hodges <thomas@smartcontract.com>
Co-authored-by: christianagnew <christian.agnew@outlook.com>
Co-authored-by: Evangelos Barakos <e.mparakos@gmail.com>
Co-authored-by: Edward Medvedev <edward.medvedev@gmail.com>
Co-authored-by: W <pana.wang@outlook.com>
Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com>
Co-authored-by: Michael FIG <michael+github@fig.org>
Co-authored-by: Peter van Mourik <tyrion70@users.noreply.github.com>
Co-authored-by: Evangelos Barakos <evangelos@smartcontract.com>
Co-authored-by: Connor Stein <connor.stein@mail.mcgill.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendon Van Essen <42727620+nzleet@users.noreply.github.com>
Co-authored-by: aalu1418 <50029043+aalu1418@users.noreply.github.com>
Co-authored-by: vladi-coti <75608967+vladi-coti@users.noreply.github.com>
Bringing branches in sync
@justinkaseman justinkaseman changed the title Re prep/v0.3.0 rc.1 2 Re prep/v0.3.0 rc.2 Jul 31, 2021
@justinkaseman justinkaseman changed the title Re prep/v0.3.0 rc.2 v0.3.0 rc.2 Jul 31, 2021
@justinkaseman justinkaseman merged commit 935b266 into master Jul 31, 2021
@justinkaseman justinkaseman deleted the re-prep/v0.3.0-RC.1-2 branch July 31, 2021 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet