Skip to content

Commit

Permalink
remove duplicate utils and upgrade ensuro
Browse files Browse the repository at this point in the history
  • Loading branch information
gnpar committed Apr 5, 2024
1 parent 7a429d3 commit 5bb5ce2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 76 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"eslint-config-prettier": "^9.1.0",
"hardhat": "^2.19.5",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-dependency-compiler": "^1.1.3",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"solhint": "^4.1.1",
"solhint-plugin-prettier": "0.1.0",
"ts-node": "^10.9.2",
"typescript": "^4.8.2",
"hardhat-dependency-compiler": "^1.1.3"
"typescript": "^4.8.2"
},
"dependencies": {
"@chainlink/contracts": "^0.6.1",
"@ensuro/core": "^2.8.0-beta1",
"@ensuro/core": "^2.8.1",
"@ensuro/swaplibrary": "^0.1.1",
"@openzeppelin/contracts": "~4.9.2",
"@openzeppelin/contracts-upgradeable": "~4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion test/test-quadrata-whitelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const hre = require("hardhat");
const { WhitelistStatus } = require("@ensuro/core/js/enums");

const { getRole, accessControlMessage } = require("@ensuro/core/js/utils");
const { fork } = require("@ensuro/core/js/test-utils");

const { fork } = require("./utils");
const { keccak256 } = require("./test-utils");

const { ethers } = hre;
Expand Down
3 changes: 1 addition & 2 deletions test/test-stable-swap-payout-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const {
accessControlMessage,
makeSignedQuote,
makeBucketQuoteMessage,
getTransactionEvent,
} = require("@ensuro/core/js/utils");
const {
initCurrency,
Expand All @@ -16,7 +17,6 @@ const {

const { Protocols, buildUniswapConfig } = require("@ensuro/swaplibrary/js/utils");
const { defaultBucketPolicyParams, keccak256, getAddress } = require("./test-utils");
const { getTransactionEvent } = require("./utils");
const hre = require("hardhat");
const helpers = require("@nomicfoundation/hardhat-network-helpers");

Expand Down Expand Up @@ -70,7 +70,6 @@ describe("StableSwapPayoutHandler", function () {
const SignedBucketRiskModule = await ethers.getContractFactory("SignedBucketRiskModule");
const rm = await addRiskModule(pool, premiumsAccount, SignedBucketRiskModule, {
ensuroFee: 0.03,
extraConstructorArgs: [false],
});

// Setup the cfl
Expand Down
66 changes: 0 additions & 66 deletions test/utils.js

This file was deleted.

0 comments on commit 5bb5ce2

Please sign in to comment.