• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ubiquity / ubiquity-dollar / 7289712765
84%

Build:
DEFAULT BRANCH: development
Ran 21 Dec 2023 03:01PM UTC
Jobs 1
Files 54
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Dec 2023 02:56PM UTC coverage: 66.826% (+0.3%) from 66.524%
7289712765

push

github

web-flow
Bugfix/fix collateral twap (#844)

* test: add collateral TWAP test

Author: rndquu <rndquu@gmail.com>

* test: example of using last prices from LUSD Curve contract

Resolves: #830

* feat: add LibCollateralOracle skeleton

To be used by LibUbiquityPool to fetch collateral token prices

* feat: getLatestPrice and getDecimals for priceFeed

* feat: emit CollateralPriceUpdated

* feat: register ChainLink price feed

* feat: use ChainLink price feed in LibUibquityPool

* chore: update setCollateralChainLinkPriceFeedAddress docs

* feat: update CollateralPriceFeedSet event to emit address

* feat: add ChainLink price feed interface functions to IUbiquityPool

* feat: remove LibCollateralOracle

The oracle and price updates implemented in LibUbiquityPool.

* chore: remove unused LibCollateralOracle import

* test: implement ChainLink price feed mock

* test: implement updateMockParams in MockChainLinkFeed

* feat: switch to pure functcions in MockChainLinkFeed

* feat: initialize collateralPriceFeedAddress to 0 in addCollateralToken

* test: testCollateralPriceFeed verifies mocked ChainLink price

* chore: install ChainLink npm package

Add ChainLink contracts as project dependency.

* feat: remove unused ICollateralOracle.sol

* feat: switch to AggregatorV3Interface from smartcontractkit

* feat: commit ChainLink contracts submodule

* feat: update ChainLink contracts remapping path

* feat: use collateralIndex instead of collateralAddressToIndex

* feat: move updateChainLinkCollateralPrice to public functions

Remove onlyAdmin modifier and move to public functions as discussed
during the pull request review.

* feat: update collateral price before collateral price related functions

* test: set up mocked ChainLink price feed in UbiquityPoolFacet test

Initialize mocked dollar price to 1_000_000.

* test: add testCollateralPriceFeed_ShouldWorkWithMultipleCollateralTokens
test

Verify t... (continued)

213 of 384 branches covered (0.0%)

Branch coverage included in aggregate %.

20 of 23 new or added lines in 2 files covered. (86.96%)

1048 of 1503 relevant lines covered (69.73%)

300.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7289712765.1 21 Dec 2023 03:01PM UTC 0
66.83
GitHub Action Run
Source Files on build 7289712765
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7289712765
  • a1d9ec9e on github
  • Prev Build on development (#7211830183)
  • Next Build on development (#7289740249)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc