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

ubiquity / ubiquity-dollar / 8116927881
84%

Build:
DEFAULT BRANCH: development
Ran 01 Mar 2024 08:41PM UTC
Jobs 1
Files 51
Run time 1min
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

01 Mar 2024 08:36PM UTC coverage: 76.772% (+0.6%) from 76.162%
8116927881

push

github

web-flow
chore: Fix review (#907)

* fix: deprecate incentive on dollar token

* chore: update

* chore: update

* Fix set role admin (#880)

* feat: add setRoleAdmin to AccessControlFacet

The setRoleAdmin can be only accessed by the admin.

* feat: add setRoleAdmin to AccessControl interface

* test: add testSetRoleAdmin_ShouldSetAdminRoleForGivenRole test

* feat: update access control for setRoleAdmin

* test: fix ShouldSetAdminRoleForGivenRole and add test for revert

* feat: add getRedeemCollateralBalance() method

* fix: remove balanced reserves check (#883)

* fix: limit AMO minter borrow amount (#882)

* fix: limit AMO minter borrow amount

* test: assert free collateral amount

* fix: do not allow to mint dollar with zero collateral

Resolves: https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/207

* test: add testMintDollar_ShouldRevert_IfZeroCollateralAvailable

* test: update comment in zero collateral mint test

* Update block count in a week (#891)

* feat: implement BlocksInWeek script task

The BlocksInWeek task provides a very close approximate of number of
blocks mined during one week.

Supported networks: mainnnet, sepolia.

Example usage:

npx tsx scripts/task/task.ts BlocksInWeek --network=mainnet
npx tsx scripts/task/task.ts BlocksInWeek --network=sepolia

Resolves: https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/230

* feat: update weekly block count to 49930

Set weekly block count to 49930 as measured in February 2024

npx tsx scripts/task/task.ts BlocksInWeek --network=mainnet
...
Calculating number of blocks in the last week...
Recent average block time: 12 seconds
Estimated blocks in a week best case 50400
Produced 49930 blocks, 470 worst than the best case

Resolves: https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/230

* feat: rename task function to funcBlocksInAWeek

As proposed during pull request review.

*... (continued)

243 of 364 branches covered (66.76%)

Branch coverage included in aggregate %.

26 of 37 new or added lines in 12 files covered. (70.27%)

6 existing lines in 3 files now uncovered.

1122 of 1414 relevant lines covered (79.35%)

190.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8116927881.1 01 Mar 2024 08:41PM UTC 0
76.77
GitHub Action Run
Source Files on build 8116927881
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8116927881
  • acc58000 on github
  • Prev Build on development (#8101148002)
  • Next Build on development (#8121857237)
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